import * as z from "zod/v4"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetManagerManagementConfigGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; /** * Represents the target cloud platform. */ export declare const GetManagerManagementConfigQueryParamPlatform: { readonly Aws: "aws"; readonly Gcp: "gcp"; readonly Azure: "azure"; readonly Kubernetes: "kubernetes"; readonly Machines: "machines"; readonly Local: "local"; readonly Test: "test"; }; /** * Represents the target cloud platform. */ export type GetManagerManagementConfigQueryParamPlatform = ClosedEnum; export type GetManagerManagementConfigRequest = { /** * Unique identifier for a manager. */ id: string; /** * Represents the target cloud platform. */ platform: GetManagerManagementConfigQueryParamPlatform; }; export type GetManagerManagementConfigKubernetes = { platform: "kubernetes"; }; /** * Azure management configuration extracted from stack settings */ export type GetManagerManagementConfigAzure = { /** * The managing Azure Tenant ID for cross-tenant access */ managingTenantId: string; /** * OIDC issuer URL trusted by the target-side managed identity. */ oidcIssuer: string; /** * OIDC subject claim trusted by the target-side managed identity. */ oidcSubject: string; platform: "azure"; }; /** * GCP management configuration extracted from stack settings */ export type GetManagerManagementConfigGcp = { /** * Service account email for management roles */ serviceAccountEmail: string; platform: "gcp"; }; /** * AWS management configuration extracted from stack settings */ export type GetManagerManagementConfigAws = { /** * The managing AWS IAM role ARN that can assume cross-account roles */ managingRoleArn: string; platform: "aws"; }; /** * Management configuration for different cloud platforms. * * @remarks * * Platform-derived configuration for cross-account/cross-tenant access. * This is NOT user-specified - it's derived from the Manager's ServiceAccount. */ export type GetManagerManagementConfigResponse = GetManagerManagementConfigAws | GetManagerManagementConfigGcp | GetManagerManagementConfigAzure | GetManagerManagementConfigKubernetes; /** @internal */ export declare const GetManagerManagementConfigQueryParamPlatform$outboundSchema: z.ZodEnum; /** @internal */ export type GetManagerManagementConfigRequest$Outbound = { id: string; platform: string; }; /** @internal */ export declare const GetManagerManagementConfigRequest$outboundSchema: z.ZodType; export declare function getManagerManagementConfigRequestToJSON(getManagerManagementConfigRequest: GetManagerManagementConfigRequest): string; /** @internal */ export declare const GetManagerManagementConfigKubernetes$inboundSchema: z.ZodType; export declare function getManagerManagementConfigKubernetesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetManagerManagementConfigAzure$inboundSchema: z.ZodType; export declare function getManagerManagementConfigAzureFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetManagerManagementConfigGcp$inboundSchema: z.ZodType; export declare function getManagerManagementConfigGcpFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetManagerManagementConfigAws$inboundSchema: z.ZodType; export declare function getManagerManagementConfigAwsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetManagerManagementConfigResponse$inboundSchema: z.ZodType; export declare function getManagerManagementConfigResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getmanagermanagementconfig.d.ts.map