Gov.-elect Gerald L. Baliles today named his first cabinet appointees, two women and two men, including Richard M. Bagley as secretary of commerce and resources, an announcement that Bagley said removes him from consideration as a candidate for governor in 1989.

Also named were Eva S. Teig as secretary of human resources; Carolyn Jefferson-Moss secretary of administration, and Stuart W. Connock to continue as secretary of finance, a position he holds in the administration of outgoing Gov. Charles S. Robb.

Baliles said he expects to fill the remaining two cabinet spots, for education and for transportation and public safety, in a week or so. He said each of today's appointees was his first choice for the $73,571-a-year positions.

All but Bagley served under Robb, as did Baliles' first appointee, chief of staff David McCloud. But Baliles reiterated today that while he intends to build upon the Robb record, he has "my own agenda, and I will seek talent wherever it exists."

Baliles said he is "deeply appreciative" that Bagley, "at my request, is putting aside his personal political ambitions" to join his administration.

Bagley, 58, chairman of the powerful House Appropriations Committee and a member of the general assembly since 1966, made a short-lived campaign for this year's Democratic gubernatorial nomination. He dropped out last December after spending $300,000 in an unsuccesssful pursuit of the front-runners, then-Attorney General Baliles and Lt. Gov. Richard J. Davis, saying at the time that he was "first in line for '89."

But Bagley said today, "I do not believe I can serve in the secretary's job and pursue political office, so I will forgo my personal political ambition." He said he will serve in the cabinet post for four years "unless the governor decides otherwise."

Bagley said it is too soon to speculate on the political repercussions of his decision. His announcement could clear the way for a two-way race between the two other statewide winners in last month's election, L. Douglas Wilder, the newly elected lieutenant governor, and Attorney General-elect Mary Sue Terry.

But Bagley added that he is "not dismayed by age," and noted that in 1993 he still would be younger than either President Reagan or Winston Churchill were when they attained national leadership.

Bagley said he "did not reach the conclusion lightly" to join the Baliles administration. He said he and the governor-elect talked for many hours while traveling together during the campaign and came to see that "our sights are very parallel."

Bagley said he believes the cabinet position offers "the opportunity to fulfill some of my desires to be on the executive level," and that he accepted the offer "for some of the same reasons that motivated me to run for governor in the first place."

One of Baliles' campaign promises was to establish a separate secretary for natural resources, and he said today that if he is successful in getting such legislation passed, Bagley would continue as secretary of economic development.

Teig, 41, had been commissioner of the Department of Labor and Government under Robb until two months ago, when she resigned to become manager of community and government affairs with the Virginia Power Co.

Before joining the Robb administration, Teig served as executive assistant to Lt. Gov. Davis, and she is credited with playing a major role in Davis' decision to drop his opposition to Baliles for the nomination for governor.

Born in Egypt to a Lebanese father and Greek mother, Teig came to the United States in 1957 and settled in Portsmouth, Va., where her physician father set up a practice. She became a naturalized citizen in 1963.

Before taking a state position, she worked nine years in Portsmouth city government, serving as an aide to then-mayor Davis.

When she quit her state job this fall, after 13 years in government, she said, "I think everybody in public service at one time or another wants to try the private sector." Today she said that she was "adjusting" to her job at Virginia Power, but that Baliles was "very, very persuasive," and that her plans to work in the private sector have been "put on hold for four years."

Moss, 39, who is black, has been director of the Virginia Office of Minority Business Enterprise since May 1982. In April, Robb asked her to also serve as his special assistant.

Moss was president of a D.C.-based research and management consulting firm before joining the Robb administration. During the administration of President Carter, she was at the Commerce Department as deputy to the assistant secretary for congressional affairs.

Baliles called Connock "Mr. Continuity in Government personified." Connock, 60, has been in state government almost three decades, and served as secretary of administation and finance under Robb's predecessor, Republican John Dalton.