def create_or_update(resource_uri, association_name, diagnostic_settings_association, custom_headers:nil)
      response = create_or_update_async(resource_uri, association_name, diagnostic_settings_association, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create_or_update(resource_uri, association_name, diagnostic_settings_association, custom_headers:nil)
      response = create_or_update_async(resource_uri, association_name, diagnostic_settings_association, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates or updates guest diagnostics settings association.

 @param resource_uri [String] The fully qualified ID of the resource,
 including the resource name and resource type.
 @param association_name [String] The name of the diagnostic settings
 association.
 @param diagnostic_settings_association
 [GuestDiagnosticSettingsAssociationResource] The diagnostic settings
 association to create or update.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [GuestDiagnosticSettingsAssociationResource] operation results.