StaticWebsite Class
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 static website properties for blob storage.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StaticWebsiteTypeConverter))]
public class StaticWebsite : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStaticWebsite
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StaticWebsiteTypeConverter))>]
type StaticWebsite = class
interface IStaticWebsite
interface IJsonSerializable
Public Class StaticWebsite
Implements IStaticWebsite
- Inheritance
-
StaticWebsite
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| StaticWebsite() |
Creates an new StaticWebsite instance. |
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. |
| Enabled |
Indicates whether static website support is enabled for the specified account. |
| 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. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of StaticWebsite. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of StaticWebsite. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStaticWebsite. |
| FromJsonString(String) |
Creates a new instance of StaticWebsite, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of StaticWebsite into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |