StaticSiteTemplate Class

Definition

Template Options for the static site. Serialized Name: StaticSiteTemplateOptions

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

Constructors

Name Description
StaticSiteTemplate()

Initializes a new instance of StaticSiteTemplate.

Properties

Name Description
Description

Description of the newly generated repository. Serialized Name: StaticSiteTemplateOptions.description

IsPrivate

Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public). Serialized Name: StaticSiteTemplateOptions.isPrivate

Owner

Owner of the newly generated repository. Serialized Name: StaticSiteTemplateOptions.owner

RepositoryName

Name of the newly generated repository. Serialized Name: StaticSiteTemplateOptions.repositoryName

TemplateRepositoryUri

URL of the template repository. The newly generated repository will be based on this one. Serialized Name: StaticSiteTemplateOptions.templateRepositoryUrl

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

IJsonModel<StaticSiteTemplate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StaticSiteTemplate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StaticSiteTemplate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StaticSiteTemplate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to