Variable: GatewayAzureOpenAIConfigurationSchema
const GatewayAzureOpenAIConfigurationSchema: ZodObject<{
azure_auth_mode: ZodEnum<["default", "entra", "managed"]>;
azure_resource_name: ZodString;
azure_deployment_config: ZodArray<ZodObject<{
alias: ZodOptional<ZodString>;
azure_api_version: ZodString;
azure_deployment_name: ZodString;
is_default: ZodOptional<ZodBoolean>;
azure_model_slug: ZodString;
}, "strip", ZodType<GatewayJsonValue, ZodTypeDef, GatewayJsonValue>, {
alias?: string;
azure_api_version: string;
azure_deployment_name: string;
is_default?: boolean;
azure_model_slug: string;
}, {
alias?: string;
azure_api_version: string;
azure_deployment_name: string;
is_default?: boolean;
azure_model_slug: string;
}>, "many">;
azure_entra_tenant_id: ZodOptional<ZodString>;
azure_entra_client_id: ZodOptional<ZodString>;
azure_entra_client_secret: ZodOptional<ZodString>;
azure_managed_client_id: ZodOptional<ZodString>;
}, "strip", ZodType<GatewayJsonValue, ZodTypeDef, GatewayJsonValue>, {
azure_auth_mode: "default" | "entra" | "managed";
azure_resource_name: string;
azure_deployment_config: {
alias?: string;
azure_api_version: string;
azure_deployment_name: string;
is_default?: boolean;
azure_model_slug: string;
}[];
azure_entra_tenant_id?: string;
azure_entra_client_id?: string;
azure_entra_client_secret?: string;
azure_managed_client_id?: string;
}, {
azure_auth_mode: "default" | "entra" | "managed";
azure_resource_name: string;
azure_deployment_config: {
alias?: string;
azure_api_version: string;
azure_deployment_name: string;
is_default?: boolean;
azure_model_slug: string;
}[];
azure_entra_tenant_id?: string;
azure_entra_client_id?: string;
azure_entra_client_secret?: string;
azure_managed_client_id?: string;
}>;
Defined in: src/models/ai-gateway-routing.ts:212