ReportProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appcomplianceautomation. models. ReportProperties
- com.
Implements
public final class ReportProperties
implements JsonSerializable<ReportProperties>
Create Report's properties.
Constructor Summary
| Constructor | Description |
|---|---|
| ReportProperties() |
Creates an instance of Report |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Cert |
certRecords()
Get the cert |
|
Report |
complianceStatus()
Get the compliance |
| List<String> |
errors()
Get the errors property: List of report error codes. |
|
static
Report |
fromJson(JsonReader jsonReader)
Reads an instance of Report |
|
Offset |
lastTriggerTime()
Get the last |
|
Offset |
nextTriggerTime()
Get the next |
| String |
offerGuid()
Get the offer |
|
Provisioning |
provisioningState()
Get the provisioning |
|
List<Resource |
resources()
Get the resources property: List of resource data. |
|
Report |
status()
Get the status property: Report status. |
|
Storage |
storageInfo()
Get the storage |
| List<String> |
subscriptions()
Get the subscriptions property: List of subscription Ids. |
| String |
tenantId()
Get the tenant |
| String |
timeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Offset |
triggerTime()
Get the trigger |
|
Report |
withOfferGuid(String offerGuid)
Set the offer |
|
Report |
withResources(List<ResourceMetadata> resources)
Set the resources property: List of resource data. |
|
Report |
withStorageInfo(StorageInfo storageInfo)
Set the storage |
|
Report |
withTimeZone(String timeZone)
Set the time |
|
Report |
withTriggerTime(OffsetDateTime triggerTime)
Set the trigger |
Methods inherited from java.lang.Object
Constructor Details
ReportProperties
public ReportProperties()
Creates an instance of ReportProperties class.
Method Details
certRecords
public List<CertSyncRecord> certRecords()
Get the certRecords property: List of synchronized certification records.
Returns:
complianceStatus
public ReportComplianceStatus complianceStatus()
Get the complianceStatus property: Report compliance status.
Returns:
errors
public List<String> errors()
Get the errors property: List of report error codes.
Returns:
fromJson
public static ReportProperties fromJson(JsonReader jsonReader)
Reads an instance of ReportProperties from the JsonReader.
Parameters:
Returns:
Throws:
lastTriggerTime
public OffsetDateTime lastTriggerTime()
Get the lastTriggerTime property: Report last collection trigger time.
Returns:
nextTriggerTime
public OffsetDateTime nextTriggerTime()
Get the nextTriggerTime property: Report next collection trigger time.
Returns:
offerGuid
public String offerGuid()
Get the offerGuid property: A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003".
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Azure lifecycle management.
Returns:
resources
public List<ResourceMetadata> resources()
Get the resources property: List of resource data.
Returns:
status
public ReportStatus status()
Get the status property: Report status.
Returns:
storageInfo
public StorageInfo storageInfo()
Get the storageInfo property: The information of 'bring your own storage' binding to the report.
Returns:
subscriptions
public List<String> subscriptions()
Get the subscriptions property: List of subscription Ids.
Returns:
tenantId
public String tenantId()
Get the tenantId property: Report's tenant id.
Returns:
timeZone
public String timeZone()
Get the timeZone property: Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time".
Returns:
toJson
triggerTime
public OffsetDateTime triggerTime()
Get the triggerTime property: Report collection trigger time.
Returns:
withOfferGuid
public ReportProperties withOfferGuid(String offerGuid)
Set the offerGuid property: A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003".
Parameters:
Returns:
withResources
public ReportProperties withResources(List<ResourceMetadata> resources)
Set the resources property: List of resource data.
Parameters:
Returns:
withStorageInfo
public ReportProperties withStorageInfo(StorageInfo storageInfo)
Set the storageInfo property: The information of 'bring your own storage' binding to the report.
Parameters:
Returns:
withTimeZone
public ReportProperties withTimeZone(String timeZone)
Set the timeZone property: Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time".
Parameters:
Returns:
withTriggerTime
public ReportProperties withTriggerTime(OffsetDateTime triggerTime)
Set the triggerTime property: Report collection trigger time.
Parameters:
Returns: