Share via


NetworkSubResource Class

Definition

Reference to another subresource.

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

Constructors

NetworkSubResource()

Initializes a new instance of NetworkSubResource.

Properties

Id

Resource ID.

Explicit Interface Implementations

IJsonModel<NetworkSubResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetworkSubResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkSubResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkSubResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetworkSubResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to