code: public Observable<ServiceResponse<Void>> createWithServiceResponseAsync(String personGroupId, CreatePersonGroupsOptionalParameter createOptionalParameter) {
          if (this.client.azureRegion() == null) {
              throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
          }
          if (personGroupId == null) {
              throw new IllegalArgumentException("Parameter personGroupId is required and cannot be null.");
          }
          final String name = createOptionalParameter != null ? createOptionalParameter.name() : null;
          final String userData = createOptionalParameter != null ? createOptionalParameter.userData() : null;
  
          return createWithServiceResponseAsync(personGroupId, name, userData);
      }
docs: Create a new person group with specified personGroupId, name and user-provided userData.
  
  @param personGroupId Id referencing a particular person group.
  @param createOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceResponse} object if successful.