Class DscReportResource
java.lang.Object
com.azure.resourcemanager.automation.models.DscReportResource
Definition of the DSC Report Resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.Get the durationInSeconds property: Gets or sets the duration in seconds for the resource.error()
Get the error property: Gets or sets the error of the resource.Get the moduleName property: Gets or sets the module name of the resource.Get the moduleVersion property: Gets or sets the module version of the resource.Get the resourceId property: Gets or sets the ID of the resource.Get the resourceName property: Gets or sets the name of the resource.Get the sourceInfo property: Gets or sets the source info of the resource.Get the startDate property: Gets or sets the start date of the resource.status()
Get the status property: Gets or sets the status of the resource.void
validate()
Validates the instance.withDependsOn
(List<DscReportResourceNavigation> dependsOn) Set the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.withDurationInSeconds
(Double durationInSeconds) Set the durationInSeconds property: Gets or sets the duration in seconds for the resource.Set the error property: Gets or sets the error of the resource.withModuleName
(String moduleName) Set the moduleName property: Gets or sets the module name of the resource.withModuleVersion
(String moduleVersion) Set the moduleVersion property: Gets or sets the module version of the resource.withResourceId
(String resourceId) Set the resourceId property: Gets or sets the ID of the resource.withResourceName
(String resourceName) Set the resourceName property: Gets or sets the name of the resource.withSourceInfo
(String sourceInfo) Set the sourceInfo property: Gets or sets the source info of the resource.withStartDate
(OffsetDateTime startDate) Set the startDate property: Gets or sets the start date of the resource.withStatus
(String status) Set the status property: Gets or sets the status of the resource.
-
Constructor Details
-
DscReportResource
public DscReportResource()
-
-
Method Details
-
resourceId
Get the resourceId property: Gets or sets the ID of the resource.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: Gets or sets the ID of the resource.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the DscReportResource object itself.
-
sourceInfo
Get the sourceInfo property: Gets or sets the source info of the resource.- Returns:
- the sourceInfo value.
-
withSourceInfo
Set the sourceInfo property: Gets or sets the source info of the resource.- Parameters:
sourceInfo
- the sourceInfo value to set.- Returns:
- the DscReportResource object itself.
-
dependsOn
Get the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.- Returns:
- the dependsOn value.
-
withDependsOn
Set the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the DscReportResource object itself.
-
moduleName
Get the moduleName property: Gets or sets the module name of the resource.- Returns:
- the moduleName value.
-
withModuleName
Set the moduleName property: Gets or sets the module name of the resource.- Parameters:
moduleName
- the moduleName value to set.- Returns:
- the DscReportResource object itself.
-
moduleVersion
Get the moduleVersion property: Gets or sets the module version of the resource.- Returns:
- the moduleVersion value.
-
withModuleVersion
Set the moduleVersion property: Gets or sets the module version of the resource.- Parameters:
moduleVersion
- the moduleVersion value to set.- Returns:
- the DscReportResource object itself.
-
resourceName
Get the resourceName property: Gets or sets the name of the resource.- Returns:
- the resourceName value.
-
withResourceName
Set the resourceName property: Gets or sets the name of the resource.- Parameters:
resourceName
- the resourceName value to set.- Returns:
- the DscReportResource object itself.
-
error
Get the error property: Gets or sets the error of the resource.- Returns:
- the error value.
-
withError
Set the error property: Gets or sets the error of the resource.- Parameters:
error
- the error value to set.- Returns:
- the DscReportResource object itself.
-
status
Get the status property: Gets or sets the status of the resource.- Returns:
- the status value.
-
withStatus
Set the status property: Gets or sets the status of the resource.- Parameters:
status
- the status value to set.- Returns:
- the DscReportResource object itself.
-
durationInSeconds
Get the durationInSeconds property: Gets or sets the duration in seconds for the resource.- Returns:
- the durationInSeconds value.
-
withDurationInSeconds
Set the durationInSeconds property: Gets or sets the duration in seconds for the resource.- Parameters:
durationInSeconds
- the durationInSeconds value to set.- Returns:
- the DscReportResource object itself.
-
startDate
Get the startDate property: Gets or sets the start date of the resource.- Returns:
- the startDate value.
-
withStartDate
Set the startDate property: Gets or sets the start date of the resource.- Parameters:
startDate
- the startDate value to set.- Returns:
- the DscReportResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-