BillingSubscriptionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. billing. fluent. models. BillingSubscriptionInner
- com.
- com.
public final class BillingSubscriptionInner
extends ProxyResource
A billing subscription.
Constructor Summary
Constructor | Description |
---|---|
BillingSubscriptionInner() |
Creates an instance of Billing |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
billingProfileDisplayName()
Get the billing |
String |
billingProfileId()
Get the billing |
String |
costCenter()
Get the cost |
String |
customerDisplayName()
Get the customer |
String |
customerId()
Get the customer |
String |
displayName()
Get the display |
String |
invoiceSectionDisplayName()
Get the invoice |
String |
invoiceSectionId()
Get the invoice |
Amount |
lastMonthCharges()
Get the last |
Amount |
monthToDateCharges()
Get the month |
Reseller |
reseller()
Get the reseller property: Reseller for this subscription. |
String |
skuDescription()
Get the sku |
String |
skuId()
Get the sku |
Billing |
subscriptionBillingStatus()
Get the subscription |
UUID |
subscriptionId()
Get the subscription |
List<String> |
suspensionReasons()
Get the suspension |
void |
validate()
Validates the instance. |
Billing |
withCostCenter(String costCenter)
Set the cost |
Billing |
withSkuId(String skuId)
Set the sku |
Billing |
withSubscriptionBillingStatus(BillingSubscriptionStatusType subscriptionBillingStatus)
Set the subscription |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
BillingSubscriptionInner
public BillingSubscriptionInner()
Creates an instance of BillingSubscriptionInner class.
Method Details
billingProfileDisplayName
public String billingProfileDisplayName()
Get the billingProfileDisplayName property: The name of the billing profile to which the subscription is billed.
Returns:
billingProfileId
public String billingProfileId()
Get the billingProfileId property: The ID of the billing profile to which the subscription is billed.
Returns:
costCenter
public String costCenter()
Get the costCenter property: The cost center applied to the subscription.
Returns:
customerDisplayName
public String customerDisplayName()
Get the customerDisplayName property: The name of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing account.
Returns:
customerId
public String customerId()
Get the customerId property: The ID of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing account.
Returns:
displayName
public String displayName()
Get the displayName property: The name of the subscription.
Returns:
invoiceSectionDisplayName
public String invoiceSectionDisplayName()
Get the invoiceSectionDisplayName property: The name of the invoice section to which the subscription is billed.
Returns:
invoiceSectionId
public String invoiceSectionId()
Get the invoiceSectionId property: The ID of the invoice section to which the subscription is billed.
Returns:
lastMonthCharges
public Amount lastMonthCharges()
Get the lastMonthCharges property: The last month charges.
Returns:
monthToDateCharges
public Amount monthToDateCharges()
Get the monthToDateCharges property: The current month to date charges.
Returns:
reseller
public Reseller reseller()
Get the reseller property: Reseller for this subscription.
Returns:
skuDescription
public String skuDescription()
Get the skuDescription property: The sku description of the Azure plan for the subscription.
Returns:
skuId
public String skuId()
Get the skuId property: The sku ID of the Azure plan for the subscription.
Returns:
subscriptionBillingStatus
public BillingSubscriptionStatusType subscriptionBillingStatus()
Get the subscriptionBillingStatus property: The current billing status of the subscription.
Returns:
subscriptionId
public UUID subscriptionId()
Get the subscriptionId property: The ID of the subscription.
Returns:
suspensionReasons
public List
Get the suspensionReasons property: The suspension reason for a subscription. Applies only to subscriptions in Microsoft Online Services Program billing accounts.
Returns:
validate
public void validate()
Validates the instance.
withCostCenter
public BillingSubscriptionInner withCostCenter(String costCenter)
Set the costCenter property: The cost center applied to the subscription.
Parameters:
Returns:
withSkuId
public BillingSubscriptionInner withSkuId(String skuId)
Set the skuId property: The sku ID of the Azure plan for the subscription.
Parameters:
Returns:
withSubscriptionBillingStatus
public BillingSubscriptionInner withSubscriptionBillingStatus(BillingSubscriptionStatusType subscriptionBillingStatus)
Set the subscriptionBillingStatus property: The current billing status of the subscription.
Parameters:
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