Condividi tramite


StaticSiteTemplate Class

Definition

Template Options for the static site.

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

StaticSiteTemplate()

Initializes a new instance of StaticSiteTemplate.

Properties

Description

Description of the newly generated repository.

IsPrivate

Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).

Owner

Owner of the newly generated repository.

RepositoryName

Name of the newly generated repository.

TemplateRepositoryUri

URL of the template repository. The newly generated repository will be based on this one.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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