1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getAiSearchNamespace
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 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?: InvokeOptions): 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[InvokeOptions] = 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 CompletableFuture<GetAiSearchNamespaceResult> getAiSearchNamespace(GetAiSearchNamespaceArgs args, InvokeOptions options)
    public static Output<GetAiSearchNamespaceResult> getAiSearchNamespace(GetAiSearchNamespaceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAiSearchNamespace:getAiSearchNamespace
      arguments:
        # arguments dictionary
    data "cloudflare_get_ai_search_namespace" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Name string
    AccountId string
    Name string
    account_id string
    name string
    accountId String
    name String
    accountId string
    name string
    accountId String
    name String

    getAiSearchNamespace Result

    The following output properties are available:

    AccountId string
    CreatedAt string
    Description string
    Optional description for the namespace. Max 256 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    AccountId string
    CreatedAt string
    Description string
    Optional description for the namespace. Max 256 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    account_id string
    created_at string
    description string
    Optional description for the namespace. Max 256 characters.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    accountId String
    createdAt String
    description String
    Optional description for the namespace. Max 256 characters.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    accountId string
    createdAt string
    description string
    Optional description for the namespace. Max 256 characters.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    account_id str
    created_at str
    description str
    Optional description for the namespace. Max 256 characters.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    accountId String
    createdAt String
    description String
    Optional description for the namespace. Max 256 characters.
    id String
    The provider-assigned unique ID for this managed resource.
    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