pulumi_wasm_providers_azure_mini::storage

Module account_queue_properties

source
Expand description

Manages the Queue Properties 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
  exampleAccountQueueProperties:
    type: azure:storage:AccountQueueProperties
    name: example
    properties:
      storageAccountId: ${exampleAccount.id}
      corsRules:
        - allowedOrigins:
            - http://www.example.com
          exposedHeaders:
            - x-tempo-*
          allowedHeaders:
            - x-tempo-*
          allowedMethods:
            - GET
            - PUT
          maxAgeInSeconds: '500'
      logging:
        version: '1.0'
        delete: true
        read: true
        write: true
        retentionPolicyDays: 7
      hourMetrics:
        version: '1.0'
        retentionPolicyDays: 7
      minuteMetrics:
        version: '1.0'
        retentionPolicyDays: 7

§Import

Storage Account Queue Properties can be imported using the resource id, e.g.

$ pulumi import azure:storage/accountQueueProperties:AccountQueueProperties queueprops /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