/// <summary> /// Gets information about the pool. /// </summary> public ClientGroupInfo[] GetInfo() { lock (clientGroups) { int idx = 0; int cnt = clientGroups.Count; ClientGroupInfo[] info = new ClientGroupInfo[cnt]; foreach (ClientGroup clientGroup in clientGroups.Values) { info[idx++] = clientGroup.GetInfo(); } return(info); } }
public AzureHDInsightClientGroupInfo(ClientGroupInfo clientGroupInfo = null) { GroupName = clientGroupInfo?.GroupName; GroupId = clientGroupInfo?.GroupId; }