BlobServiceStaticWebsite Class

Definition

The static website properties for blob storage.

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

Constructors

Name Description
BlobServiceStaticWebsite(Boolean)

Initializes a new instance of BlobServiceStaticWebsite.

Properties

Name Description
DefaultIndexDocumentPath

The absolute path where the default index file is present. This absolute path is mutually exclusive to "indexDocument" and it is case-sensitive.

ErrorDocument404Path

The absolute path to a webpage that Azure Storage serves for requests that don't correspond to an existing file. The contents of the page are returned with HTTP 404 Not Found. Only a single custom 404 page is supported in each static website.

IndexDocument

The webpage that Azure Storage serves for requests to the root of a website or any subfolder (for example, index.html). The value is case-sensitive.

IsEnabled

Indicates whether static website support is enabled for the specified account.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<BlobServiceStaticWebsite>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<BlobServiceStaticWebsite>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<BlobServiceStaticWebsite>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<BlobServiceStaticWebsite>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<BlobServiceStaticWebsite>.Write(ModelReaderWriterOptions)

Applies to