Share via


SubscriptionPolicies Class

Definition

Subscription policies.

public class SubscriptionPolicies : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.SubscriptionPolicies>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.SubscriptionPolicies>
type SubscriptionPolicies = class
    interface IJsonModel<SubscriptionPolicies>
    interface IPersistableModel<SubscriptionPolicies>
Public Class SubscriptionPolicies
Implements IJsonModel(Of SubscriptionPolicies), IPersistableModel(Of SubscriptionPolicies)
Inheritance
SubscriptionPolicies
Implements

Properties

LocationPlacementId

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.

QuotaId

The subscription quota ID.

SpendingLimit

The subscription spending limit.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SubscriptionPolicies>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SubscriptionPolicies>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SubscriptionPolicies>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SubscriptionPolicies>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SubscriptionPolicies>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to