StaticWebsite Class
Class representing the service properties pertaining to static websites. To set StaticWebsite, you must call Set Blob Service Properties using version 2018-03-28 or later.
- Inheritance
-
builtins.objectStaticWebsite
Constructor
StaticWebsite(enabled=False, index_document=None, error_document_404_path=None)
Parameters
Name | Description |
---|---|
enabled
|
Required. True if static websites should be enabled on the blob service for the corresponding Storage Account. Default value: False
|
index_document
|
Represents the name of the index document. This is commonly "index.html". Default value: None
|
error_document_404_path
|
Represents the path to the error document that should be shown when an error 404 is issued, in other words, when a browser requests a page that does not exist. Default value: None
|
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Python