Interface: AIGatewayClientOptions
Defined in: src/ai-gateway/client.ts:25
Options for constructing an AIGatewayClient.
Properties
clientId?
optional clientId?: string;
Defined in: src/ai-gateway/client.ts:27
OAuth2 client ID. Falls back to PANW_AI_GW_CLIENT_ID, then PANW_MGMT_CLIENT_ID.
clientSecret?
optional clientSecret?: string;
Defined in: src/ai-gateway/client.ts:29
OAuth2 client secret. Falls back to PANW_AI_GW_CLIENT_SECRET, then PANW_MGMT_CLIENT_SECRET.
tsgId?
optional tsgId?: string;
Defined in: src/ai-gateway/client.ts:31
Tenant Service Group ID. Falls back to PANW_AI_GW_TSG_ID, then PANW_MGMT_TSG_ID.
dataEndpoint?
optional dataEndpoint?: string;
Defined in: src/ai-gateway/client.ts:33
Data-plane endpoint. Falls back to PANW_AI_GW_DATA_ENDPOINT.
adminEndpoint?
optional adminEndpoint?: string;
Defined in: src/ai-gateway/client.ts:35
Admin-plane endpoint. Falls back to PANW_AI_GW_ADMIN_ENDPOINT.
tokenEndpoint?
optional tokenEndpoint?: string;
Defined in: src/ai-gateway/client.ts:37
OAuth2 token endpoint. Falls back to PANW_AI_GW_TOKEN_ENDPOINT, then PANW_MGMT_TOKEN_ENDPOINT.
numRetries?
optional numRetries?: number;
Defined in: src/ai-gateway/client.ts:39
Max retry attempts (0-5). Defaults to 5.