pulumi_wasm_providers_azure_mini::storage

Module account_static_website

source
Expand description

Manages the Static Website of an Azure Storage Account.

§Example Usage

resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleAccount:
    type: azure:storage:Account
    name: example
    properties:
      name: storageaccountname
      resourceGroupName: ${example.name}
      location: ${example.location}
      accountTier: Standard
      accountReplicationType: GRS
      tags:
        environment: staging
  test:
    type: azure:storage:AccountStaticWebsite
    properties:
      storageAccountId: ${testAzurermStorageAccount.id}
      error404Document: custom_not_found.html
      indexDocument: custom_index.html

§Import

Storage Account Static Websites can be imported using the resource id, e.g.

$ pulumi import azure:storage/accountStaticWebsite:AccountStaticWebsite mysite /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount

Structs§

Functions§

  • Registers a new resource with the given unique name and arguments