private static void KeystoneCreateGroup(IamClient iamClient) { var keystoneCreateGroupRequest = new KeystoneCreateGroupRequest() { Body = new KeystoneCreateGroupRequestBody() { Group = new KeystoneCreateGroupOption() { Description = "", DomainId = "", Name = "" } } }; try { var keystoneCreateGroupResponse = iamClient.KeystoneCreateGroup(keystoneCreateGroupRequest); Console.WriteLine(JsonConvert.SerializeObject(keystoneCreateGroupResponse.Group)); } catch (RequestTimeoutException requestTimeoutException) { Console.WriteLine(requestTimeoutException.ErrorMessage); } catch (ServiceResponseException clientRequestException) { Console.WriteLine(clientRequestException.HttpStatusCode); Console.WriteLine(clientRequestException.ErrorCode); Console.WriteLine(clientRequestException.ErrorMsg); } catch (ConnectionException connectionException) { Console.WriteLine(connectionException.ErrorMessage); } }