We recommend using Azure Native.
azure.storage.AccountQueueProperties
Explore with Pulumi AI
Manages the Queue Properties of an Azure Storage Account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleAccount = new azure.storage.Account("example", {
    name: "storageaccountname",
    resourceGroupName: example.name,
    location: example.location,
    accountTier: "Standard",
    accountReplicationType: "GRS",
    tags: {
        environment: "staging",
    },
});
const exampleAccountQueueProperties = new azure.storage.AccountQueueProperties("example", {
    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 pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_account = azure.storage.Account("example",
    name="storageaccountname",
    resource_group_name=example.name,
    location=example.location,
    account_tier="Standard",
    account_replication_type="GRS",
    tags={
        "environment": "staging",
    })
example_account_queue_properties = azure.storage.AccountQueueProperties("example",
    storage_account_id=example_account.id,
    cors_rules=[{
        "allowed_origins": ["http://www.example.com"],
        "exposed_headers": ["x-tempo-*"],
        "allowed_headers": ["x-tempo-*"],
        "allowed_methods": [
            "GET",
            "PUT",
        ],
        "max_age_in_seconds": 500,
    }],
    logging={
        "version": "1.0",
        "delete": True,
        "read": True,
        "write": True,
        "retention_policy_days": 7,
    },
    hour_metrics={
        "version": "1.0",
        "retention_policy_days": 7,
    },
    minute_metrics={
        "version": "1.0",
        "retention_policy_days": 7,
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("storageaccountname"),
			ResourceGroupName:      example.Name,
			Location:               example.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("staging"),
			},
		})
		if err != nil {
			return err
		}
		_, err = storage.NewAccountQueueProperties(ctx, "example", &storage.AccountQueuePropertiesArgs{
			StorageAccountId: exampleAccount.ID(),
			CorsRules: storage.AccountQueuePropertiesCorsRuleArray{
				&storage.AccountQueuePropertiesCorsRuleArgs{
					AllowedOrigins: pulumi.StringArray{
						pulumi.String("http://www.example.com"),
					},
					ExposedHeaders: pulumi.StringArray{
						pulumi.String("x-tempo-*"),
					},
					AllowedHeaders: pulumi.StringArray{
						pulumi.String("x-tempo-*"),
					},
					AllowedMethods: pulumi.StringArray{
						pulumi.String("GET"),
						pulumi.String("PUT"),
					},
					MaxAgeInSeconds: pulumi.Int(500),
				},
			},
			Logging: &storage.AccountQueuePropertiesLoggingArgs{
				Version:             pulumi.String("1.0"),
				Delete:              pulumi.Bool(true),
				Read:                pulumi.Bool(true),
				Write:               pulumi.Bool(true),
				RetentionPolicyDays: pulumi.Int(7),
			},
			HourMetrics: &storage.AccountQueuePropertiesHourMetricsArgs{
				Version:             pulumi.String("1.0"),
				RetentionPolicyDays: pulumi.Int(7),
			},
			MinuteMetrics: &storage.AccountQueuePropertiesMinuteMetricsArgs{
				Version:             pulumi.String("1.0"),
				RetentionPolicyDays: pulumi.Int(7),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var exampleAccount = new Azure.Storage.Account("example", new()
    {
        Name = "storageaccountname",
        ResourceGroupName = example.Name,
        Location = example.Location,
        AccountTier = "Standard",
        AccountReplicationType = "GRS",
        Tags = 
        {
            { "environment", "staging" },
        },
    });
    var exampleAccountQueueProperties = new Azure.Storage.AccountQueueProperties("example", new()
    {
        StorageAccountId = exampleAccount.Id,
        CorsRules = new[]
        {
            new Azure.Storage.Inputs.AccountQueuePropertiesCorsRuleArgs
            {
                AllowedOrigins = new[]
                {
                    "http://www.example.com",
                },
                ExposedHeaders = new[]
                {
                    "x-tempo-*",
                },
                AllowedHeaders = new[]
                {
                    "x-tempo-*",
                },
                AllowedMethods = new[]
                {
                    "GET",
                    "PUT",
                },
                MaxAgeInSeconds = 500,
            },
        },
        Logging = new Azure.Storage.Inputs.AccountQueuePropertiesLoggingArgs
        {
            Version = "1.0",
            Delete = true,
            Read = true,
            Write = true,
            RetentionPolicyDays = 7,
        },
        HourMetrics = new Azure.Storage.Inputs.AccountQueuePropertiesHourMetricsArgs
        {
            Version = "1.0",
            RetentionPolicyDays = 7,
        },
        MinuteMetrics = new Azure.Storage.Inputs.AccountQueuePropertiesMinuteMetricsArgs
        {
            Version = "1.0",
            RetentionPolicyDays = 7,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.storage.AccountQueueProperties;
import com.pulumi.azure.storage.AccountQueuePropertiesArgs;
import com.pulumi.azure.storage.inputs.AccountQueuePropertiesCorsRuleArgs;
import com.pulumi.azure.storage.inputs.AccountQueuePropertiesLoggingArgs;
import com.pulumi.azure.storage.inputs.AccountQueuePropertiesHourMetricsArgs;
import com.pulumi.azure.storage.inputs.AccountQueuePropertiesMinuteMetricsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
            .name("storageaccountname")
            .resourceGroupName(example.name())
            .location(example.location())
            .accountTier("Standard")
            .accountReplicationType("GRS")
            .tags(Map.of("environment", "staging"))
            .build());
        var exampleAccountQueueProperties = new AccountQueueProperties("exampleAccountQueueProperties", AccountQueuePropertiesArgs.builder()
            .storageAccountId(exampleAccount.id())
            .corsRules(AccountQueuePropertiesCorsRuleArgs.builder()
                .allowedOrigins("http://www.example.com")
                .exposedHeaders("x-tempo-*")
                .allowedHeaders("x-tempo-*")
                .allowedMethods(                
                    "GET",
                    "PUT")
                .maxAgeInSeconds("500")
                .build())
            .logging(AccountQueuePropertiesLoggingArgs.builder()
                .version("1.0")
                .delete(true)
                .read(true)
                .write(true)
                .retentionPolicyDays(7)
                .build())
            .hourMetrics(AccountQueuePropertiesHourMetricsArgs.builder()
                .version("1.0")
                .retentionPolicyDays(7)
                .build())
            .minuteMetrics(AccountQueuePropertiesMinuteMetricsArgs.builder()
                .version("1.0")
                .retentionPolicyDays(7)
                .build())
            .build());
    }
}
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
Create AccountQueueProperties Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccountQueueProperties(name: string, args: AccountQueuePropertiesArgs, opts?: CustomResourceOptions);@overload
def AccountQueueProperties(resource_name: str,
                           args: AccountQueuePropertiesInitArgs,
                           opts: Optional[ResourceOptions] = None)
@overload
def AccountQueueProperties(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           storage_account_id: Optional[str] = None,
                           cors_rules: Optional[Sequence[AccountQueuePropertiesCorsRuleArgs]] = None,
                           hour_metrics: Optional[AccountQueuePropertiesHourMetricsArgs] = None,
                           logging: Optional[AccountQueuePropertiesLoggingArgs] = None,
                           minute_metrics: Optional[AccountQueuePropertiesMinuteMetricsArgs] = None)func NewAccountQueueProperties(ctx *Context, name string, args AccountQueuePropertiesArgs, opts ...ResourceOption) (*AccountQueueProperties, error)public AccountQueueProperties(string name, AccountQueuePropertiesArgs args, CustomResourceOptions? opts = null)
public AccountQueueProperties(String name, AccountQueuePropertiesArgs args)
public AccountQueueProperties(String name, AccountQueuePropertiesArgs args, CustomResourceOptions options)
type: azure:storage:AccountQueueProperties
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AccountQueuePropertiesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccountQueuePropertiesInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccountQueuePropertiesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountQueuePropertiesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountQueuePropertiesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var accountQueuePropertiesResource = new Azure.Storage.AccountQueueProperties("accountQueuePropertiesResource", new()
{
    StorageAccountId = "string",
    CorsRules = new[]
    {
        new Azure.Storage.Inputs.AccountQueuePropertiesCorsRuleArgs
        {
            AllowedHeaders = new[]
            {
                "string",
            },
            AllowedMethods = new[]
            {
                "string",
            },
            AllowedOrigins = new[]
            {
                "string",
            },
            ExposedHeaders = new[]
            {
                "string",
            },
            MaxAgeInSeconds = 0,
        },
    },
    HourMetrics = new Azure.Storage.Inputs.AccountQueuePropertiesHourMetricsArgs
    {
        Version = "string",
        IncludeApis = false,
        RetentionPolicyDays = 0,
    },
    Logging = new Azure.Storage.Inputs.AccountQueuePropertiesLoggingArgs
    {
        Delete = false,
        Read = false,
        Version = "string",
        Write = false,
        RetentionPolicyDays = 0,
    },
    MinuteMetrics = new Azure.Storage.Inputs.AccountQueuePropertiesMinuteMetricsArgs
    {
        Version = "string",
        IncludeApis = false,
        RetentionPolicyDays = 0,
    },
});
example, err := storage.NewAccountQueueProperties(ctx, "accountQueuePropertiesResource", &storage.AccountQueuePropertiesArgs{
	StorageAccountId: pulumi.String("string"),
	CorsRules: storage.AccountQueuePropertiesCorsRuleArray{
		&storage.AccountQueuePropertiesCorsRuleArgs{
			AllowedHeaders: pulumi.StringArray{
				pulumi.String("string"),
			},
			AllowedMethods: pulumi.StringArray{
				pulumi.String("string"),
			},
			AllowedOrigins: pulumi.StringArray{
				pulumi.String("string"),
			},
			ExposedHeaders: pulumi.StringArray{
				pulumi.String("string"),
			},
			MaxAgeInSeconds: pulumi.Int(0),
		},
	},
	HourMetrics: &storage.AccountQueuePropertiesHourMetricsArgs{
		Version:             pulumi.String("string"),
		IncludeApis:         pulumi.Bool(false),
		RetentionPolicyDays: pulumi.Int(0),
	},
	Logging: &storage.AccountQueuePropertiesLoggingArgs{
		Delete:              pulumi.Bool(false),
		Read:                pulumi.Bool(false),
		Version:             pulumi.String("string"),
		Write:               pulumi.Bool(false),
		RetentionPolicyDays: pulumi.Int(0),
	},
	MinuteMetrics: &storage.AccountQueuePropertiesMinuteMetricsArgs{
		Version:             pulumi.String("string"),
		IncludeApis:         pulumi.Bool(false),
		RetentionPolicyDays: pulumi.Int(0),
	},
})
var accountQueuePropertiesResource = new AccountQueueProperties("accountQueuePropertiesResource", AccountQueuePropertiesArgs.builder()
    .storageAccountId("string")
    .corsRules(AccountQueuePropertiesCorsRuleArgs.builder()
        .allowedHeaders("string")
        .allowedMethods("string")
        .allowedOrigins("string")
        .exposedHeaders("string")
        .maxAgeInSeconds(0)
        .build())
    .hourMetrics(AccountQueuePropertiesHourMetricsArgs.builder()
        .version("string")
        .includeApis(false)
        .retentionPolicyDays(0)
        .build())
    .logging(AccountQueuePropertiesLoggingArgs.builder()
        .delete(false)
        .read(false)
        .version("string")
        .write(false)
        .retentionPolicyDays(0)
        .build())
    .minuteMetrics(AccountQueuePropertiesMinuteMetricsArgs.builder()
        .version("string")
        .includeApis(false)
        .retentionPolicyDays(0)
        .build())
    .build());
account_queue_properties_resource = azure.storage.AccountQueueProperties("accountQueuePropertiesResource",
    storage_account_id="string",
    cors_rules=[{
        "allowed_headers": ["string"],
        "allowed_methods": ["string"],
        "allowed_origins": ["string"],
        "exposed_headers": ["string"],
        "max_age_in_seconds": 0,
    }],
    hour_metrics={
        "version": "string",
        "include_apis": False,
        "retention_policy_days": 0,
    },
    logging={
        "delete": False,
        "read": False,
        "version": "string",
        "write": False,
        "retention_policy_days": 0,
    },
    minute_metrics={
        "version": "string",
        "include_apis": False,
        "retention_policy_days": 0,
    })
const accountQueuePropertiesResource = new azure.storage.AccountQueueProperties("accountQueuePropertiesResource", {
    storageAccountId: "string",
    corsRules: [{
        allowedHeaders: ["string"],
        allowedMethods: ["string"],
        allowedOrigins: ["string"],
        exposedHeaders: ["string"],
        maxAgeInSeconds: 0,
    }],
    hourMetrics: {
        version: "string",
        includeApis: false,
        retentionPolicyDays: 0,
    },
    logging: {
        "delete": false,
        read: false,
        version: "string",
        write: false,
        retentionPolicyDays: 0,
    },
    minuteMetrics: {
        version: "string",
        includeApis: false,
        retentionPolicyDays: 0,
    },
});
type: azure:storage:AccountQueueProperties
properties:
    corsRules:
        - allowedHeaders:
            - string
          allowedMethods:
            - string
          allowedOrigins:
            - string
          exposedHeaders:
            - string
          maxAgeInSeconds: 0
    hourMetrics:
        includeApis: false
        retentionPolicyDays: 0
        version: string
    logging:
        delete: false
        read: false
        retentionPolicyDays: 0
        version: string
        write: false
    minuteMetrics:
        includeApis: false
        retentionPolicyDays: 0
        version: string
    storageAccountId: string
AccountQueueProperties Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AccountQueueProperties resource accepts the following input properties:
- StorageAccount stringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- CorsRules List<AccountQueue Properties Cors Rule> 
- A cors_ruleblock as defined above.
- HourMetrics AccountQueue Properties Hour Metrics 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- Logging
AccountQueue Properties Logging 
- A loggingblock as defined below.
- MinuteMetrics AccountQueue Properties Minute Metrics 
- A minute_metricsblock as defined below.
- StorageAccount stringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- CorsRules []AccountQueue Properties Cors Rule Args 
- A cors_ruleblock as defined above.
- HourMetrics AccountQueue Properties Hour Metrics Args 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- Logging
AccountQueue Properties Logging Args 
- A loggingblock as defined below.
- MinuteMetrics AccountQueue Properties Minute Metrics Args 
- A minute_metricsblock as defined below.
- storageAccount StringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- corsRules List<AccountQueue Properties Cors Rule> 
- A cors_ruleblock as defined above.
- hourMetrics AccountQueue Properties Hour Metrics 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- logging
AccountQueue Properties Logging 
- A loggingblock as defined below.
- minuteMetrics AccountQueue Properties Minute Metrics 
- A minute_metricsblock as defined below.
- storageAccount stringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- corsRules AccountQueue Properties Cors Rule[] 
- A cors_ruleblock as defined above.
- hourMetrics AccountQueue Properties Hour Metrics 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- logging
AccountQueue Properties Logging 
- A loggingblock as defined below.
- minuteMetrics AccountQueue Properties Minute Metrics 
- A minute_metricsblock as defined below.
- storage_account_ strid 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- cors_rules Sequence[AccountQueue Properties Cors Rule Args] 
- A cors_ruleblock as defined above.
- hour_metrics AccountQueue Properties Hour Metrics Args 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- logging
AccountQueue Properties Logging Args 
- A loggingblock as defined below.
- minute_metrics AccountQueue Properties Minute Metrics Args 
- A minute_metricsblock as defined below.
- storageAccount StringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- corsRules List<Property Map>
- A cors_ruleblock as defined above.
- hourMetrics Property Map
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- logging Property Map
- A loggingblock as defined below.
- minuteMetrics Property Map
- A minute_metricsblock as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccountQueueProperties resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AccountQueueProperties Resource
Get an existing AccountQueueProperties 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?: AccountQueuePropertiesState, opts?: CustomResourceOptions): AccountQueueProperties@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cors_rules: Optional[Sequence[AccountQueuePropertiesCorsRuleArgs]] = None,
        hour_metrics: Optional[AccountQueuePropertiesHourMetricsArgs] = None,
        logging: Optional[AccountQueuePropertiesLoggingArgs] = None,
        minute_metrics: Optional[AccountQueuePropertiesMinuteMetricsArgs] = None,
        storage_account_id: Optional[str] = None) -> AccountQueuePropertiesfunc GetAccountQueueProperties(ctx *Context, name string, id IDInput, state *AccountQueuePropertiesState, opts ...ResourceOption) (*AccountQueueProperties, error)public static AccountQueueProperties Get(string name, Input<string> id, AccountQueuePropertiesState? state, CustomResourceOptions? opts = null)public static AccountQueueProperties get(String name, Output<String> id, AccountQueuePropertiesState state, CustomResourceOptions options)resources:  _:    type: azure:storage:AccountQueueProperties    get:      id: ${id}- 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.
- 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.
- CorsRules List<AccountQueue Properties Cors Rule> 
- A cors_ruleblock as defined above.
- HourMetrics AccountQueue Properties Hour Metrics 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- Logging
AccountQueue Properties Logging 
- A loggingblock as defined below.
- MinuteMetrics AccountQueue Properties Minute Metrics 
- A minute_metricsblock as defined below.
- StorageAccount stringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- CorsRules []AccountQueue Properties Cors Rule Args 
- A cors_ruleblock as defined above.
- HourMetrics AccountQueue Properties Hour Metrics Args 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- Logging
AccountQueue Properties Logging Args 
- A loggingblock as defined below.
- MinuteMetrics AccountQueue Properties Minute Metrics Args 
- A minute_metricsblock as defined below.
- StorageAccount stringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- corsRules List<AccountQueue Properties Cors Rule> 
- A cors_ruleblock as defined above.
- hourMetrics AccountQueue Properties Hour Metrics 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- logging
AccountQueue Properties Logging 
- A loggingblock as defined below.
- minuteMetrics AccountQueue Properties Minute Metrics 
- A minute_metricsblock as defined below.
- storageAccount StringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- corsRules AccountQueue Properties Cors Rule[] 
- A cors_ruleblock as defined above.
- hourMetrics AccountQueue Properties Hour Metrics 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- logging
AccountQueue Properties Logging 
- A loggingblock as defined below.
- minuteMetrics AccountQueue Properties Minute Metrics 
- A minute_metricsblock as defined below.
- storageAccount stringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- cors_rules Sequence[AccountQueue Properties Cors Rule Args] 
- A cors_ruleblock as defined above.
- hour_metrics AccountQueue Properties Hour Metrics Args 
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- logging
AccountQueue Properties Logging Args 
- A loggingblock as defined below.
- minute_metrics AccountQueue Properties Minute Metrics Args 
- A minute_metricsblock as defined below.
- storage_account_ strid 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
- corsRules List<Property Map>
- A cors_ruleblock as defined above.
- hourMetrics Property Map
- A - hour_metricsblock as defined below.- NOTE: At least one of - cors_rule,- logging,- minute_metrics, or- hour_metricsmust be specified.
- logging Property Map
- A loggingblock as defined below.
- minuteMetrics Property Map
- A minute_metricsblock as defined below.
- storageAccount StringId 
- The ID of the Storage Account to set Queue Properties on. Changing this forces a new resource to be created.
Supporting Types
AccountQueuePropertiesCorsRule, AccountQueuePropertiesCorsRuleArgs          
- AllowedHeaders List<string>
- A list of headers that are allowed to be a part of the cross-origin request.
- AllowedMethods List<string>
- A list of HTTP methods that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.
- AllowedOrigins List<string>
- A list of origin domains that will be allowed by CORS.
- ExposedHeaders List<string>
- A list of response headers that are exposed to CORS clients.
- MaxAge intIn Seconds 
- The number of seconds the client should cache a preflight response.
- AllowedHeaders []string
- A list of headers that are allowed to be a part of the cross-origin request.
- AllowedMethods []string
- A list of HTTP methods that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.
- AllowedOrigins []string
- A list of origin domains that will be allowed by CORS.
- ExposedHeaders []string
- A list of response headers that are exposed to CORS clients.
- MaxAge intIn Seconds 
- The number of seconds the client should cache a preflight response.
- allowedHeaders List<String>
- A list of headers that are allowed to be a part of the cross-origin request.
- allowedMethods List<String>
- A list of HTTP methods that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.
- allowedOrigins List<String>
- A list of origin domains that will be allowed by CORS.
- exposedHeaders List<String>
- A list of response headers that are exposed to CORS clients.
- maxAge IntegerIn Seconds 
- The number of seconds the client should cache a preflight response.
- allowedHeaders string[]
- A list of headers that are allowed to be a part of the cross-origin request.
- allowedMethods string[]
- A list of HTTP methods that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.
- allowedOrigins string[]
- A list of origin domains that will be allowed by CORS.
- exposedHeaders string[]
- A list of response headers that are exposed to CORS clients.
- maxAge numberIn Seconds 
- The number of seconds the client should cache a preflight response.
- allowed_headers Sequence[str]
- A list of headers that are allowed to be a part of the cross-origin request.
- allowed_methods Sequence[str]
- A list of HTTP methods that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.
- allowed_origins Sequence[str]
- A list of origin domains that will be allowed by CORS.
- exposed_headers Sequence[str]
- 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.
- allowedHeaders List<String>
- A list of headers that are allowed to be a part of the cross-origin request.
- allowedMethods List<String>
- A list of HTTP methods that are allowed to be executed by the origin. Valid options are
DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUTorPATCH.
- allowedOrigins List<String>
- A list of origin domains that will be allowed by CORS.
- exposedHeaders List<String>
- A list of response headers that are exposed to CORS clients.
- maxAge NumberIn Seconds 
- The number of seconds the client should cache a preflight response.
AccountQueuePropertiesHourMetrics, AccountQueuePropertiesHourMetricsArgs          
- Version string
- The version of storage analytics to configure.
- IncludeApis bool
- Indicates whether metrics should generate summary statistics for called API operations.
- RetentionPolicy intDays 
- Specifies the number of days that logs will be retained.
- Version string
- The version of storage analytics to configure.
- IncludeApis bool
- Indicates whether metrics should generate summary statistics for called API operations.
- RetentionPolicy intDays 
- Specifies the number of days that logs will be retained.
- version String
- The version of storage analytics to configure.
- includeApis Boolean
- Indicates whether metrics should generate summary statistics for called API operations.
- retentionPolicy IntegerDays 
- Specifies the number of days that logs will be retained.
- version string
- The version of storage analytics to configure.
- includeApis boolean
- Indicates whether metrics should generate summary statistics for called API operations.
- retentionPolicy numberDays 
- Specifies the number of days that logs will be retained.
- version str
- The version of storage analytics to configure.
- 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.
- version String
- The version of storage analytics to configure.
- includeApis Boolean
- Indicates whether metrics should generate summary statistics for called API operations.
- retentionPolicy NumberDays 
- Specifies the number of days that logs will be retained.
AccountQueuePropertiesLogging, AccountQueuePropertiesLoggingArgs        
- Delete bool
- Indicates whether all delete requests should be logged.
- Read bool
- Indicates whether all read requests should be logged.
- Version string
- The version of storage analytics to configure.
- Write bool
- Indicates whether all write requests should be logged.
- RetentionPolicy intDays 
- Specifies the number of days that logs will be retained.
- Delete bool
- Indicates whether all delete requests should be logged.
- Read bool
- Indicates whether all read requests should be logged.
- Version string
- The version of storage analytics to configure.
- Write bool
- Indicates whether all write requests should be logged.
- RetentionPolicy intDays 
- Specifies the number of days that logs will be retained.
- delete Boolean
- Indicates whether all delete requests should be logged.
- read Boolean
- Indicates whether all read requests should be logged.
- version String
- The version of storage analytics to configure.
- write Boolean
- Indicates whether all write requests should be logged.
- retentionPolicy IntegerDays 
- Specifies the number of days that logs will be retained.
- delete boolean
- Indicates whether all delete requests should be logged.
- read boolean
- Indicates whether all read requests should be logged.
- version string
- The version of storage analytics to configure.
- write boolean
- Indicates whether all write requests should be logged.
- retentionPolicy numberDays 
- Specifies the number of days that logs will be retained.
- delete bool
- Indicates whether all delete requests should be logged.
- read bool
- Indicates whether all read requests should be logged.
- version str
- The version of storage analytics to configure.
- write bool
- Indicates whether all write requests should be logged.
- retention_policy_ intdays 
- Specifies the number of days that logs will be retained.
- delete Boolean
- Indicates whether all delete requests should be logged.
- read Boolean
- Indicates whether all read requests should be logged.
- version String
- The version of storage analytics to configure.
- write Boolean
- Indicates whether all write requests should be logged.
- retentionPolicy NumberDays 
- Specifies the number of days that logs will be retained.
AccountQueuePropertiesMinuteMetrics, AccountQueuePropertiesMinuteMetricsArgs          
- Version string
- The version of storage analytics to configure.
- IncludeApis bool
- Indicates whether metrics should generate summary statistics for called API operations.
- RetentionPolicy intDays 
- Specifies the number of days that logs will be retained.
- Version string
- The version of storage analytics to configure.
- IncludeApis bool
- Indicates whether metrics should generate summary statistics for called API operations.
- RetentionPolicy intDays 
- Specifies the number of days that logs will be retained.
- version String
- The version of storage analytics to configure.
- includeApis Boolean
- Indicates whether metrics should generate summary statistics for called API operations.
- retentionPolicy IntegerDays 
- Specifies the number of days that logs will be retained.
- version string
- The version of storage analytics to configure.
- includeApis boolean
- Indicates whether metrics should generate summary statistics for called API operations.
- retentionPolicy numberDays 
- Specifies the number of days that logs will be retained.
- version str
- The version of storage analytics to configure.
- 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.
- version String
- The version of storage analytics to configure.
- includeApis Boolean
- Indicates whether metrics should generate summary statistics for called API operations.
- retentionPolicy NumberDays 
- Specifies the number of days that logs will be retained.
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.