Viewing docs for Cloudflare v6.20.0
published on Tuesday, Aug 25, 2026 by Pulumi
published on Tuesday, Aug 25, 2026 by Pulumi
Viewing docs for Cloudflare v6.20.0
published on Tuesday, Aug 25, 2026 by Pulumi
published on Tuesday, Aug 25, 2026 by Pulumi
Using getAiSearchNamespace
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 getAiSearchNamespace(args: GetAiSearchNamespaceArgs, opts?: InvokeOptions): Promise<GetAiSearchNamespaceResult>
function getAiSearchNamespaceOutput(args: GetAiSearchNamespaceOutputArgs, opts?: InvokeOutputOptions): Output<GetAiSearchNamespaceResult>def get_ai_search_namespace(account_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAiSearchNamespaceResult
def get_ai_search_namespace_output(account_id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAiSearchNamespaceResult]func LookupAiSearchNamespace(ctx *Context, args *LookupAiSearchNamespaceArgs, opts ...InvokeOption) (*LookupAiSearchNamespaceResult, error)
func LookupAiSearchNamespaceOutput(ctx *Context, args *LookupAiSearchNamespaceOutputArgs, opts ...InvokeOption) LookupAiSearchNamespaceResultOutput> Note: This function is named LookupAiSearchNamespace in the Go SDK.
public static class GetAiSearchNamespace
{
public static Task<GetAiSearchNamespaceResult> InvokeAsync(GetAiSearchNamespaceArgs args, InvokeOptions? opts = null)
public static Output<GetAiSearchNamespaceResult> Invoke(GetAiSearchNamespaceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAiSearchNamespaceResult> Invoke(GetAiSearchNamespaceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAiSearchNamespaceResult> getAiSearchNamespace(GetAiSearchNamespaceArgs args, InvokeOptions options)
public static Output<GetAiSearchNamespaceResult> getAiSearchNamespace(GetAiSearchNamespaceArgs args, InvokeOptions options)
public static Output<GetAiSearchNamespaceResult> getAiSearchNamespace(GetAiSearchNamespaceArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getAiSearchNamespace:getAiSearchNamespace
arguments:
# arguments dictionarydata "cloudflare_get_ai_search_namespace" "name" {
# arguments
}The following arguments are supported:
- account_
id string - name string
- account_
id str - name str
getAiSearchNamespace Result
The following output properties are available:
- Account
Id string - Created
At string - Description string
- Optional description for the namespace. Max 256 characters.
- Name string
- Public
Endpoint stringId - Public
Endpoint GetParams Ai Search Namespace Public Endpoint Params
- Account
Id string - Created
At string - Description string
- Optional description for the namespace. Max 256 characters.
- Name string
- Public
Endpoint stringId - Public
Endpoint GetParams Ai Search Namespace Public Endpoint Params
- account_
id string - created_
at string - description string
- Optional description for the namespace. Max 256 characters.
- name string
- public_
endpoint_ stringid - public_
endpoint_ objectparams
- account
Id String - created
At String - description String
- Optional description for the namespace. Max 256 characters.
- name String
- public
Endpoint StringId - public
Endpoint GetParams Ai Search Namespace Public Endpoint Params
- account
Id string - created
At string - description string
- Optional description for the namespace. Max 256 characters.
- name string
- public
Endpoint stringId - public
Endpoint GetParams Ai Search Namespace Public Endpoint Params
- account_
id str - created_
at str - description str
- Optional description for the namespace. Max 256 characters.
- name str
- public_
endpoint_ strid - public_
endpoint_ Getparams Ai Search Namespace Public Endpoint Params
- account
Id String - created
At String - description String
- Optional description for the namespace. Max 256 characters.
- name String
- public
Endpoint StringId - public
Endpoint Property MapParams
Supporting Types
GetAiSearchNamespacePublicEndpointParams
- List<string>
- Chat
Completions GetEndpoint Ai Search Namespace Public Endpoint Params Chat Completions Endpoint - Custom
Domains List<string> - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- Default
Domain boolEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- Enabled bool
- Instances
Alloweds List<string> - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- Mcp
Get
Ai Search Namespace Public Endpoint Params Mcp - Rate
Limit GetAi Search Namespace Public Endpoint Params Rate Limit - Search
Endpoint GetAi Search Namespace Public Endpoint Params Search Endpoint
- []string
- Chat
Completions GetEndpoint Ai Search Namespace Public Endpoint Params Chat Completions Endpoint - Custom
Domains []string - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- Default
Domain boolEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- Enabled bool
- Instances
Alloweds []string - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- Mcp
Get
Ai Search Namespace Public Endpoint Params Mcp - Rate
Limit GetAi Search Namespace Public Endpoint Params Rate Limit - Search
Endpoint GetAi Search Namespace Public Endpoint Params Search Endpoint
- list(string)
- chat_
completions_ objectendpoint - custom_
domains list(string) - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default_
domain_ boolenabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled bool
- instances_
alloweds list(string) - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp object
- rate_
limit object - search_
endpoint object
- List<String>
- chat
Completions GetEndpoint Ai Search Namespace Public Endpoint Params Chat Completions Endpoint - custom
Domains List<String> - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default
Domain BooleanEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled Boolean
- instances
Alloweds List<String> - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp
Get
Ai Search Namespace Public Endpoint Params Mcp - rate
Limit GetAi Search Namespace Public Endpoint Params Rate Limit - search
Endpoint GetAi Search Namespace Public Endpoint Params Search Endpoint
- string[]
- chat
Completions GetEndpoint Ai Search Namespace Public Endpoint Params Chat Completions Endpoint - custom
Domains string[] - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default
Domain booleanEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled boolean
- instances
Alloweds string[] - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp
Get
Ai Search Namespace Public Endpoint Params Mcp - rate
Limit GetAi Search Namespace Public Endpoint Params Rate Limit - search
Endpoint GetAi Search Namespace Public Endpoint Params Search Endpoint
- Sequence[str]
- chat_
completions_ Getendpoint Ai Search Namespace Public Endpoint Params Chat Completions Endpoint - custom_
domains Sequence[str] - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default_
domain_ boolenabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled bool
- instances_
alloweds Sequence[str] - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp
Get
Ai Search Namespace Public Endpoint Params Mcp - rate_
limit GetAi Search Namespace Public Endpoint Params Rate Limit - search_
endpoint GetAi Search Namespace Public Endpoint Params Search Endpoint
- List<String>
- chat
Completions Property MapEndpoint - custom
Domains List<String> - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default
Domain BooleanEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled Boolean
- instances
Alloweds List<String> - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp Property Map
- rate
Limit Property Map - search
Endpoint Property Map
GetAiSearchNamespacePublicEndpointParamsChatCompletionsEndpoint
- Disabled bool
- Disable chat completions endpoint for this public endpoint
- Disabled bool
- Disable chat completions endpoint for this public endpoint
- disabled bool
- Disable chat completions endpoint for this public endpoint
- disabled Boolean
- Disable chat completions endpoint for this public endpoint
- disabled boolean
- Disable chat completions endpoint for this public endpoint
- disabled bool
- Disable chat completions endpoint for this public endpoint
- disabled Boolean
- Disable chat completions endpoint for this public endpoint
GetAiSearchNamespacePublicEndpointParamsMcp
- Description string
- Disabled bool
- Disable MCP endpoint for this public endpoint
- Description string
- Disabled bool
- Disable MCP endpoint for this public endpoint
- description string
- disabled bool
- Disable MCP endpoint for this public endpoint
- description String
- disabled Boolean
- Disable MCP endpoint for this public endpoint
- description string
- disabled boolean
- Disable MCP endpoint for this public endpoint
- description str
- disabled bool
- Disable MCP endpoint for this public endpoint
- description String
- disabled Boolean
- Disable MCP endpoint for this public endpoint
GetAiSearchNamespacePublicEndpointParamsRateLimit
GetAiSearchNamespacePublicEndpointParamsSearchEndpoint
- Disabled bool
- Disable search endpoint for this public endpoint
- Disabled bool
- Disable search endpoint for this public endpoint
- disabled bool
- Disable search endpoint for this public endpoint
- disabled Boolean
- Disable search endpoint for this public endpoint
- disabled boolean
- Disable search endpoint for this public endpoint
- disabled bool
- Disable search endpoint for this public endpoint
- disabled Boolean
- Disable search endpoint for this public endpoint
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.20.0
published on Tuesday, Aug 25, 2026 by Pulumi
published on Tuesday, Aug 25, 2026 by Pulumi