LabCost Interface

public interface LabCost

An immutable client-side representation of LabCost.

Method Summary

Modifier and Type Method and Description
abstract OffsetDateTime createdDate()

Gets the createdDate property: The creation date of the cost.

abstract String currencyCode()

Gets the currencyCode property: The currency code of the cost.

abstract OffsetDateTime endDateTime()

Gets the endDateTime property: The end time of the cost data.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract LabCostInner innerModel()

Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.LabCostInner object.

abstract List<LabCostDetailsProperties> labCostDetails()

Gets the labCostDetails property: The lab cost details component of the cost data.

abstract LabCostSummaryProperties labCostSummary()

Gets the labCostSummary property: The lab cost summary component of the cost data.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract String provisioningState()

Gets the provisioningState property: The provisioning status of the resource.

abstract LabCost refresh()

Refreshes the resource to sync with Azure.

abstract LabCost refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract List<LabResourceCostProperties> resourceCosts()

Gets the resourceCosts property: The resource cost component of the cost data.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract OffsetDateTime startDateTime()

Gets the startDateTime property: The start time of the cost data.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract TargetCostProperties targetCost()

Gets the targetCost property: The target cost properties.

abstract String type()

Gets the type property: The type of the resource.

abstract String uniqueIdentifier()

Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

abstract Update update()

Begins update for the LabCost resource.

Method Details

createdDate

public abstract OffsetDateTime createdDate()

Gets the createdDate property: The creation date of the cost.

Returns:

the createdDate value.

currencyCode

public abstract String currencyCode()

Gets the currencyCode property: The currency code of the cost.

Returns:

the currencyCode value.

endDateTime

public abstract OffsetDateTime endDateTime()

Gets the endDateTime property: The end time of the cost data.

Returns:

the endDateTime value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract LabCostInner innerModel()

Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.LabCostInner object.

Returns:

the inner object.

labCostDetails

public abstract List labCostDetails()

Gets the labCostDetails property: The lab cost details component of the cost data.

Returns:

the labCostDetails value.

labCostSummary

public abstract LabCostSummaryProperties labCostSummary()

Gets the labCostSummary property: The lab cost summary component of the cost data.

Returns:

the labCostSummary value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: The provisioning status of the resource.

Returns:

the provisioningState value.

refresh

public abstract LabCost refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract LabCost refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceCosts

public abstract List resourceCosts()

Gets the resourceCosts property: The resource cost component of the cost data.

Returns:

the resourceCosts value.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

startDateTime

public abstract OffsetDateTime startDateTime()

Gets the startDateTime property: The start time of the cost data.

Returns:

the startDateTime value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

targetCost

public abstract TargetCostProperties targetCost()

Gets the targetCost property: The target cost properties.

Returns:

the targetCost value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

uniqueIdentifier

public abstract String uniqueIdentifier()

Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

Returns:

the uniqueIdentifier value.

update

public abstract LabCost.Update update()

Begins update for the LabCost resource.

Returns:

the stage of resource update.

Applies to