SubscriptionPolicies Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. SubscriptionPolicies
- com.
Implements
public final class SubscriptionPolicies
implements JsonSerializable<SubscriptionPolicies>
Subscription policies.
Constructor Summary
Constructor | Description |
---|---|
SubscriptionPolicies() |
Creates an instance of Subscription |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Subscription |
fromJson(JsonReader jsonReader)
Reads an instance of Subscription |
String |
locationPlacementId()
Get the location |
String |
quotaId()
Get the quota |
Spending |
spendingLimit()
Get the spending |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
SubscriptionPolicies
public SubscriptionPolicies()
Creates an instance of SubscriptionPolicies class.
Method Details
fromJson
public static SubscriptionPolicies fromJson(JsonReader jsonReader)
Reads an instance of SubscriptionPolicies from the JsonReader.
Parameters:
Returns:
Throws:
locationPlacementId
public String locationPlacementId()
Get the locationPlacementId property: 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:
quotaId
public String quotaId()
Get the quotaId property: The subscription quota ID.
Returns:
spendingLimit
public SpendingLimit spendingLimit()
Get the spendingLimit property: The subscription spending limit.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java