1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getAiSearchNamespaces
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi

    Using getAiSearchNamespaces

    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 getAiSearchNamespaces(args: GetAiSearchNamespacesArgs, opts?: InvokeOptions): Promise<GetAiSearchNamespacesResult>
    function getAiSearchNamespacesOutput(args: GetAiSearchNamespacesOutputArgs, opts?: InvokeOptions): Output<GetAiSearchNamespacesResult>
    def get_ai_search_namespaces(account_id: Optional[str] = None,
                                 max_items: Optional[int] = None,
                                 search: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAiSearchNamespacesResult
    def get_ai_search_namespaces_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[GetAiSearchNamespacesResult]
    func LookupAiSearchNamespaces(ctx *Context, args *LookupAiSearchNamespacesArgs, opts ...InvokeOption) (*LookupAiSearchNamespacesResult, error)
    func LookupAiSearchNamespacesOutput(ctx *Context, args *LookupAiSearchNamespacesOutputArgs, opts ...InvokeOption) LookupAiSearchNamespacesResultOutput

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

    public static class GetAiSearchNamespaces 
    {
        public static Task<GetAiSearchNamespacesResult> InvokeAsync(GetAiSearchNamespacesArgs args, InvokeOptions? opts = null)
        public static Output<GetAiSearchNamespacesResult> Invoke(GetAiSearchNamespacesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAiSearchNamespacesResult> getAiSearchNamespaces(GetAiSearchNamespacesArgs args, InvokeOptions options)
    public static Output<GetAiSearchNamespacesResult> getAiSearchNamespaces(GetAiSearchNamespacesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAiSearchNamespaces:getAiSearchNamespaces
      arguments:
        # arguments dictionary
    data "cloudflare_get_ai_search_namespaces" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    Search string
    Filter namespaces whose name or description contains this string (case-insensitive).
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    Search string
    Filter namespaces whose name or description contains this string (case-insensitive).
    account_id string
    max_items number
    Max items to fetch, default: 1000
    search string
    Filter namespaces whose name or description contains this string (case-insensitive).
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    search String
    Filter namespaces whose name or description contains this string (case-insensitive).
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    search string
    Filter namespaces whose name or description contains this string (case-insensitive).
    account_id str
    max_items int
    Max items to fetch, default: 1000
    search str
    Filter namespaces whose name or description contains this string (case-insensitive).
    accountId String
    maxItems Number
    Max items to fetch, default: 1000
    search String
    Filter namespaces whose name or description contains this string (case-insensitive).

    getAiSearchNamespaces Result

    The following output properties are available:

    AccountId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetAiSearchNamespacesResult>
    The items returned by the data source
    MaxItems int
    Max items to fetch, default: 1000
    Search string
    Filter namespaces whose name or description contains this string (case-insensitive).
    AccountId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetAiSearchNamespacesResult
    The items returned by the data source
    MaxItems int
    Max items to fetch, default: 1000
    Search string
    Filter namespaces whose name or description contains this string (case-insensitive).
    account_id string
    id string
    The provider-assigned unique ID for this managed resource.
    results list(object)
    The items returned by the data source
    max_items number
    Max items to fetch, default: 1000
    search string
    Filter namespaces whose name or description contains this string (case-insensitive).
    accountId String
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetAiSearchNamespacesResult>
    The items returned by the data source
    maxItems Integer
    Max items to fetch, default: 1000
    search String
    Filter namespaces whose name or description contains this string (case-insensitive).
    accountId string
    id string
    The provider-assigned unique ID for this managed resource.
    results GetAiSearchNamespacesResult[]
    The items returned by the data source
    maxItems number
    Max items to fetch, default: 1000
    search string
    Filter namespaces whose name or description contains this string (case-insensitive).
    account_id str
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetAiSearchNamespacesResult]
    The items returned by the data source
    max_items int
    Max items to fetch, default: 1000
    search str
    Filter namespaces whose name or description contains this string (case-insensitive).
    accountId String
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    maxItems Number
    Max items to fetch, default: 1000
    search String
    Filter namespaces whose name or description contains this string (case-insensitive).

    Supporting Types

    GetAiSearchNamespacesResult

    CreatedAt string
    Description string
    Optional description for the namespace. Max 256 characters.
    Name string
    CreatedAt string
    Description string
    Optional description for the namespace. Max 256 characters.
    Name string
    created_at string
    description string
    Optional description for the namespace. Max 256 characters.
    name string
    createdAt String
    description String
    Optional description for the namespace. Max 256 characters.
    name String
    createdAt string
    description string
    Optional description for the namespace. Max 256 characters.
    name string
    created_at str
    description str
    Optional description for the namespace. Max 256 characters.
    name str
    createdAt String
    description String
    Optional description for the namespace. Max 256 characters.
    name String

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.18.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial