BlobsModelFactory.BlobStaticWebsite(Boolean, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The properties that enable an account to host a static website.
public static Azure.Storage.Blobs.Models.BlobStaticWebsite BlobStaticWebsite(bool enabled = false, string indexDocument = default, string errorDocument404Path = default, string defaultIndexDocumentPath = default);
static member BlobStaticWebsite : bool * string * string * string -> Azure.Storage.Blobs.Models.BlobStaticWebsite
Public Shared Function BlobStaticWebsite (Optional enabled As Boolean = false, Optional indexDocument As String = Nothing, Optional errorDocument404Path As String = Nothing, Optional defaultIndexDocumentPath As String = Nothing) As BlobStaticWebsite
Parameters
- enabled
- Boolean
Indicates whether this account is hosting a static website.
- indexDocument
- String
The index document.
- errorDocument404Path
- String
The error document.
- defaultIndexDocumentPath
- String
Absolute path of the default index page.
Returns
A new BlobStaticWebsite instance for mocking.