def begin_create_or_update_by_id(application_id, parameters, custom_headers:nil)
      response = begin_create_or_update_by_id_async(application_id, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_create_or_update_by_id(application_id, parameters, custom_headers:nil)
      response = begin_create_or_update_by_id_async(application_id, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates a new managed application.

 @param application_id [String] The fully qualified ID of the managed
 application, including the managed application name and the managed
 application resource type. Use the format,
 /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
 @param parameters [Application] Parameters supplied to the create or update a
 managed application.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Application] operation results.