public interface Export
An immutable client-side representation of Export.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the Export definition.
    static interface 
    The Export definition stages.
    static interface 
    The template for Export update.
    static interface 
    The Export update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the definition property: Has the definition for the export.
    Gets the deliveryInfo property: Has delivery information for the export.
    Gets the etag property: eTag of the resource.
    void
    The operation to execute an export.
    com.azure.core.http.rest.Response<Void>
    executeWithResponse(com.azure.core.util.Context context)
    The operation to execute an export.
    Gets the format property: The format of the export being delivered.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.costmanagement.fluent.models.ExportInner object.
    Gets the name property: The name of the resource.
    Gets the nextRunTimeEstimate property: If the export has an active schedule, provides an estimate of the next execution time.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    Gets the runHistory property: If requested, has the most recent execution history for the export.
    Gets the schedule property: Has schedule information for the export.
    Gets the type property: The type of the resource.
    Begins update for the Export resource.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • etag

      String etag()
      Gets 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.
      Returns:
      the etag value.
    • schedule

      ExportSchedule schedule()
      Gets the schedule property: Has schedule information for the export.
      Returns:
      the schedule value.
    • format

      FormatType format()
      Gets the format property: The format of the export being delivered. Currently only 'Csv' is supported.
      Returns:
      the format value.
    • deliveryInfo

      ExportDeliveryInfo deliveryInfo()
      Gets the deliveryInfo property: Has delivery information for the export.
      Returns:
      the deliveryInfo value.
    • definition

      ExportDefinition definition()
      Gets the definition property: Has the definition for the export.
      Returns:
      the definition value.
    • runHistory

      Gets the runHistory property: If requested, has the most recent execution history for the export.
      Returns:
      the runHistory value.
    • nextRunTimeEstimate

      OffsetDateTime nextRunTimeEstimate()
      Gets the nextRunTimeEstimate property: If the export has an active schedule, provides an estimate of the next execution time.
      Returns:
      the nextRunTimeEstimate value.
    • innerModel

      ExportInner innerModel()
      Gets the inner com.azure.resourcemanager.costmanagement.fluent.models.ExportInner object.
      Returns:
      the inner object.
    • update

      Export.Update update()
      Begins update for the Export resource.
      Returns:
      the stage of resource update.
    • refresh

      Export refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      Export refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • executeWithResponse

      com.azure.core.http.rest.Response<Void> executeWithResponse(com.azure.core.util.Context context)
      The operation to execute an export.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • execute

      void execute()
      The operation to execute an export.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.