Condividi tramite


TargetResource Class

Definition

Target resource.

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

Properties

Id

The ID of the resource.

ResourceName

The name of the resource.

ResourceType

The type of the resource.

Explicit Interface Implementations

IJsonModel<TargetResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TargetResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TargetResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TargetResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TargetResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to