TargetResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ApiVersion |
The API version the resource was deployed with. |
Extension |
The extension the resource was deployed with. |
Id |
The Azure resource ID of the resource. |
Identifiers |
The extensible resource identifiers. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
ResourceName |
The name of the resource. |
ResourceType |
The type of the resource. |
SymbolicName |
The symbolic name of the resource as defined in the deployment template. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
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. |