-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
BlobStaticWebsite.cs
35 lines (31 loc) · 1.69 KB
/
BlobStaticWebsite.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Storage.Blobs.Models
{
/// <summary> The properties that enable an account to host a static website. </summary>
public partial class BlobStaticWebsite
{
/// <summary> Initializes a new instance of <see cref="BlobStaticWebsite"/>. </summary>
/// <param name="enabled"> Indicates whether this account is hosting a static website. </param>
/// <param name="indexDocument"> The default name of the index page under each directory. </param>
/// <param name="errorDocument404Path"> The absolute path of the custom 404 page. </param>
/// <param name="defaultIndexDocumentPath"> Absolute path of the default index page. </param>
internal BlobStaticWebsite(bool enabled, string indexDocument, string errorDocument404Path, string defaultIndexDocumentPath)
{
Enabled = enabled;
IndexDocument = indexDocument;
ErrorDocument404Path = errorDocument404Path;
DefaultIndexDocumentPath = defaultIndexDocumentPath;
}
/// <summary> Indicates whether this account is hosting a static website. </summary>
public bool Enabled { get; set; }
/// <summary> The default name of the index page under each directory. </summary>
public string IndexDocument { get; set; }
/// <summary> The absolute path of the custom 404 page. </summary>
public string ErrorDocument404Path { get; set; }
/// <summary> Absolute path of the default index page. </summary>
public string DefaultIndexDocumentPath { get; set; }
}
}