DscReportResource Class
- java.
lang. Object - com.
azure. resourcemanager. automation. models. DscReportResource
- com.
public final class DscReportResource
Definition of the DSC Report Resource.
Constructor Summary
Constructor | Description | |
---|---|---|
DscReportResource() |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Dsc |
dependsOn()
Get the depends |
Double |
durationInSeconds()
Get the duration |
String |
error()
Get the error property: Gets or sets the error of the resource. |
String |
moduleName()
Get the module |
String |
moduleVersion()
Get the module |
String |
resourceId()
Get the resource |
String |
resourceName()
Get the resource |
String |
sourceInfo()
Get the source |
Offset |
startDate()
Get the start |
String |
status()
Get the status property: Gets or sets the status of the resource. |
void |
validate()
Validates the instance. |
Dsc |
withDependsOn(List<DscReportResourceNavigation> dependsOn)
Set the depends |
Dsc |
withDurationInSeconds(Double durationInSeconds)
Set the duration |
Dsc |
withError(String error)
Set the error property: Gets or sets the error of the resource. |
Dsc |
withModuleName(String moduleName)
Set the module |
Dsc |
withModuleVersion(String moduleVersion)
Set the module |
Dsc |
withResourceId(String resourceId)
Set the resource |
Dsc |
withResourceName(String resourceName)
Set the resource |
Dsc |
withSourceInfo(String sourceInfo)
Set the source |
Dsc |
withStartDate(OffsetDateTime startDate)
Set the start |
Dsc |
withStatus(String status)
Set the status property: Gets or sets the status of the resource. |
Methods inherited from java.lang.Object
Constructor Details
DscReportResource
public DscReportResource()
Method Details
dependsOn
public List
Get the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.
Returns:
durationInSeconds
public Double durationInSeconds()
Get the durationInSeconds property: Gets or sets the duration in seconds for the resource.
Returns:
error
public String error()
Get the error property: Gets or sets the error of the resource.
Returns:
moduleName
public String moduleName()
Get the moduleName property: Gets or sets the module name of the resource.
Returns:
moduleVersion
public String moduleVersion()
Get the moduleVersion property: Gets or sets the module version of the resource.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Gets or sets the ID of the resource.
Returns:
resourceName
public String resourceName()
Get the resourceName property: Gets or sets the name of the resource.
Returns:
sourceInfo
public String sourceInfo()
Get the sourceInfo property: Gets or sets the source info of the resource.
Returns:
startDate
public OffsetDateTime startDate()
Get the startDate property: Gets or sets the start date of the resource.
Returns:
status
public String status()
Get the status property: Gets or sets the status of the resource.
Returns:
validate
public void validate()
Validates the instance.
withDependsOn
public DscReportResource withDependsOn(List
Set the dependsOn property: Gets or sets the Resource Navigation values for resources the resource depends on.
Parameters:
Returns:
withDurationInSeconds
public DscReportResource withDurationInSeconds(Double durationInSeconds)
Set the durationInSeconds property: Gets or sets the duration in seconds for the resource.
Parameters:
Returns:
withError
public DscReportResource withError(String error)
Set the error property: Gets or sets the error of the resource.
Parameters:
Returns:
withModuleName
public DscReportResource withModuleName(String moduleName)
Set the moduleName property: Gets or sets the module name of the resource.
Parameters:
Returns:
withModuleVersion
public DscReportResource withModuleVersion(String moduleVersion)
Set the moduleVersion property: Gets or sets the module version of the resource.
Parameters:
Returns:
withResourceId
public DscReportResource withResourceId(String resourceId)
Set the resourceId property: Gets or sets the ID of the resource.
Parameters:
Returns:
withResourceName
public DscReportResource withResourceName(String resourceName)
Set the resourceName property: Gets or sets the name of the resource.
Parameters:
Returns:
withSourceInfo
public DscReportResource withSourceInfo(String sourceInfo)
Set the sourceInfo property: Gets or sets the source info of the resource.
Parameters:
Returns:
withStartDate
public DscReportResource withStartDate(OffsetDateTime startDate)
Set the startDate property: Gets or sets the start date of the resource.
Parameters:
Returns:
withStatus
public DscReportResource withStatus(String status)
Set the status property: Gets or sets the status of the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for