TemplateSpecData 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.
A class representing the TemplateSpec data model. Template Spec object.
public class TemplateSpecData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.TemplateSpecData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.TemplateSpecData>
public class TemplateSpecData : Azure.ResourceManager.Models.ResourceData
type TemplateSpecData = class
inherit ResourceData
interface IJsonModel<TemplateSpecData>
interface IPersistableModel<TemplateSpecData>
type TemplateSpecData = class
inherit ResourceData
Public Class TemplateSpecData
Inherits ResourceData
Implements IJsonModel(Of TemplateSpecData), IPersistableModel(Of TemplateSpecData)
Public Class TemplateSpecData
Inherits ResourceData
- Inheritance
- Implements
Constructors
TemplateSpecData(AzureLocation) |
Initializes a new instance of TemplateSpecData. |
Properties
Description |
Template Spec description. |
DisplayName |
Template Spec display name. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Location |
The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations. |
Metadata |
The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs. 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:
|
Name |
The name of the resource. (Inherited from ResourceData) |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Tags |
Resource tags. |
Versions |
High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<TemplateSpecData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<TemplateSpecData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<TemplateSpecData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<TemplateSpecData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<TemplateSpecData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET