def create_or_update(resource_group_name, diagnostic_settings_name, diagnostic_settings, custom_headers:nil)
      response = create_or_update_async(resource_group_name, diagnostic_settings_name, diagnostic_settings, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create_or_update(resource_group_name, diagnostic_settings_name, diagnostic_settings, custom_headers:nil)
      response = create_or_update_async(resource_group_name, diagnostic_settings_name, diagnostic_settings, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates or updates guest diagnostics settings.

 @param resource_group_name [String] The name of the resource group.
 @param diagnostic_settings_name [String] The name of the diagnostic setting.
 @param diagnostic_settings [GuestDiagnosticSettingsResource] The
 configuration to create or update.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [GuestDiagnosticSettingsResource] operation results.