Share via


WritableSubResource Class

Definition

A class representing a sub-resource that contains only the ID.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Resources.Models.WritableSubResource+WritableSubResourceConverter))]
public class WritableSubResource : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.WritableSubResource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.WritableSubResource>
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Resources.Models.WritableSubResource+WritableSubResourceConverter))>]
type WritableSubResource = class
    interface IJsonModel<WritableSubResource>
    interface IPersistableModel<WritableSubResource>
Public Class WritableSubResource
Implements IJsonModel(Of WritableSubResource), IPersistableModel(Of WritableSubResource)
Inheritance
WritableSubResource
Attributes
Implements

Constructors

WritableSubResource()

Initializes an empty instance of WritableSubResource for mocking.

WritableSubResource(ResourceIdentifier)

Initializes a new instance of WritableSubResource.

Properties

Id

Gets or sets the ARM resource identifier.

Explicit Interface Implementations

IJsonModel<WritableSubResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WritableSubResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WritableSubResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WritableSubResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WritableSubResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to