Class DscMetaConfiguration

java.lang.Object
com.azure.resourcemanager.automation.models.DscMetaConfiguration
All Implemented Interfaces:
com.azure.json.JsonSerializable<DscMetaConfiguration>

public final class DscMetaConfiguration extends Object implements com.azure.json.JsonSerializable<DscMetaConfiguration>
Definition of the DSC Meta Configuration.
  • Constructor Details

    • DscMetaConfiguration

      public DscMetaConfiguration()
      Creates an instance of DscMetaConfiguration class.
  • Method Details

    • configurationModeFrequencyMins

      public Integer configurationModeFrequencyMins()
      Get the configurationModeFrequencyMins property: Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration.
      Returns:
      the configurationModeFrequencyMins value.
    • withConfigurationModeFrequencyMins

      public DscMetaConfiguration withConfigurationModeFrequencyMins(Integer configurationModeFrequencyMins)
      Set the configurationModeFrequencyMins property: Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration.
      Parameters:
      configurationModeFrequencyMins - the configurationModeFrequencyMins value to set.
      Returns:
      the DscMetaConfiguration object itself.
    • rebootNodeIfNeeded

      public Boolean rebootNodeIfNeeded()
      Get the rebootNodeIfNeeded property: Gets or sets the RebootNodeIfNeeded value of the meta configuration.
      Returns:
      the rebootNodeIfNeeded value.
    • withRebootNodeIfNeeded

      public DscMetaConfiguration withRebootNodeIfNeeded(Boolean rebootNodeIfNeeded)
      Set the rebootNodeIfNeeded property: Gets or sets the RebootNodeIfNeeded value of the meta configuration.
      Parameters:
      rebootNodeIfNeeded - the rebootNodeIfNeeded value to set.
      Returns:
      the DscMetaConfiguration object itself.
    • configurationMode

      public String configurationMode()
      Get the configurationMode property: Gets or sets the ConfigurationMode value of the meta configuration.
      Returns:
      the configurationMode value.
    • withConfigurationMode

      public DscMetaConfiguration withConfigurationMode(String configurationMode)
      Set the configurationMode property: Gets or sets the ConfigurationMode value of the meta configuration.
      Parameters:
      configurationMode - the configurationMode value to set.
      Returns:
      the DscMetaConfiguration object itself.
    • actionAfterReboot

      public String actionAfterReboot()
      Get the actionAfterReboot property: Gets or sets the ActionAfterReboot value of the meta configuration.
      Returns:
      the actionAfterReboot value.
    • withActionAfterReboot

      public DscMetaConfiguration withActionAfterReboot(String actionAfterReboot)
      Set the actionAfterReboot property: Gets or sets the ActionAfterReboot value of the meta configuration.
      Parameters:
      actionAfterReboot - the actionAfterReboot value to set.
      Returns:
      the DscMetaConfiguration object itself.
    • certificateId

      public String certificateId()
      Get the certificateId property: Gets or sets the CertificateId value of the meta configuration.
      Returns:
      the certificateId value.
    • withCertificateId

      public DscMetaConfiguration withCertificateId(String certificateId)
      Set the certificateId property: Gets or sets the CertificateId value of the meta configuration.
      Parameters:
      certificateId - the certificateId value to set.
      Returns:
      the DscMetaConfiguration object itself.
    • refreshFrequencyMins

      public Integer refreshFrequencyMins()
      Get the refreshFrequencyMins property: Gets or sets the RefreshFrequencyMins value of the meta configuration.
      Returns:
      the refreshFrequencyMins value.
    • withRefreshFrequencyMins

      public DscMetaConfiguration withRefreshFrequencyMins(Integer refreshFrequencyMins)
      Set the refreshFrequencyMins property: Gets or sets the RefreshFrequencyMins value of the meta configuration.
      Parameters:
      refreshFrequencyMins - the refreshFrequencyMins value to set.
      Returns:
      the DscMetaConfiguration object itself.
    • allowModuleOverwrite

      public Boolean allowModuleOverwrite()
      Get the allowModuleOverwrite property: Gets or sets the AllowModuleOverwrite value of the meta configuration.
      Returns:
      the allowModuleOverwrite value.
    • withAllowModuleOverwrite

      public DscMetaConfiguration withAllowModuleOverwrite(Boolean allowModuleOverwrite)
      Set the allowModuleOverwrite property: Gets or sets the AllowModuleOverwrite value of the meta configuration.
      Parameters:
      allowModuleOverwrite - the allowModuleOverwrite value to set.
      Returns:
      the DscMetaConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DscMetaConfiguration>
      Throws:
      IOException
    • fromJson

      public static DscMetaConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DscMetaConfiguration from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DscMetaConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the DscMetaConfiguration.