View Interface
public interface View
An immutable client-side representation of View.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Accumulated |
accumulated()
Gets the accumulated property: Show costs accumulated over time. |
abstract
Chart |
chart()
Gets the chart property: Chart type of the main view in Cost Analysis. |
abstract
Offset |
createdOn()
Gets the created |
abstract String |
currency()
Gets the currency property: Currency of the current view. |
abstract
Report |
dataSet()
Gets the data |
abstract String |
dateRange()
Gets the date |
abstract String |
displayName()
Gets the display |
abstract String |
etag()
Gets the etag property: e |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract Boolean |
includeMonetaryCommitment()
Gets the include |
abstract
View |
innerModel()
Gets the inner com. |
abstract
List<Kpi |
kpis()
Gets the kpis property: List of KPIs to show in Cost Analysis UI. |
abstract
Metric |
metric()
Gets the metric property: Metric to use when displaying costs. |
abstract
Offset |
modifiedOn()
Gets the modified |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract
List<Pivot |
pivots()
Gets the pivots property: Configuration of 3 sub-views in the Cost Analysis UI. |
abstract View |
refresh()
Refreshes the resource to sync with Azure. |
abstract View |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract String |
scope()
Gets the scope property: Cost Management scope to save the view on. |
abstract
Report |
timePeriod()
Gets the time |
abstract
Report |
timeframe()
Gets the timeframe property: The time frame for pulling data for the report. |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract
Report |
typePropertiesType()
Gets the type |
abstract Update |
update()
Begins update for the View resource. |
Method Details
accumulated
public abstract AccumulatedType accumulated()
Gets the accumulated property: Show costs accumulated over time.
Returns:
chart
public abstract ChartType chart()
Gets the chart property: Chart type of the main view in Cost Analysis. Required.
Returns:
createdOn
public abstract OffsetDateTime createdOn()
Gets the createdOn property: Date the user created this view.
Returns:
currency
public abstract String currency()
Gets the currency property: Currency of the current view.
Returns:
dataSet
public abstract ReportConfigDataset dataSet()
Gets the dataSet property: Has definition for data in this report config.
Returns:
dateRange
public abstract String dateRange()
Gets the dateRange property: Date range of the current view.
Returns:
displayName
public abstract String displayName()
Gets the displayName property: User input name of the view. Required.
Returns:
etag
public abstract 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:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
includeMonetaryCommitment
public abstract Boolean includeMonetaryCommitment()
Gets the includeMonetaryCommitment property: If true, report includes monetary commitment.
Returns:
innerModel
public abstract ViewInner innerModel()
Gets the inner com.azure.resourcemanager.costmanagement.fluent.models.ViewInner object.
Returns:
kpis
public abstract List
Gets the kpis property: List of KPIs to show in Cost Analysis UI.
Returns:
metric
public abstract MetricType metric()
Gets the metric property: Metric to use when displaying costs.
Returns:
modifiedOn
public abstract OffsetDateTime modifiedOn()
Gets the modifiedOn property: Date when the user last modified this view.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
pivots
public abstract List
Gets the pivots property: Configuration of 3 sub-views in the Cost Analysis UI.
Returns:
refresh
public abstract View refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract View refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
scope
public abstract String scope()
Gets the scope property: Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
Returns:
timePeriod
public abstract ReportConfigTimePeriod timePeriod()
Gets the timePeriod property: Has time period for pulling data for the report.
Returns:
timeframe
public abstract ReportTimeframeType timeframe()
Gets the timeframe property: The time frame for pulling data for the report. If custom, then a specific time period must be provided.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
typePropertiesType
public abstract ReportType typePropertiesType()
Gets the typePropertiesType property: The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
Returns:
update
public abstract View.Update update()
Begins update for the View resource.
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