Account
Manages an Azure Storage Account.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "GRS",
Tags =
{
{ "environment", "staging" },
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("GRS"),
Tags: pulumi.Map{
"environment": pulumi.String("staging"),
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="GRS",
tags={
"environment": "staging",
})import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.storage.Account("exampleAccount", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
accountTier: "Standard",
accountReplicationType: "GRS",
tags: {
environment: "staging",
},
});Create a Account Resource
new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);def Account(resource_name, opts=None, access_tier=None, account_kind=None, account_replication_type=None, account_tier=None, blob_properties=None, custom_domain=None, enable_https_traffic_only=None, identity=None, is_hns_enabled=None, location=None, name=None, network_rules=None, queue_properties=None, resource_group_name=None, static_website=None, tags=None, __props__=None);func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Account Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Account resource accepts the following input properties:
- Account
Replication stringType Defines the type of replication to use for this storage account. Valid options are
LRS,GRS,RAGRS,ZRS,GZRSandRAGZRS.- Account
Tier string Defines the Tier to use for this storage account. Valid options are
StandardandPremium. ForBlockBlobStorageandFileStorageaccounts onlyPremiumis valid. Changing this forces a new resource to be created.- Resource
Group stringName The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
- Access
Tier string Defines the access tier for
BlobStorage,FileStorageandStorageV2accounts. Valid options areHotandCool, defaults toHot.- Account
Kind string Defines the Kind of account. Valid options are
BlobStorage,BlockBlobStorage,FileStorage,StorageandStorageV2. Changing this forces a new resource to be created. Defaults toStorageV2.- Blob
Properties AccountBlob Properties Args A
blob_propertiesblock as defined below.- Custom
Domain AccountCustom Domain Args A
custom_domainblock as documented below.- Enable
Https boolTraffic Only Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to
true.- Identity
Account
Identity Args A
identityblock as defined below.- Is
Hns boolEnabled Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.
- Network
Rules AccountNetwork Rules Args A
network_rulesblock as documented below.- Queue
Properties AccountQueue Properties Args A
queue_propertiesblock as defined below.- Static
Website AccountStatic Website Args A
static_websiteblock as defined below.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Account
Replication stringType Defines the type of replication to use for this storage account. Valid options are
LRS,GRS,RAGRS,ZRS,GZRSandRAGZRS.- Account
Tier string Defines the Tier to use for this storage account. Valid options are
StandardandPremium. ForBlockBlobStorageandFileStorageaccounts onlyPremiumis valid. Changing this forces a new resource to be created.- Resource
Group stringName The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
- Access
Tier string Defines the access tier for
BlobStorage,FileStorageandStorageV2accounts. Valid options areHotandCool, defaults toHot.- Account
Kind string Defines the Kind of account. Valid options are
BlobStorage,BlockBlobStorage,FileStorage,StorageandStorageV2. Changing this forces a new resource to be created. Defaults toStorageV2.- Blob
Properties AccountBlob Properties A
blob_propertiesblock as defined below.- Custom
Domain AccountCustom Domain A
custom_domainblock as documented below.- Enable
Https boolTraffic Only Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to
true.- Identity
Account
Identity A
identityblock as defined below.- Is
Hns boolEnabled Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.
- Network
Rules AccountNetwork Rules Type A
network_rulesblock as documented below.- Queue
Properties AccountQueue Properties A
queue_propertiesblock as defined below.- Static
Website AccountStatic Website A
static_websiteblock as defined below.- map[string]string
A mapping of tags to assign to the resource.
- account
Replication stringType Defines the type of replication to use for this storage account. Valid options are
LRS,GRS,RAGRS,ZRS,GZRSandRAGZRS.- account
Tier string Defines the Tier to use for this storage account. Valid options are
StandardandPremium. ForBlockBlobStorageandFileStorageaccounts onlyPremiumis valid. Changing this forces a new resource to be created.- resource
Group stringName The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
- access
Tier string Defines the access tier for
BlobStorage,FileStorageandStorageV2accounts. Valid options areHotandCool, defaults toHot.- account
Kind string Defines the Kind of account. Valid options are
BlobStorage,BlockBlobStorage,FileStorage,StorageandStorageV2. Changing this forces a new resource to be created. Defaults toStorageV2.- blob
Properties AccountBlob Properties A
blob_propertiesblock as defined below.- custom
Domain AccountCustom Domain A
custom_domainblock as documented below.- enable
Https booleanTraffic Only Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to
true.- identity
Account
Identity A
identityblock as defined below.- is
Hns booleanEnabled Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.
- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.
- network
Rules AccountNetwork Rules A
network_rulesblock as documented below.- queue
Properties AccountQueue Properties A
queue_propertiesblock as defined below.- static
Website AccountStatic Website A
static_websiteblock as defined below.- {[key: string]: string}
A mapping of tags to assign to the resource.
- account_
replication_ strtype Defines the type of replication to use for this storage account. Valid options are
LRS,GRS,RAGRS,ZRS,GZRSandRAGZRS.- account_
tier str Defines the Tier to use for this storage account. Valid options are
StandardandPremium. ForBlockBlobStorageandFileStorageaccounts onlyPremiumis valid. Changing this forces a new resource to be created.- resource_
group_ strname The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
- access_
tier str Defines the access tier for
BlobStorage,FileStorageandStorageV2accounts. Valid options areHotandCool, defaults toHot.- account_
kind str Defines the Kind of account. Valid options are
BlobStorage,BlockBlobStorage,FileStorage,StorageandStorageV2. Changing this forces a new resource to be created. Defaults toStorageV2.- blob_
properties Dict[AccountBlob Properties] A
blob_propertiesblock as defined below.- custom_
domain Dict[AccountCustom Domain] A
custom_domainblock as documented below.- enable_
https_ booltraffic_ only Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to
true.- identity
Dict[Account
Identity] A
identityblock as defined below.- is_
hns_ boolenabled Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.
- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.
- network_
rules Dict[AccountNetwork Rules] A
network_rulesblock as documented below.- queue_
properties Dict[AccountQueue Properties] A
queue_propertiesblock as defined below.- static_
website Dict[AccountStatic Website] A
static_websiteblock as defined below.- Dict[str, str]
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Access stringKey The primary access key for the storage account.
- Primary
Blob stringConnection String The connection string associated with the primary blob location.
- Primary
Blob stringEndpoint The endpoint URL for blob storage in the primary location.
- Primary
Blob stringHost The hostname with port if applicable for blob storage in the primary location.
- Primary
Connection stringString The connection string associated with the primary location.
- Primary
Dfs stringEndpoint The endpoint URL for DFS storage in the primary location.
- Primary
Dfs stringHost The hostname with port if applicable for DFS storage in the primary location.
- Primary
File stringEndpoint The endpoint URL for file storage in the primary location.
- Primary
File stringHost The hostname with port if applicable for file storage in the primary location.
- Primary
Location string The primary location of the storage account.
- Primary
Queue stringEndpoint The endpoint URL for queue storage in the primary location.
- Primary
Queue stringHost The hostname with port if applicable for queue storage in the primary location.
- Primary
Table stringEndpoint The endpoint URL for table storage in the primary location.
- Primary
Table stringHost The hostname with port if applicable for table storage in the primary location.
- Primary
Web stringEndpoint The endpoint URL for web storage in the primary location.
- Primary
Web stringHost The hostname with port if applicable for web storage in the primary location.
- Secondary
Access stringKey The secondary access key for the storage account.
- Secondary
Blob stringConnection String The connection string associated with the secondary blob location.
- Secondary
Blob stringEndpoint The endpoint URL for blob storage in the secondary location.
- Secondary
Blob stringHost The hostname with port if applicable for blob storage in the secondary location.
- Secondary
Connection stringString The connection string associated with the secondary location.
- Secondary
Dfs stringEndpoint The endpoint URL for DFS storage in the secondary location.
- Secondary
Dfs stringHost The hostname with port if applicable for DFS storage in the secondary location.
- Secondary
File stringEndpoint The endpoint URL for file storage in the secondary location.
- Secondary
File stringHost The hostname with port if applicable for file storage in the secondary location.
- Secondary
Location string The secondary location of the storage account.
- Secondary
Queue stringEndpoint The endpoint URL for queue storage in the secondary location.
- Secondary
Queue stringHost The hostname with port if applicable for queue storage in the secondary location.
- Secondary
Table stringEndpoint The endpoint URL for table storage in the secondary location.
- Secondary
Table stringHost The hostname with port if applicable for table storage in the secondary location.
- Secondary
Web stringEndpoint The endpoint URL for web storage in the secondary location.
- Secondary
Web stringHost The hostname with port if applicable for web storage in the secondary location.
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Access stringKey The primary access key for the storage account.
- Primary
Blob stringConnection String The connection string associated with the primary blob location.
- Primary
Blob stringEndpoint The endpoint URL for blob storage in the primary location.
- Primary
Blob stringHost The hostname with port if applicable for blob storage in the primary location.
- Primary
Connection stringString The connection string associated with the primary location.
- Primary
Dfs stringEndpoint The endpoint URL for DFS storage in the primary location.
- Primary
Dfs stringHost The hostname with port if applicable for DFS storage in the primary location.
- Primary
File stringEndpoint The endpoint URL for file storage in the primary location.
- Primary
File stringHost The hostname with port if applicable for file storage in the primary location.
- Primary
Location string The primary location of the storage account.
- Primary
Queue stringEndpoint The endpoint URL for queue storage in the primary location.
- Primary
Queue stringHost The hostname with port if applicable for queue storage in the primary location.
- Primary
Table stringEndpoint The endpoint URL for table storage in the primary location.
- Primary
Table stringHost The hostname with port if applicable for table storage in the primary location.
- Primary
Web stringEndpoint The endpoint URL for web storage in the primary location.
- Primary
Web stringHost The hostname with port if applicable for web storage in the primary location.
- Secondary
Access stringKey The secondary access key for the storage account.
- Secondary
Blob stringConnection String The connection string associated with the secondary blob location.
- Secondary
Blob stringEndpoint The endpoint URL for blob storage in the secondary location.
- Secondary
Blob stringHost The hostname with port if applicable for blob storage in the secondary location.
- Secondary
Connection stringString The connection string associated with the secondary location.
- Secondary
Dfs stringEndpoint The endpoint URL for DFS storage in the secondary location.
- Secondary
Dfs stringHost The hostname with port if applicable for DFS storage in the secondary location.
- Secondary
File stringEndpoint The endpoint URL for file storage in the secondary location.
- Secondary
File stringHost The hostname with port if applicable for file storage in the secondary location.
- Secondary
Location string The secondary location of the storage account.
- Secondary
Queue stringEndpoint The endpoint URL for queue storage in the secondary location.
- Secondary
Queue stringHost The hostname with port if applicable for queue storage in the secondary location.
- Secondary
Table stringEndpoint The endpoint URL for table storage in the secondary location.
- Secondary
Table stringHost The hostname with port if applicable for table storage in the secondary location.
- Secondary
Web stringEndpoint The endpoint URL for web storage in the secondary location.
- Secondary
Web stringHost The hostname with port if applicable for web storage in the secondary location.
- id string
- The provider-assigned unique ID for this managed resource.
- primary
Access stringKey The primary access key for the storage account.
- primary
Blob stringConnection String The connection string associated with the primary blob location.
- primary
Blob stringEndpoint The endpoint URL for blob storage in the primary location.
- primary
Blob stringHost The hostname with port if applicable for blob storage in the primary location.
- primary
Connection stringString The connection string associated with the primary location.
- primary
Dfs stringEndpoint The endpoint URL for DFS storage in the primary location.
- primary
Dfs stringHost The hostname with port if applicable for DFS storage in the primary location.
- primary
File stringEndpoint The endpoint URL for file storage in the primary location.
- primary
File stringHost The hostname with port if applicable for file storage in the primary location.
- primary
Location string The primary location of the storage account.
- primary
Queue stringEndpoint The endpoint URL for queue storage in the primary location.
- primary
Queue stringHost The hostname with port if applicable for queue storage in the primary location.
- primary
Table stringEndpoint The endpoint URL for table storage in the primary location.
- primary
Table stringHost The hostname with port if applicable for table storage in the primary location.
- primary
Web stringEndpoint The endpoint URL for web storage in the primary location.
- primary
Web stringHost The hostname with port if applicable for web storage in the primary location.
- secondary
Access stringKey The secondary access key for the storage account.
- secondary
Blob stringConnection String The connection string associated with the secondary blob location.
- secondary
Blob stringEndpoint The endpoint URL for blob storage in the secondary location.
- secondary
Blob stringHost The hostname with port if applicable for blob storage in the secondary location.
- secondary
Connection stringString The connection string associated with the secondary location.
- secondary
Dfs stringEndpoint The endpoint URL for DFS storage in the secondary location.
- secondary
Dfs stringHost The hostname with port if applicable for DFS storage in the secondary location.
- secondary
File stringEndpoint The endpoint URL for file storage in the secondary location.
- secondary
File stringHost The hostname with port if applicable for file storage in the secondary location.
- secondary
Location string The secondary location of the storage account.
- secondary
Queue stringEndpoint The endpoint URL for queue storage in the secondary location.
- secondary
Queue stringHost The hostname with port if applicable for queue storage in the secondary location.
- secondary
Table stringEndpoint The endpoint URL for table storage in the secondary location.
- secondary
Table stringHost The hostname with port if applicable for table storage in the secondary location.
- secondary
Web stringEndpoint The endpoint URL for web storage in the secondary location.
- secondary
Web stringHost The hostname with port if applicable for web storage in the secondary location.
- id str
- The provider-assigned unique ID for this managed resource.
- primary_
access_ strkey The primary access key for the storage account.
- primary_
blob_ strconnection_ string The connection string associated with the primary blob location.
- primary_
blob_ strendpoint The endpoint URL for blob storage in the primary location.
- primary_
blob_ strhost The hostname with port if applicable for blob storage in the primary location.
- primary_
connection_ strstring The connection string associated with the primary location.
- primary_
dfs_ strendpoint The endpoint URL for DFS storage in the primary location.
- primary_
dfs_ strhost The hostname with port if applicable for DFS storage in the primary location.
- primary_
file_ strendpoint The endpoint URL for file storage in the primary location.
- primary_
file_ strhost The hostname with port if applicable for file storage in the primary location.
- primary_
location str The primary location of the storage account.
- primary_
queue_ strendpoint The endpoint URL for queue storage in the primary location.
- primary_
queue_ strhost The hostname with port if applicable for queue storage in the primary location.
- primary_
table_ strendpoint The endpoint URL for table storage in the primary location.
- primary_
table_ strhost The hostname with port if applicable for table storage in the primary location.
- primary_
web_ strendpoint The endpoint URL for web storage in the primary location.
- primary_
web_ strhost The hostname with port if applicable for web storage in the primary location.
- secondary_
access_ strkey The secondary access key for the storage account.
- secondary_
blob_ strconnection_ string The connection string associated with the secondary blob location.
- secondary_
blob_ strendpoint The endpoint URL for blob storage in the secondary location.
- secondary_
blob_ strhost The hostname with port if applicable for blob storage in the secondary location.
- secondary_
connection_ strstring The connection string associated with the secondary location.
- secondary_
dfs_ strendpoint The endpoint URL for DFS storage in the secondary location.
- secondary_
dfs_ strhost The hostname with port if applicable for DFS storage in the secondary location.
- secondary_
file_ strendpoint The endpoint URL for file storage in the secondary location.
- secondary_
file_ strhost The hostname with port if applicable for file storage in the secondary location.
- secondary_
location str The secondary location of the storage account.
- secondary_
queue_ strendpoint The endpoint URL for queue storage in the secondary location.
- secondary_
queue_ strhost The hostname with port if applicable for queue storage in the secondary location.
- secondary_
table_ strendpoint The endpoint URL for table storage in the secondary location.
- secondary_
table_ strhost The hostname with port if applicable for table storage in the secondary location.
- secondary_
web_ strendpoint The endpoint URL for web storage in the secondary location.
- secondary_
web_ strhost The hostname with port if applicable for web storage in the secondary location.
Look up an Existing Account Resource
Get an existing Account resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AccountState, opts?: CustomResourceOptions): Accountstatic get(resource_name, id, opts=None, access_tier=None, account_kind=None, account_replication_type=None, account_tier=None, blob_properties=None, custom_domain=None, enable_https_traffic_only=None, identity=None, is_hns_enabled=None, location=None, name=None, network_rules=None, primary_access_key=None, primary_blob_connection_string=None, primary_blob_endpoint=None, primary_blob_host=None, primary_connection_string=None, primary_dfs_endpoint=None, primary_dfs_host=None, primary_file_endpoint=None, primary_file_host=None, primary_location=None, primary_queue_endpoint=None, primary_queue_host=None, primary_table_endpoint=None, primary_table_host=None, primary_web_endpoint=None, primary_web_host=None, queue_properties=None, resource_group_name=None, secondary_access_key=None, secondary_blob_connection_string=None, secondary_blob_endpoint=None, secondary_blob_host=None, secondary_connection_string=None, secondary_dfs_endpoint=None, secondary_dfs_host=None, secondary_file_endpoint=None, secondary_file_host=None, secondary_location=None, secondary_queue_endpoint=None, secondary_queue_host=None, secondary_table_endpoint=None, secondary_table_host=None, secondary_web_endpoint=None, secondary_web_host=None, static_website=None, tags=None, __props__=None);func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Access
Tier string Defines the access tier for
BlobStorage,FileStorageandStorageV2accounts. Valid options areHotandCool, defaults toHot.- Account
Kind string Defines the Kind of account. Valid options are
BlobStorage,BlockBlobStorage,FileStorage,StorageandStorageV2. Changing this forces a new resource to be created. Defaults toStorageV2.- Account
Replication stringType Defines the type of replication to use for this storage account. Valid options are
LRS,GRS,RAGRS,ZRS,GZRSandRAGZRS.- Account
Tier string Defines the Tier to use for this storage account. Valid options are
StandardandPremium. ForBlockBlobStorageandFileStorageaccounts onlyPremiumis valid. Changing this forces a new resource to be created.- Blob
Properties AccountBlob Properties Args A
blob_propertiesblock as defined below.- Custom
Domain AccountCustom Domain Args A
custom_domainblock as documented below.- Enable
Https boolTraffic Only Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to
true.- Identity
Account
Identity Args A
identityblock as defined below.- Is
Hns boolEnabled Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.
- Network
Rules AccountNetwork Rules Args A
network_rulesblock as documented below.- Primary
Access stringKey The primary access key for the storage account.
- Primary
Blob stringConnection String The connection string associated with the primary blob location.
- Primary
Blob stringEndpoint The endpoint URL for blob storage in the primary location.
- Primary
Blob stringHost The hostname with port if applicable for blob storage in the primary location.
- Primary
Connection stringString The connection string associated with the primary location.
- Primary
Dfs stringEndpoint The endpoint URL for DFS storage in the primary location.
- Primary
Dfs stringHost The hostname with port if applicable for DFS storage in the primary location.
- Primary
File stringEndpoint The endpoint URL for file storage in the primary location.
- Primary
File stringHost The hostname with port if applicable for file storage in the primary location.
- Primary
Location string The primary location of the storage account.
- Primary
Queue stringEndpoint The endpoint URL for queue storage in the primary location.
- Primary
Queue stringHost The hostname with port if applicable for queue storage in the primary location.
- Primary
Table stringEndpoint The endpoint URL for table storage in the primary location.
- Primary
Table stringHost The hostname with port if applicable for table storage in the primary location.
- Primary
Web stringEndpoint The endpoint URL for web storage in the primary location.
- Primary
Web stringHost The hostname with port if applicable for web storage in the primary location.
- Queue
Properties AccountQueue Properties Args A
queue_propertiesblock as defined below.- Resource
Group stringName The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
- Secondary
Access stringKey The secondary access key for the storage account.
- Secondary
Blob stringConnection String The connection string associated with the secondary blob location.
- Secondary
Blob stringEndpoint The endpoint URL for blob storage in the secondary location.
- Secondary
Blob stringHost The hostname with port if applicable for blob storage in the secondary location.
- Secondary
Connection stringString The connection string associated with the secondary location.
- Secondary
Dfs stringEndpoint The endpoint URL for DFS storage in the secondary location.
- Secondary
Dfs stringHost The hostname with port if applicable for DFS storage in the secondary location.
- Secondary
File stringEndpoint The endpoint URL for file storage in the secondary location.
- Secondary
File stringHost The hostname with port if applicable for file storage in the secondary location.
- Secondary
Location string The secondary location of the storage account.
- Secondary
Queue stringEndpoint The endpoint URL for queue storage in the secondary location.
- Secondary
Queue stringHost The hostname with port if applicable for queue storage in the secondary location.
- Secondary
Table stringEndpoint The endpoint URL for table storage in the secondary location.
- Secondary
Table stringHost The hostname with port if applicable for table storage in the secondary location.
- Secondary
Web stringEndpoint The endpoint URL for web storage in the secondary location.
- Secondary
Web stringHost The hostname with port if applicable for web storage in the secondary location.
- Static
Website AccountStatic Website Args A
static_websiteblock as defined below.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Access
Tier string Defines the access tier for
BlobStorage,FileStorageandStorageV2accounts. Valid options areHotandCool, defaults toHot.- Account
Kind string Defines the Kind of account. Valid options are
BlobStorage,BlockBlobStorage,FileStorage,StorageandStorageV2. Changing this forces a new resource to be created. Defaults toStorageV2.- Account
Replication stringType Defines the type of replication to use for this storage account. Valid options are
LRS,GRS,RAGRS,ZRS,GZRSandRAGZRS.- Account
Tier string Defines the Tier to use for this storage account. Valid options are
StandardandPremium. ForBlockBlobStorageandFileStorageaccounts onlyPremiumis valid. Changing this forces a new resource to be created.- Blob
Properties AccountBlob Properties A
blob_propertiesblock as defined below.- Custom
Domain AccountCustom Domain A
custom_domainblock as documented below.- Enable
Https boolTraffic Only Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to
true.- Identity
Account
Identity A
identityblock as defined below.- Is
Hns boolEnabled Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.
- Network
Rules AccountNetwork Rules Type A
network_rulesblock as documented below.- Primary
Access stringKey The primary access key for the storage account.
- Primary
Blob stringConnection String The connection string associated with the primary blob location.
- Primary
Blob stringEndpoint The endpoint URL for blob storage in the primary location.
- Primary
Blob stringHost The hostname with port if applicable for blob storage in the primary location.
- Primary
Connection stringString The connection string associated with the primary location.
- Primary
Dfs stringEndpoint The endpoint URL for DFS storage in the primary location.
- Primary
Dfs stringHost The hostname with port if applicable for DFS storage in the primary location.
- Primary
File stringEndpoint The endpoint URL for file storage in the primary location.
- Primary
File stringHost The hostname with port if applicable for file storage in the primary location.
- Primary
Location string The primary location of the storage account.
- Primary
Queue stringEndpoint The endpoint URL for queue storage in the primary location.
- Primary
Queue stringHost The hostname with port if applicable for queue storage in the primary location.
- Primary
Table stringEndpoint The endpoint URL for table storage in the primary location.
- Primary
Table stringHost The hostname with port if applicable for table storage in the primary location.
- Primary
Web stringEndpoint The endpoint URL for web storage in the primary location.
- Primary
Web stringHost The hostname with port if applicable for web storage in the primary location.
- Queue
Properties AccountQueue Properties A
queue_propertiesblock as defined below.- Resource
Group stringName The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
- Secondary
Access stringKey The secondary access key for the storage account.
- Secondary
Blob stringConnection String The connection string associated with the secondary blob location.
- Secondary
Blob stringEndpoint The endpoint URL for blob storage in the secondary location.
- Secondary
Blob stringHost The hostname with port if applicable for blob storage in the secondary location.
- Secondary
Connection stringString The connection string associated with the secondary location.
- Secondary
Dfs stringEndpoint The endpoint URL for DFS storage in the secondary location.
- Secondary
Dfs stringHost The hostname with port if applicable for DFS storage in the secondary location.
- Secondary
File stringEndpoint The endpoint URL for file storage in the secondary location.
- Secondary
File stringHost The hostname with port if applicable for file storage in the secondary location.
- Secondary
Location string The secondary location of the storage account.
- Secondary
Queue stringEndpoint The endpoint URL for queue storage in the secondary location.
- Secondary
Queue stringHost The hostname with port if applicable for queue storage in the secondary location.
- Secondary
Table stringEndpoint The endpoint URL for table storage in the secondary location.
- Secondary
Table stringHost The hostname with port if applicable for table storage in the secondary location.
- Secondary
Web stringEndpoint The endpoint URL for web storage in the secondary location.
- Secondary
Web stringHost The hostname with port if applicable for web storage in the secondary location.
- Static
Website AccountStatic Website A
static_websiteblock as defined below.- map[string]string
A mapping of tags to assign to the resource.
- access
Tier string Defines the access tier for
BlobStorage,FileStorageandStorageV2accounts. Valid options areHotandCool, defaults toHot.- account
Kind string Defines the Kind of account. Valid options are
BlobStorage,BlockBlobStorage,FileStorage,StorageandStorageV2. Changing this forces a new resource to be created. Defaults toStorageV2.- account
Replication stringType Defines the type of replication to use for this storage account. Valid options are
LRS,GRS,RAGRS,ZRS,GZRSandRAGZRS.- account
Tier string Defines the Tier to use for this storage account. Valid options are
StandardandPremium. ForBlockBlobStorageandFileStorageaccounts onlyPremiumis valid. Changing this forces a new resource to be created.- blob
Properties AccountBlob Properties A
blob_propertiesblock as defined below.- custom
Domain AccountCustom Domain A
custom_domainblock as documented below.- enable
Https booleanTraffic Only Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to
true.- identity
Account
Identity A
identityblock as defined below.- is
Hns booleanEnabled Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.
- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.
- network
Rules AccountNetwork Rules A
network_rulesblock as documented below.- primary
Access stringKey The primary access key for the storage account.
- primary
Blob stringConnection String The connection string associated with the primary blob location.
- primary
Blob stringEndpoint The endpoint URL for blob storage in the primary location.
- primary
Blob stringHost The hostname with port if applicable for blob storage in the primary location.
- primary
Connection stringString The connection string associated with the primary location.
- primary
Dfs stringEndpoint The endpoint URL for DFS storage in the primary location.
- primary
Dfs stringHost The hostname with port if applicable for DFS storage in the primary location.
- primary
File stringEndpoint The endpoint URL for file storage in the primary location.
- primary
File stringHost The hostname with port if applicable for file storage in the primary location.
- primary
Location string The primary location of the storage account.
- primary
Queue stringEndpoint The endpoint URL for queue storage in the primary location.
- primary
Queue stringHost The hostname with port if applicable for queue storage in the primary location.
- primary
Table stringEndpoint The endpoint URL for table storage in the primary location.
- primary
Table stringHost The hostname with port if applicable for table storage in the primary location.
- primary
Web stringEndpoint The endpoint URL for web storage in the primary location.
- primary
Web stringHost The hostname with port if applicable for web storage in the primary location.
- queue
Properties AccountQueue Properties A
queue_propertiesblock as defined below.- resource
Group stringName The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
- secondary
Access stringKey The secondary access key for the storage account.
- secondary
Blob stringConnection String The connection string associated with the secondary blob location.
- secondary
Blob stringEndpoint The endpoint URL for blob storage in the secondary location.
- secondary
Blob stringHost The hostname with port if applicable for blob storage in the secondary location.
- secondary
Connection stringString The connection string associated with the secondary location.
- secondary
Dfs stringEndpoint The endpoint URL for DFS storage in the secondary location.
- secondary
Dfs stringHost The hostname with port if applicable for DFS storage in the secondary location.
- secondary
File stringEndpoint The endpoint URL for file storage in the secondary location.
- secondary
File stringHost The hostname with port if applicable for file storage in the secondary location.
- secondary
Location string The secondary location of the storage account.
- secondary
Queue stringEndpoint The endpoint URL for queue storage in the secondary location.
- secondary
Queue stringHost The hostname with port if applicable for queue storage in the secondary location.
- secondary
Table stringEndpoint The endpoint URL for table storage in the secondary location.
- secondary
Table stringHost The hostname with port if applicable for table storage in the secondary location.
- secondary
Web stringEndpoint The endpoint URL for web storage in the secondary location.
- secondary
Web stringHost The hostname with port if applicable for web storage in the secondary location.
- static
Website AccountStatic Website A
static_websiteblock as defined below.- {[key: string]: string}
A mapping of tags to assign to the resource.
- access_
tier str Defines the access tier for
BlobStorage,FileStorageandStorageV2accounts. Valid options areHotandCool, defaults toHot.- account_
kind str Defines the Kind of account. Valid options are
BlobStorage,BlockBlobStorage,FileStorage,StorageandStorageV2. Changing this forces a new resource to be created. Defaults toStorageV2.- account_
replication_ strtype Defines the type of replication to use for this storage account. Valid options are
LRS,GRS,RAGRS,ZRS,GZRSandRAGZRS.- account_
tier str Defines the Tier to use for this storage account. Valid options are
StandardandPremium. ForBlockBlobStorageandFileStorageaccounts onlyPremiumis valid. Changing this forces a new resource to be created.- blob_
properties Dict[AccountBlob Properties] A
blob_propertiesblock as defined below.- custom_
domain Dict[AccountCustom Domain] A
custom_domainblock as documented below.- enable_
https_ booltraffic_ only Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to
true.- identity
Dict[Account
Identity] A
identityblock as defined below.- is_
hns_ boolenabled Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.
- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.
- network_
rules Dict[AccountNetwork Rules] A
network_rulesblock as documented below.- primary_
access_ strkey The primary access key for the storage account.
- primary_
blob_ strconnection_ string The connection string associated with the primary blob location.
- primary_
blob_ strendpoint The endpoint URL for blob storage in the primary location.
- primary_
blob_ strhost The hostname with port if applicable for blob storage in the primary location.
- primary_
connection_ strstring The connection string associated with the primary location.
- primary_
dfs_ strendpoint The endpoint URL for DFS storage in the primary location.
- primary_
dfs_ strhost The hostname with port if applicable for DFS storage in the primary location.
- primary_
file_ strendpoint The endpoint URL for file storage in the primary location.
- primary_
file_ strhost The hostname with port if applicable for file storage in the primary location.
- primary_
location str The primary location of the storage account.
- primary_
queue_ strendpoint The endpoint URL for queue storage in the primary location.
- primary_
queue_ strhost The hostname with port if applicable for queue storage in the primary location.
- primary_
table_ strendpoint The endpoint URL for table storage in the primary location.
- primary_
table_ strhost The hostname with port if applicable for table storage in the primary location.
- primary_
web_ strendpoint The endpoint URL for web storage in the primary location.
- primary_
web_ strhost The hostname with port if applicable for web storage in the primary location.
- queue_
properties Dict[AccountQueue Properties] A
queue_propertiesblock as defined below.- resource_
group_ strname The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
- secondary_
access_ strkey The secondary access key for the storage account.
- secondary_
blob_ strconnection_ string The connection string associated with the secondary blob location.
- secondary_
blob_ strendpoint The endpoint URL for blob storage in the secondary location.
- secondary_
blob_ strhost The hostname with port if applicable for blob storage in the secondary location.
- secondary_
connection_ strstring The connection string associated with the secondary location.
- secondary_
dfs_ strendpoint The endpoint URL for DFS storage in the secondary location.
- secondary_
dfs_ strhost The hostname with port if applicable for DFS storage in the secondary location.
- secondary_
file_ strendpoint The endpoint URL for file storage in the secondary location.
- secondary_
file_ strhost The hostname with port if applicable for file storage in the secondary location.
- secondary_
location str The secondary location of the storage account.
- secondary_
queue_ strendpoint The endpoint URL for queue storage in the secondary location.
- secondary_
queue_ strhost The hostname with port if applicable for queue storage in the secondary location.
- secondary_
table_ strendpoint The endpoint URL for table storage in the secondary location.
- secondary_
table_ strhost The hostname with port if applicable for table storage in the secondary location.
- secondary_
web_ strendpoint The endpoint URL for web storage in the secondary location.
- secondary_
web_ strhost The hostname with port if applicable for web storage in the secondary location.
- static_
website Dict[AccountStatic Website] A
static_websiteblock as defined below.- Dict[str, str]
A mapping of tags to assign to the resource.
Supporting Types
AccountBlobProperties
- Cors
Rules List<AccountBlob Properties Cors Rule Args> A
cors_ruleblock as defined below.- Delete
Retention AccountPolicy Blob Properties Delete Retention Policy Args A
delete_retention_policyblock as defined below.
- Cors
Rules []AccountBlob Properties Cors Rule A
cors_ruleblock as defined below.- Delete
Retention AccountPolicy Blob Properties Delete Retention Policy A
delete_retention_policyblock as defined below.
- cors
Rules AccountBlob Properties Cors Rule[] A
cors_ruleblock as defined below.- delete
Retention AccountPolicy Blob Properties Delete Retention Policy A
delete_retention_policyblock as defined below.
- cors
Rules List[AccountBlob Properties Cors Rule] A
cors_ruleblock as defined below.- delete
Retention Dict[AccountPolicy Blob Properties Delete Retention Policy] A
delete_retention_policyblock as defined below.
AccountBlobPropertiesCorsRule
- Allowed
Headers List<string> A list of headers that are allowed to be a part of the cross-origin request.
- Allowed
Methods List<string> A list of http headers that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.- Allowed
Origins List<string> A list of origin domains that will be allowed by CORS.
- Exposed
Headers List<string> A list of response headers that are exposed to CORS clients.
- Max
Age intIn Seconds The number of seconds the client should cache a preflight response.
- Allowed
Headers []string A list of headers that are allowed to be a part of the cross-origin request.
- Allowed
Methods []string A list of http headers that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.- Allowed
Origins []string A list of origin domains that will be allowed by CORS.
- Exposed
Headers []string A list of response headers that are exposed to CORS clients.
- Max
Age intIn Seconds The number of seconds the client should cache a preflight response.
- allowed
Headers string[] A list of headers that are allowed to be a part of the cross-origin request.
- allowed
Methods string[] A list of http headers that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.- allowed
Origins string[] A list of origin domains that will be allowed by CORS.
- exposed
Headers string[] A list of response headers that are exposed to CORS clients.
- max
Age numberIn Seconds The number of seconds the client should cache a preflight response.
- allowed
Headers List[str] A list of headers that are allowed to be a part of the cross-origin request.
- allowed
Methods List[str] A list of http headers that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.- allowed
Origins List[str] A list of origin domains that will be allowed by CORS.
- exposed
Headers List[str] A list of response headers that are exposed to CORS clients.
- max
Age floatIn Seconds The number of seconds the client should cache a preflight response.
AccountBlobPropertiesDeleteRetentionPolicy
AccountCustomDomain
- Name string
The Custom Domain Name to use for the Storage Account, which will be validated by Azure.
- Use
Subdomain bool Should the Custom Domain Name be validated by using indirect CNAME validation?
- Name string
The Custom Domain Name to use for the Storage Account, which will be validated by Azure.
- Use
Subdomain bool Should the Custom Domain Name be validated by using indirect CNAME validation?
- name string
The Custom Domain Name to use for the Storage Account, which will be validated by Azure.
- use
Subdomain boolean Should the Custom Domain Name be validated by using indirect CNAME validation?
- name str
The Custom Domain Name to use for the Storage Account, which will be validated by Azure.
- use
Subdomain bool Should the Custom Domain Name be validated by using indirect CNAME validation?
AccountIdentity
- Type string
Specifies the identity type of the Storage Account. At this time the only allowed value is
SystemAssigned.- Principal
Id string The Principal ID for the Service Principal associated with the Identity of this Storage Account.
- Tenant
Id string The Tenant ID for the Service Principal associated with the Identity of this Storage Account.
- Type string
Specifies the identity type of the Storage Account. At this time the only allowed value is
SystemAssigned.- Principal
Id string The Principal ID for the Service Principal associated with the Identity of this Storage Account.
- Tenant
Id string The Tenant ID for the Service Principal associated with the Identity of this Storage Account.
- type string
Specifies the identity type of the Storage Account. At this time the only allowed value is
SystemAssigned.- principal
Id string The Principal ID for the Service Principal associated with the Identity of this Storage Account.
- tenant
Id string The Tenant ID for the Service Principal associated with the Identity of this Storage Account.
- type str
Specifies the identity type of the Storage Account. At this time the only allowed value is
SystemAssigned.- principal_
id str The Principal ID for the Service Principal associated with the Identity of this Storage Account.
- tenant_
id str The Tenant ID for the Service Principal associated with the Identity of this Storage Account.
AccountNetworkRules
- Default
Action string Specifies the default action of allow or deny when no other rules match. Valid options are
DenyorAllow.- Bypasses List<string>
Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are any combination of
Logging,Metrics,AzureServices, orNone.- Ip
Rules List<string> List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in RFC 1918) are not allowed.
- Virtual
Network List<string>Subnet Ids A list of resource ids for subnets.
- Default
Action string Specifies the default action of allow or deny when no other rules match. Valid options are
DenyorAllow.- Bypasses []string
Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are any combination of
Logging,Metrics,AzureServices, orNone.- Ip
Rules []string List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in RFC 1918) are not allowed.
- Virtual
Network []stringSubnet Ids A list of resource ids for subnets.
- default
Action string Specifies the default action of allow or deny when no other rules match. Valid options are
DenyorAllow.- bypasses string[]
Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are any combination of
Logging,Metrics,AzureServices, orNone.- ip
Rules string[] List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in RFC 1918) are not allowed.
- virtual
Network string[]Subnet Ids A list of resource ids for subnets.
- default_
action str Specifies the default action of allow or deny when no other rules match. Valid options are
DenyorAllow.- bypasses List[str]
Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are any combination of
Logging,Metrics,AzureServices, orNone.- ip_
rules List[str] List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in RFC 1918) are not allowed.
- virtual_
network_ List[str]subnet_ ids A list of resource ids for subnets.
AccountQueueProperties
- Cors
Rules List<AccountQueue Properties Cors Rule Args> A
cors_ruleblock as defined above.- Hour
Metrics AccountQueue Properties Hour Metrics Args A
hour_metricsblock as defined below.- Logging
Account
Queue Properties Logging Args A
loggingblock as defined below.- Minute
Metrics AccountQueue Properties Minute Metrics Args A
minute_metricsblock as defined below.
- Cors
Rules []AccountQueue Properties Cors Rule A
cors_ruleblock as defined above.- Hour
Metrics AccountQueue Properties Hour Metrics A
hour_metricsblock as defined below.- Logging
Account
Queue Properties Logging A
loggingblock as defined below.- Minute
Metrics AccountQueue Properties Minute Metrics A
minute_metricsblock as defined below.
- cors
Rules AccountQueue Properties Cors Rule[] A
cors_ruleblock as defined above.- hour
Metrics AccountQueue Properties Hour Metrics A
hour_metricsblock as defined below.- logging
Account
Queue Properties Logging A
loggingblock as defined below.- minute
Metrics AccountQueue Properties Minute Metrics A
minute_metricsblock as defined below.
- cors
Rules List[AccountQueue Properties Cors Rule] A
cors_ruleblock as defined above.- hour
Metrics Dict[AccountQueue Properties Hour Metrics] A
hour_metricsblock as defined below.- logging
Dict[Account
Queue Properties Logging] A
loggingblock as defined below.- minute
Metrics Dict[AccountQueue Properties Minute Metrics] A
minute_metricsblock as defined below.
AccountQueuePropertiesCorsRule
- Allowed
Headers List<string> A list of headers that are allowed to be a part of the cross-origin request.
- Allowed
Methods List<string> A list of http headers that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.- Allowed
Origins List<string> A list of origin domains that will be allowed by CORS.
- Exposed
Headers List<string> A list of response headers that are exposed to CORS clients.
- Max
Age intIn Seconds The number of seconds the client should cache a preflight response.
- Allowed
Headers []string A list of headers that are allowed to be a part of the cross-origin request.
- Allowed
Methods []string A list of http headers that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.- Allowed
Origins []string A list of origin domains that will be allowed by CORS.
- Exposed
Headers []string A list of response headers that are exposed to CORS clients.
- Max
Age intIn Seconds The number of seconds the client should cache a preflight response.
- allowed
Headers string[] A list of headers that are allowed to be a part of the cross-origin request.
- allowed
Methods string[] A list of http headers that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.- allowed
Origins string[] A list of origin domains that will be allowed by CORS.
- exposed
Headers string[] A list of response headers that are exposed to CORS clients.
- max
Age numberIn Seconds The number of seconds the client should cache a preflight response.
- allowed
Headers List[str] A list of headers that are allowed to be a part of the cross-origin request.
- allowed
Methods List[str] A list of http headers that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.- allowed
Origins List[str] A list of origin domains that will be allowed by CORS.
- exposed
Headers List[str] A list of response headers that are exposed to CORS clients.
- max
Age floatIn Seconds The number of seconds the client should cache a preflight response.
AccountQueuePropertiesHourMetrics
- Enabled bool
Indicates whether hour metrics are enabled for the Queue service. Changing this forces a new resource.
- Version string
The version of storage analytics to configure. Changing this forces a new resource.
- Include
Apis bool Indicates whether metrics should generate summary statistics for called API operations.
- Retention
Policy intDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
- Enabled bool
Indicates whether hour metrics are enabled for the Queue service. Changing this forces a new resource.
- Version string
The version of storage analytics to configure. Changing this forces a new resource.
- Include
Apis bool Indicates whether metrics should generate summary statistics for called API operations.
- Retention
Policy intDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
- enabled boolean
Indicates whether hour metrics are enabled for the Queue service. Changing this forces a new resource.
- version string
The version of storage analytics to configure. Changing this forces a new resource.
- include
Apis boolean Indicates whether metrics should generate summary statistics for called API operations.
- retention
Policy numberDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
- enabled bool
Indicates whether hour metrics are enabled for the Queue service. Changing this forces a new resource.
- version str
The version of storage analytics to configure. Changing this forces a new resource.
- include
Apis bool Indicates whether metrics should generate summary statistics for called API operations.
- retention
Policy floatDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
AccountQueuePropertiesLogging
- Delete bool
Indicates whether all delete requests should be logged. Changing this forces a new resource.
- Read bool
Indicates whether all read requests should be logged. Changing this forces a new resource.
- Version string
The version of storage analytics to configure. Changing this forces a new resource.
- Write bool
Indicates whether all write requests should be logged. Changing this forces a new resource.
- Retention
Policy intDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
- Delete bool
Indicates whether all delete requests should be logged. Changing this forces a new resource.
- Read bool
Indicates whether all read requests should be logged. Changing this forces a new resource.
- Version string
The version of storage analytics to configure. Changing this forces a new resource.
- Write bool
Indicates whether all write requests should be logged. Changing this forces a new resource.
- Retention
Policy intDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
- delete boolean
Indicates whether all delete requests should be logged. Changing this forces a new resource.
- read boolean
Indicates whether all read requests should be logged. Changing this forces a new resource.
- version string
The version of storage analytics to configure. Changing this forces a new resource.
- write boolean
Indicates whether all write requests should be logged. Changing this forces a new resource.
- retention
Policy numberDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
- delete bool
Indicates whether all delete requests should be logged. Changing this forces a new resource.
- read bool
Indicates whether all read requests should be logged. Changing this forces a new resource.
- version str
The version of storage analytics to configure. Changing this forces a new resource.
- write bool
Indicates whether all write requests should be logged. Changing this forces a new resource.
- retention
Policy floatDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
AccountQueuePropertiesMinuteMetrics
- Enabled bool
Indicates whether minute metrics are enabled for the Queue service. Changing this forces a new resource.
- Version string
The version of storage analytics to configure. Changing this forces a new resource.
- Include
Apis bool Indicates whether metrics should generate summary statistics for called API operations.
- Retention
Policy intDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
- Enabled bool
Indicates whether minute metrics are enabled for the Queue service. Changing this forces a new resource.
- Version string
The version of storage analytics to configure. Changing this forces a new resource.
- Include
Apis bool Indicates whether metrics should generate summary statistics for called API operations.
- Retention
Policy intDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
- enabled boolean
Indicates whether minute metrics are enabled for the Queue service. Changing this forces a new resource.
- version string
The version of storage analytics to configure. Changing this forces a new resource.
- include
Apis boolean Indicates whether metrics should generate summary statistics for called API operations.
- retention
Policy numberDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
- enabled bool
Indicates whether minute metrics are enabled for the Queue service. Changing this forces a new resource.
- version str
The version of storage analytics to configure. Changing this forces a new resource.
- include
Apis bool Indicates whether metrics should generate summary statistics for called API operations.
- retention
Policy floatDays Specifies the number of days that logs will be retained. Changing this forces a new resource.
AccountStaticWebsite
- Error404Document string
The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
- Index
Document string The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
- Error404Document string
The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
- Index
Document string The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
- error404Document string
The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
- index
Document string The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
- error404Document str
The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
- index
Document str The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.