Share via


SubnetAssociation Class

Definition

Subnet and it's custom security rules.

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

Properties

Id

Subnet ID.

SecurityRules

Collection of custom security rules.

Explicit Interface Implementations

IJsonModel<SubnetAssociation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SubnetAssociation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SubnetAssociation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SubnetAssociation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SubnetAssociation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to