code: public Observable<ApplicationSecurityGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters) {
          return beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, applicationSecurityGroupName, parameters).map(new Func1<ServiceResponse<ApplicationSecurityGroupInner>, ApplicationSecurityGroupInner>() {
              @Override
              public ApplicationSecurityGroupInner call(ServiceResponse<ApplicationSecurityGroupInner> response) {
                  return response.body();
              }
          });
      }
docs: Creates or updates an application security group.
  
  @param resourceGroupName The name of the resource group.
  @param applicationSecurityGroupName The name of the application security group.
  @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ApplicationSecurityGroupInner object