Share via


StaticWebsiteProperties Class

Definition

Class representing the service properties pertaining to StaticWebsites

public sealed class StaticWebsiteProperties
type StaticWebsiteProperties = class
Public NotInheritable Class StaticWebsiteProperties
Inheritance
StaticWebsiteProperties

Constructors

StaticWebsiteProperties()

Initializes a new instance of the StaticWebsiteProperties class.

Properties

Enabled

True if static websites should be enabled on the blob service for the corresponding Storage Account.

ErrorDocument404Path

Gets or sets a string representing the path to the error document that should be shown when a 404 is issued (meaning, when a browser requests a page that does not exist.)

IndexDocument

Gets or sets a string representing the name of the index document in each directory.

Applies to