StorageAccountStaticWebsiteArgs

data class StorageAccountStaticWebsiteArgs(val accountName: Output<String>? = null, val error404Document: Output<String>? = null, val indexDocument: Output<String>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<StorageAccountStaticWebsiteArgs>

Enables the static website feature of a storage account.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:storage:StorageAccountStaticWebsite myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/staticWebsite

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, error404Document: Output<String>? = null, indexDocument: Output<String>? = null, resourceGroupName: Output<String>? = null)

Properties

Link copied to clipboard
val accountName: Output<String>? = null

The name of the storage account within the specified resource group.

Link copied to clipboard
val error404Document: Output<String>? = null

The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.

Link copied to clipboard
val indexDocument: Output<String>? = null

The webpage that Azure Storage serves for requests to the root of a website or any sub-folder. For example, 'index.html'. The value is case-sensitive.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group within the user's subscription. The name is case insensitive.

Functions

Link copied to clipboard
open override fun toJava(): StorageAccountStaticWebsiteArgs