def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil)
      response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil)
      response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Create or update a connection monitor.

 @param resource_group_name [String] The name of the resource group containing
 Network Watcher.
 @param network_watcher_name [String] The name of the Network Watcher
 resource.
 @param connection_monitor_name [String] The name of the connection monitor.
 @param parameters [ConnectionMonitor] Parameters that define the operation to
 create a connection monitor.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ConnectionMonitorResult] operation results.