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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the actionAfterReboot property: Gets or sets the ActionAfterReboot value of the meta configuration.Get the allowModuleOverwrite property: Gets or sets the AllowModuleOverwrite value of the meta configuration.Get the certificateId property: Gets or sets the CertificateId value of the meta configuration.Get the configurationMode property: Gets or sets the ConfigurationMode value of the meta configuration.Get the configurationModeFrequencyMins property: Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration.static DscMetaConfiguration
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DscMetaConfiguration from the JsonReader.Get the rebootNodeIfNeeded property: Gets or sets the RebootNodeIfNeeded value of the meta configuration.Get the refreshFrequencyMins property: Gets or sets the RefreshFrequencyMins value of the meta configuration.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withActionAfterReboot
(String actionAfterReboot) Set the actionAfterReboot property: Gets or sets the ActionAfterReboot value of the meta configuration.withAllowModuleOverwrite
(Boolean allowModuleOverwrite) Set the allowModuleOverwrite property: Gets or sets the AllowModuleOverwrite value of the meta configuration.withCertificateId
(String certificateId) Set the certificateId property: Gets or sets the CertificateId value of the meta configuration.withConfigurationMode
(String configurationMode) Set the configurationMode property: Gets or sets the ConfigurationMode value of the meta configuration.withConfigurationModeFrequencyMins
(Integer configurationModeFrequencyMins) Set the configurationModeFrequencyMins property: Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration.withRebootNodeIfNeeded
(Boolean rebootNodeIfNeeded) Set the rebootNodeIfNeeded property: Gets or sets the RebootNodeIfNeeded value of the meta configuration.withRefreshFrequencyMins
(Integer refreshFrequencyMins) Set the refreshFrequencyMins property: Gets or sets the RefreshFrequencyMins value of the meta configuration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DscMetaConfiguration
public DscMetaConfiguration()Creates an instance of DscMetaConfiguration class.
-
-
Method Details
-
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
Get the rebootNodeIfNeeded property: Gets or sets the RebootNodeIfNeeded value of the meta configuration.- Returns:
- the rebootNodeIfNeeded value.
-
withRebootNodeIfNeeded
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
Get the configurationMode property: Gets or sets the ConfigurationMode value of the meta configuration.- Returns:
- the configurationMode value.
-
withConfigurationMode
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
Get the actionAfterReboot property: Gets or sets the ActionAfterReboot value of the meta configuration.- Returns:
- the actionAfterReboot value.
-
withActionAfterReboot
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
Get the certificateId property: Gets or sets the CertificateId value of the meta configuration.- Returns:
- the certificateId value.
-
withCertificateId
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
Get the refreshFrequencyMins property: Gets or sets the RefreshFrequencyMins value of the meta configuration.- Returns:
- the refreshFrequencyMins value.
-
withRefreshFrequencyMins
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
Get the allowModuleOverwrite property: Gets or sets the AllowModuleOverwrite value of the meta configuration.- Returns:
- the allowModuleOverwrite value.
-
withAllowModuleOverwrite
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
- Specified by:
toJson
in interfacecom.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.
-