View Source ExOpenAI.Components.ContainerNetworkPolicyAllowlistParam (ex_openai.ex v2.0.0-beta2)

Module for representing the OpenAI schema ContainerNetworkPolicyAllowlistParam.

Fields

  • :allowed_domains - required - [String.t()]
    A list of allowed domains when type is allowlist.
    Constraints: minItems: 1

  • :domain_secrets - optional - [ExOpenAI.Components.ContainerNetworkPolicyDomainSecretParam.t()]
    Optional domain-scoped secrets for allowlisted domains.
    Constraints: minItems: 1

  • :type - required - :allowlist
    Allow outbound network access only to specified domains. Always allowlist.
    Allowed values: "allowlist"
    Default: "allowlist"

Summary

Types

@type t() :: %ExOpenAI.Components.ContainerNetworkPolicyAllowlistParam{
  allowed_domains: [String.t()],
  domain_secrets:
    [ExOpenAI.Components.ContainerNetworkPolicyDomainSecretParam.t()] | nil,
  type: :allowlist
}