Dela via


SubscriptionPolicies Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.SubscriptionPolicies

public class SubscriptionPolicies

Subscription policies.

Constructor Summary

Constructor Description
SubscriptionPolicies()

Method Summary

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

Get the subscription location placement ID.

java.lang.String quotaId()

Get the subscription quota ID.

SpendingLimit spendingLimit()

Get the subscription spending limit.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SubscriptionPolicies

public SubscriptionPolicies()

Method Details

locationPlacementId

public String locationPlacementId()

Get the subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions.

Returns:

the locationPlacementId value

quotaId

public String quotaId()

Get the subscription quota ID.

Returns:

the quotaId value

spendingLimit

public SpendingLimit spendingLimit()

Get the subscription spending limit. Possible values include: 'On', 'Off', 'CurrentPeriodOff'.

Returns:

the spendingLimit value

Applies to