def publish(resource_group_name, lab_account_name, lab_name, environment_setting_name, publish_payload, custom_headers:nil)
      response = publish_async(resource_group_name, lab_account_name, lab_name, environment_setting_name, publish_payload, custom_headers:custom_headers).value!
      nil
    end
def publish(resource_group_name, lab_account_name, lab_name, environment_setting_name, publish_payload, custom_headers:nil)
      response = publish_async(resource_group_name, lab_account_name, lab_name, environment_setting_name, publish_payload, custom_headers:custom_headers).value!
      nil
    end
Provisions/deprovisions required resources for an environment setting based
 on current state of the lab/environment setting.

 @param resource_group_name [String] The name of the resource group.
 @param lab_account_name [String] The name of the lab Account.
 @param lab_name [String] The name of the lab.
 @param environment_setting_name [String] The name of the environment Setting.
 @param publish_payload [PublishPayload] Payload for Publish operation on
 EnvironmentSetting.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.