Class ExportInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.costmanagement.models.CostManagementProxyResource
com.azure.resourcemanager.costmanagement.fluent.models.ExportInner
An export resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the definition property: Has the definition for the export.Get the deliveryInfo property: Has delivery information for the export.format()
Get the format property: The format of the export being delivered.Get the nextRunTimeEstimate property: If the export has an active schedule, provides an estimate of the next run time.Get the partitionData property: If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file.Get the runHistory property: If requested, has the most recent run history for the export.schedule()
Get the schedule property: Has schedule information for the export.void
validate()
Validates the instance.withDefinition
(ExportDefinition definition) Set the definition property: Has the definition for the export.withDeliveryInfo
(ExportDeliveryInfo deliveryInfo) Set the deliveryInfo property: Has delivery information for the export.Set the etag property: eTag of the resource.withFormat
(FormatType format) Set the format property: The format of the export being delivered.withPartitionData
(Boolean partitionData) Set the partitionData property: If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file.withRunHistory
(ExportExecutionListResultInner runHistory) Set the runHistory property: If requested, has the most recent run history for the export.withSchedule
(ExportSchedule schedule) Set the schedule property: Has schedule information for the export.Methods inherited from class com.azure.resourcemanager.costmanagement.models.CostManagementProxyResource
etag
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ExportInner
public ExportInner()Creates an instance of ExportInner class.
-
-
Method Details
-
withEtag
Set the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.- Overrides:
withEtag
in classCostManagementProxyResource
- Parameters:
etag
- the etag value to set.- Returns:
- the CostManagementProxyResource object itself.
-
schedule
Get the schedule property: Has schedule information for the export.- Returns:
- the schedule value.
-
withSchedule
Set the schedule property: Has schedule information for the export.- Parameters:
schedule
- the schedule value to set.- Returns:
- the ExportInner object itself.
-
format
Get the format property: The format of the export being delivered. Currently only 'Csv' is supported.- Returns:
- the format value.
-
withFormat
Set the format property: The format of the export being delivered. Currently only 'Csv' is supported.- Parameters:
format
- the format value to set.- Returns:
- the ExportInner object itself.
-
deliveryInfo
Get the deliveryInfo property: Has delivery information for the export.- Returns:
- the deliveryInfo value.
-
withDeliveryInfo
Set the deliveryInfo property: Has delivery information for the export.- Parameters:
deliveryInfo
- the deliveryInfo value to set.- Returns:
- the ExportInner object itself.
-
definition
Get the definition property: Has the definition for the export.- Returns:
- the definition value.
-
withDefinition
Set the definition property: Has the definition for the export.- Parameters:
definition
- the definition value to set.- Returns:
- the ExportInner object itself.
-
runHistory
Get the runHistory property: If requested, has the most recent run history for the export.- Returns:
- the runHistory value.
-
withRunHistory
Set the runHistory property: If requested, has the most recent run history for the export.- Parameters:
runHistory
- the runHistory value to set.- Returns:
- the ExportInner object itself.
-
partitionData
Get the partitionData property: If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes.- Returns:
- the partitionData value.
-
withPartitionData
Set the partitionData property: If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes.- Parameters:
partitionData
- the partitionData value to set.- Returns:
- the ExportInner object itself.
-
nextRunTimeEstimate
Get the nextRunTimeEstimate property: If the export has an active schedule, provides an estimate of the next run time.- Returns:
- the nextRunTimeEstimate value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCostManagementProxyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-