Language

StaticWebsite Class

Definition

The static website properties for blob storage.

public class StaticWebsite
type StaticWebsite = class
Public Class StaticWebsite
Inheritance
StaticWebsite

Constructors

Name Description
StaticWebsite()

Initializes a new instance of the StaticWebsite class.

StaticWebsite(Boolean, String, String, String)

Initializes a new instance of the StaticWebsite class.

Properties

Name Description
DefaultIndexDocumentPath

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

Enabled

Gets or sets indicates whether static website support is enabled for the specified account.

ErrorDocument404Path

Gets or sets 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

Gets or sets 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.

Methods

Name Description
Validate()

Validate the object.

Applies to