ResourceUsageRecord Class

public class ResourceUsageRecord extends UsageRecordBase

Defines the estimated monetary cost of a subscription's resource level usage in the current billing cycle.

Constructor Summary

Constructor Description
ResourceUsageRecord()

Method Summary

Modifier and Type Method and Description
java.lang.String getEntitlementId()

Gets the identifier for the entitlement.

java.lang.String getEntitlementName()

Gets the name for the entitlement.

java.lang.String getName()

Gets the name for the resource.

java.lang.String getResourceGroupName()

Gets the name for the resource group.

java.lang.String getResourceType()

Gets the type of resource.

java.lang.String getResourceUri()

Gets the URI for the resource.

java.lang.String getSubscriptionId()

Gets the identifier for the subscription.

void setEntitlementId(String value)

Sets the identifier for the entitlement.

void setEntitlementName(String value)

Sets the name for the entitlement.

void setName(String value)

Sets the name for the resource.

void setResourceGroupName(String value)

Sets the name for the resource group.

void setResourceType(String value)

Sets the type of resource.

void setResourceUri(String value)

Sets the URI for the resource.

void setSubscriptionId(String value)

Sets the identifier for the subscription.

Inherited Members

Constructor Details

ResourceUsageRecord

public ResourceUsageRecord()

Method Details

getEntitlementId

public String getEntitlementId()

Gets the identifier for the entitlement.

Returns:

The identifier for the entitlement.

getEntitlementName

public String getEntitlementName()

Gets the name for the entitlement.

Returns:

The name for the entitlement.

getName

public String getName()

Gets the name for the resource.

Returns:

The name for the resource.

getResourceGroupName

public String getResourceGroupName()

Gets the name for the resource group.

Returns:

The name for the resource group.

getResourceType

public String getResourceType()

Gets the type of resource.

Returns:

The type of resource.

getResourceUri

public String getResourceUri()

Gets the URI for the resource.

Returns:

The URI for the resource.

getSubscriptionId

public String getSubscriptionId()

Gets the identifier for the subscription.

Returns:

The identifier for the subscription.

setEntitlementId

public void setEntitlementId(String value)

Sets the identifier for the entitlement.

Parameters:

value - The identifier for the entitlement.

setEntitlementName

public void setEntitlementName(String value)

Sets the name for the entitlement.

Parameters:

value - The name for the entitlement.

setName

public void setName(String value)

Sets the name for the resource.

Parameters:

value - The name for the resource.

setResourceGroupName

public void setResourceGroupName(String value)

Sets the name for the resource group.

Parameters:

value - The name for the resource group.

setResourceType

public void setResourceType(String value)

Sets the type of resource.

Parameters:

value - The type of resource.

setResourceUri

public void setResourceUri(String value)

Sets the URI for the resource.

Parameters:

value - The URI for the resource.

setSubscriptionId

public void setSubscriptionId(String value)

Sets the identifier for the subscription.

Parameters:

value - The identifier for the subscription.

Applies to