|string> */ public function rules(): array { return [ 'name' => ['required', 'string', 'max:255'], 'desired_replicas' => ['required', 'integer', 'min:0', 'max:25'], 'default_cpu_limit' => ['nullable', 'numeric', 'min:0.125', 'max:64'], 'default_memory_limit_mb' => ['nullable', 'integer', 'min:64', 'max:1048576'], 'deploy_policy' => ['nullable', Rule::enum(DeployPolicy::class)], 'version_track' => ['nullable', 'string', 'max:255'], 'available_image_digest' => ['nullable', 'string', 'max:255'], 'process_roles' => ['nullable', 'string', 'max:255'], 'migration_mode' => ['nullable', 'string', 'max:255'], 'migration_timing' => ['nullable', 'string', 'max:255'], 'migration_command' => ['nullable', 'string', 'max:255'], 'health_path' => ['nullable', 'string', 'max:255'], 'backup_enabled' => ['sometimes', 'boolean'], 'backup_command' => ['nullable', 'string', 'max:1000'], ]; } }