Class DscConfigurationProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.DscConfigurationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DscConfigurationProperties>
public final class DscConfigurationProperties
extends Object
implements com.azure.json.JsonSerializable<DscConfigurationProperties>
Definition of the configuration property type.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DscConfigurationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: Gets or sets the creation time.Get the description property: Gets or sets the description.static DscConfigurationProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DscConfigurationProperties from the JsonReader.jobCount()
Get the jobCount property: Gets or sets the job count of the configuration.Get the lastModifiedTime property: Gets or sets the last modified time.Get the logVerbose property: Gets or sets verbose log option.Get the nodeConfigurationCount property: Gets the number of compiled node configurations.Get the parameters property: Gets or sets the configuration parameters.Get the provisioningState property: Gets or sets the provisioning state of the configuration.source()
Get the source property: Gets or sets the source.state()
Get the state property: Gets or sets the state of the configuration.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withCreationTime
(OffsetDateTime creationTime) Set the creationTime property: Gets or sets the creation time.withDescription
(String description) Set the description property: Gets or sets the description.withJobCount
(Integer jobCount) Set the jobCount property: Gets or sets the job count of the configuration.withLastModifiedTime
(OffsetDateTime lastModifiedTime) Set the lastModifiedTime property: Gets or sets the last modified time.withLogVerbose
(Boolean logVerbose) Set the logVerbose property: Gets or sets verbose log option.withNodeConfigurationCount
(Integer nodeConfigurationCount) Set the nodeConfigurationCount property: Gets the number of compiled node configurations.withParameters
(Map<String, DscConfigurationParameter> parameters) Set the parameters property: Gets or sets the configuration parameters.withProvisioningState
(DscConfigurationProvisioningState provisioningState) Set the provisioningState property: Gets or sets the provisioning state of the configuration.withSource
(ContentSource source) Set the source property: Gets or sets the source.withState
(DscConfigurationState state) Set the state property: Gets or sets the state of the 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
-
DscConfigurationProperties
public DscConfigurationProperties()Creates an instance of DscConfigurationProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Gets or sets the provisioning state of the configuration.- Returns:
- the provisioningState value.
-
withProvisioningState
public DscConfigurationProperties withProvisioningState(DscConfigurationProvisioningState provisioningState) Set the provisioningState property: Gets or sets the provisioning state of the configuration.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the DscConfigurationProperties object itself.
-
jobCount
Get the jobCount property: Gets or sets the job count of the configuration.- Returns:
- the jobCount value.
-
withJobCount
Set the jobCount property: Gets or sets the job count of the configuration.- Parameters:
jobCount
- the jobCount value to set.- Returns:
- the DscConfigurationProperties object itself.
-
parameters
Get the parameters property: Gets or sets the configuration parameters.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Gets or sets the configuration parameters.- Parameters:
parameters
- the parameters value to set.- Returns:
- the DscConfigurationProperties object itself.
-
source
Get the source property: Gets or sets the source.- Returns:
- the source value.
-
withSource
Set the source property: Gets or sets the source.- Parameters:
source
- the source value to set.- Returns:
- the DscConfigurationProperties object itself.
-
state
Get the state property: Gets or sets the state of the configuration.- Returns:
- the state value.
-
withState
Set the state property: Gets or sets the state of the configuration.- Parameters:
state
- the state value to set.- Returns:
- the DscConfigurationProperties object itself.
-
logVerbose
Get the logVerbose property: Gets or sets verbose log option.- Returns:
- the logVerbose value.
-
withLogVerbose
Set the logVerbose property: Gets or sets verbose log option.- Parameters:
logVerbose
- the logVerbose value to set.- Returns:
- the DscConfigurationProperties object itself.
-
creationTime
Get the creationTime property: Gets or sets the creation time.- Returns:
- the creationTime value.
-
withCreationTime
Set the creationTime property: Gets or sets the creation time.- Parameters:
creationTime
- the creationTime value to set.- Returns:
- the DscConfigurationProperties object itself.
-
lastModifiedTime
Get the lastModifiedTime property: Gets or sets the last modified time.- Returns:
- the lastModifiedTime value.
-
withLastModifiedTime
Set the lastModifiedTime property: Gets or sets the last modified time.- Parameters:
lastModifiedTime
- the lastModifiedTime value to set.- Returns:
- the DscConfigurationProperties object itself.
-
nodeConfigurationCount
Get the nodeConfigurationCount property: Gets the number of compiled node configurations.- Returns:
- the nodeConfigurationCount value.
-
withNodeConfigurationCount
Set the nodeConfigurationCount property: Gets the number of compiled node configurations.- Parameters:
nodeConfigurationCount
- the nodeConfigurationCount value to set.- Returns:
- the DscConfigurationProperties object itself.
-
description
Get the description property: Gets or sets the description.- Returns:
- the description value.
-
withDescription
Set the description property: Gets or sets the description.- Parameters:
description
- the description value to set.- Returns:
- the DscConfigurationProperties 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<DscConfigurationProperties>
- Throws:
IOException
-
fromJson
public static DscConfigurationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DscConfigurationProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DscConfigurationProperties 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 DscConfigurationProperties.
-