ResourceElementTemplate Class

Definition

The resource element template object. Please note ResourceElementTemplate is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ArmResourceDefinitionResourceElementTemplateDetails and NetworkFunctionDefinitionResourceElementTemplateDetails.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.HybridNetwork.Models.UnknownResourceElementTemplate))]
public abstract class ResourceElementTemplate : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.HybridNetwork.Models.ResourceElementTemplate>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.HybridNetwork.Models.ResourceElementTemplate>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.HybridNetwork.Models.UnknownResourceElementTemplate))>]
type ResourceElementTemplate = class
    interface IJsonModel<ResourceElementTemplate>
    interface IPersistableModel<ResourceElementTemplate>
Public MustInherit Class ResourceElementTemplate
Implements IJsonModel(Of ResourceElementTemplate), IPersistableModel(Of ResourceElementTemplate)
Inheritance
ResourceElementTemplate
Derived
Attributes
Implements

Constructors

Name Description
ResourceElementTemplate()

Initializes a new instance of ResourceElementTemplate.

Properties

Name Description
DependsOnProfile

The depends on profile.

Name

Name of the resource element template.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ResourceElementTemplate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceElementTemplate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceElementTemplate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceElementTemplate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceElementTemplate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to