Поделиться через


ProviderSubscriptionStateRule Class

Definition

The ProviderSubscriptionStateRule.

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

Constructors

ProviderSubscriptionStateRule()

Initializes a new instance of ProviderSubscriptionStateRule.

Properties

AllowedActions

Gets the allowed actions.

State

Gets or sets the state.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ProviderSubscriptionStateRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ProviderSubscriptionStateRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ProviderSubscriptionStateRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ProviderSubscriptionStateRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ProviderSubscriptionStateRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to