We recommend using Azure Native.
azure.storage.ManagementPolicy
Explore with Pulumi AI
Manages an Azure Storage Account Management Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "resourceGroupName",
    location: "West Europe",
});
const exampleAccount = new azure.storage.Account("example", {
    name: "storageaccountname",
    resourceGroupName: example.name,
    location: example.location,
    accountTier: "Standard",
    accountReplicationType: "LRS",
    accountKind: "BlobStorage",
});
const exampleManagementPolicy = new azure.storage.ManagementPolicy("example", {
    storageAccountId: exampleAccount.id,
    rules: [
        {
            name: "rule1",
            enabled: true,
            filters: {
                prefixMatches: ["container1/prefix1"],
                blobTypes: ["blockBlob"],
                matchBlobIndexTags: [{
                    name: "tag1",
                    operation: "==",
                    value: "val1",
                }],
            },
            actions: {
                baseBlob: {
                    tierToCoolAfterDaysSinceModificationGreaterThan: 10,
                    tierToArchiveAfterDaysSinceModificationGreaterThan: 50,
                    deleteAfterDaysSinceModificationGreaterThan: 100,
                },
                snapshot: {
                    deleteAfterDaysSinceCreationGreaterThan: 30,
                },
            },
        },
        {
            name: "rule2",
            enabled: false,
            filters: {
                prefixMatches: [
                    "container2/prefix1",
                    "container2/prefix2",
                ],
                blobTypes: ["blockBlob"],
            },
            actions: {
                baseBlob: {
                    tierToCoolAfterDaysSinceModificationGreaterThan: 11,
                    tierToArchiveAfterDaysSinceModificationGreaterThan: 51,
                    deleteAfterDaysSinceModificationGreaterThan: 101,
                },
                snapshot: {
                    changeTierToArchiveAfterDaysSinceCreation: 90,
                    changeTierToCoolAfterDaysSinceCreation: 23,
                    deleteAfterDaysSinceCreationGreaterThan: 31,
                },
                version: {
                    changeTierToArchiveAfterDaysSinceCreation: 9,
                    changeTierToCoolAfterDaysSinceCreation: 90,
                    deleteAfterDaysSinceCreation: 3,
                },
            },
        },
    ],
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="resourceGroupName",
    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="LRS",
    account_kind="BlobStorage")
example_management_policy = azure.storage.ManagementPolicy("example",
    storage_account_id=example_account.id,
    rules=[
        {
            "name": "rule1",
            "enabled": True,
            "filters": {
                "prefix_matches": ["container1/prefix1"],
                "blob_types": ["blockBlob"],
                "match_blob_index_tags": [{
                    "name": "tag1",
                    "operation": "==",
                    "value": "val1",
                }],
            },
            "actions": {
                "base_blob": {
                    "tier_to_cool_after_days_since_modification_greater_than": 10,
                    "tier_to_archive_after_days_since_modification_greater_than": 50,
                    "delete_after_days_since_modification_greater_than": 100,
                },
                "snapshot": {
                    "delete_after_days_since_creation_greater_than": 30,
                },
            },
        },
        {
            "name": "rule2",
            "enabled": False,
            "filters": {
                "prefix_matches": [
                    "container2/prefix1",
                    "container2/prefix2",
                ],
                "blob_types": ["blockBlob"],
            },
            "actions": {
                "base_blob": {
                    "tier_to_cool_after_days_since_modification_greater_than": 11,
                    "tier_to_archive_after_days_since_modification_greater_than": 51,
                    "delete_after_days_since_modification_greater_than": 101,
                },
                "snapshot": {
                    "change_tier_to_archive_after_days_since_creation": 90,
                    "change_tier_to_cool_after_days_since_creation": 23,
                    "delete_after_days_since_creation_greater_than": 31,
                },
                "version": {
                    "change_tier_to_archive_after_days_since_creation": 9,
                    "change_tier_to_cool_after_days_since_creation": 90,
                    "delete_after_days_since_creation": 3,
                },
            },
        },
    ])
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("resourceGroupName"),
			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("LRS"),
			AccountKind:            pulumi.String("BlobStorage"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewManagementPolicy(ctx, "example", &storage.ManagementPolicyArgs{
			StorageAccountId: exampleAccount.ID(),
			Rules: storage.ManagementPolicyRuleArray{
				&storage.ManagementPolicyRuleArgs{
					Name:    pulumi.String("rule1"),
					Enabled: pulumi.Bool(true),
					Filters: &storage.ManagementPolicyRuleFiltersArgs{
						PrefixMatches: pulumi.StringArray{
							pulumi.String("container1/prefix1"),
						},
						BlobTypes: pulumi.StringArray{
							pulumi.String("blockBlob"),
						},
						MatchBlobIndexTags: storage.ManagementPolicyRuleFiltersMatchBlobIndexTagArray{
							&storage.ManagementPolicyRuleFiltersMatchBlobIndexTagArgs{
								Name:      pulumi.String("tag1"),
								Operation: pulumi.String("=="),
								Value:     pulumi.String("val1"),
							},
						},
					},
					Actions: &storage.ManagementPolicyRuleActionsArgs{
						BaseBlob: &storage.ManagementPolicyRuleActionsBaseBlobArgs{
							TierToCoolAfterDaysSinceModificationGreaterThan:    pulumi.Int(10),
							TierToArchiveAfterDaysSinceModificationGreaterThan: pulumi.Int(50),
							DeleteAfterDaysSinceModificationGreaterThan:        pulumi.Int(100),
						},
						Snapshot: &storage.ManagementPolicyRuleActionsSnapshotArgs{
							DeleteAfterDaysSinceCreationGreaterThan: pulumi.Int(30),
						},
					},
				},
				&storage.ManagementPolicyRuleArgs{
					Name:    pulumi.String("rule2"),
					Enabled: pulumi.Bool(false),
					Filters: &storage.ManagementPolicyRuleFiltersArgs{
						PrefixMatches: pulumi.StringArray{
							pulumi.String("container2/prefix1"),
							pulumi.String("container2/prefix2"),
						},
						BlobTypes: pulumi.StringArray{
							pulumi.String("blockBlob"),
						},
					},
					Actions: &storage.ManagementPolicyRuleActionsArgs{
						BaseBlob: &storage.ManagementPolicyRuleActionsBaseBlobArgs{
							TierToCoolAfterDaysSinceModificationGreaterThan:    pulumi.Int(11),
							TierToArchiveAfterDaysSinceModificationGreaterThan: pulumi.Int(51),
							DeleteAfterDaysSinceModificationGreaterThan:        pulumi.Int(101),
						},
						Snapshot: &storage.ManagementPolicyRuleActionsSnapshotArgs{
							ChangeTierToArchiveAfterDaysSinceCreation: pulumi.Int(90),
							ChangeTierToCoolAfterDaysSinceCreation:    pulumi.Int(23),
							DeleteAfterDaysSinceCreationGreaterThan:   pulumi.Int(31),
						},
						Version: &storage.ManagementPolicyRuleActionsVersionArgs{
							ChangeTierToArchiveAfterDaysSinceCreation: pulumi.Int(9),
							ChangeTierToCoolAfterDaysSinceCreation:    pulumi.Int(90),
							DeleteAfterDaysSinceCreation:              pulumi.Int(3),
						},
					},
				},
			},
		})
		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 = "resourceGroupName",
        Location = "West Europe",
    });
    var exampleAccount = new Azure.Storage.Account("example", new()
    {
        Name = "storageaccountname",
        ResourceGroupName = example.Name,
        Location = example.Location,
        AccountTier = "Standard",
        AccountReplicationType = "LRS",
        AccountKind = "BlobStorage",
    });
    var exampleManagementPolicy = new Azure.Storage.ManagementPolicy("example", new()
    {
        StorageAccountId = exampleAccount.Id,
        Rules = new[]
        {
            new Azure.Storage.Inputs.ManagementPolicyRuleArgs
            {
                Name = "rule1",
                Enabled = true,
                Filters = new Azure.Storage.Inputs.ManagementPolicyRuleFiltersArgs
                {
                    PrefixMatches = new[]
                    {
                        "container1/prefix1",
                    },
                    BlobTypes = new[]
                    {
                        "blockBlob",
                    },
                    MatchBlobIndexTags = new[]
                    {
                        new Azure.Storage.Inputs.ManagementPolicyRuleFiltersMatchBlobIndexTagArgs
                        {
                            Name = "tag1",
                            Operation = "==",
                            Value = "val1",
                        },
                    },
                },
                Actions = new Azure.Storage.Inputs.ManagementPolicyRuleActionsArgs
                {
                    BaseBlob = new Azure.Storage.Inputs.ManagementPolicyRuleActionsBaseBlobArgs
                    {
                        TierToCoolAfterDaysSinceModificationGreaterThan = 10,
                        TierToArchiveAfterDaysSinceModificationGreaterThan = 50,
                        DeleteAfterDaysSinceModificationGreaterThan = 100,
                    },
                    Snapshot = new Azure.Storage.Inputs.ManagementPolicyRuleActionsSnapshotArgs
                    {
                        DeleteAfterDaysSinceCreationGreaterThan = 30,
                    },
                },
            },
            new Azure.Storage.Inputs.ManagementPolicyRuleArgs
            {
                Name = "rule2",
                Enabled = false,
                Filters = new Azure.Storage.Inputs.ManagementPolicyRuleFiltersArgs
                {
                    PrefixMatches = new[]
                    {
                        "container2/prefix1",
                        "container2/prefix2",
                    },
                    BlobTypes = new[]
                    {
                        "blockBlob",
                    },
                },
                Actions = new Azure.Storage.Inputs.ManagementPolicyRuleActionsArgs
                {
                    BaseBlob = new Azure.Storage.Inputs.ManagementPolicyRuleActionsBaseBlobArgs
                    {
                        TierToCoolAfterDaysSinceModificationGreaterThan = 11,
                        TierToArchiveAfterDaysSinceModificationGreaterThan = 51,
                        DeleteAfterDaysSinceModificationGreaterThan = 101,
                    },
                    Snapshot = new Azure.Storage.Inputs.ManagementPolicyRuleActionsSnapshotArgs
                    {
                        ChangeTierToArchiveAfterDaysSinceCreation = 90,
                        ChangeTierToCoolAfterDaysSinceCreation = 23,
                        DeleteAfterDaysSinceCreationGreaterThan = 31,
                    },
                    Version = new Azure.Storage.Inputs.ManagementPolicyRuleActionsVersionArgs
                    {
                        ChangeTierToArchiveAfterDaysSinceCreation = 9,
                        ChangeTierToCoolAfterDaysSinceCreation = 90,
                        DeleteAfterDaysSinceCreation = 3,
                    },
                },
            },
        },
    });
});
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.ManagementPolicy;
import com.pulumi.azure.storage.ManagementPolicyArgs;
import com.pulumi.azure.storage.inputs.ManagementPolicyRuleArgs;
import com.pulumi.azure.storage.inputs.ManagementPolicyRuleFiltersArgs;
import com.pulumi.azure.storage.inputs.ManagementPolicyRuleActionsArgs;
import com.pulumi.azure.storage.inputs.ManagementPolicyRuleActionsBaseBlobArgs;
import com.pulumi.azure.storage.inputs.ManagementPolicyRuleActionsSnapshotArgs;
import com.pulumi.azure.storage.inputs.ManagementPolicyRuleActionsVersionArgs;
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("resourceGroupName")
            .location("West Europe")
            .build());
        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
            .name("storageaccountname")
            .resourceGroupName(example.name())
            .location(example.location())
            .accountTier("Standard")
            .accountReplicationType("LRS")
            .accountKind("BlobStorage")
            .build());
        var exampleManagementPolicy = new ManagementPolicy("exampleManagementPolicy", ManagementPolicyArgs.builder()
            .storageAccountId(exampleAccount.id())
            .rules(            
                ManagementPolicyRuleArgs.builder()
                    .name("rule1")
                    .enabled(true)
                    .filters(ManagementPolicyRuleFiltersArgs.builder()
                        .prefixMatches("container1/prefix1")
                        .blobTypes("blockBlob")
                        .matchBlobIndexTags(ManagementPolicyRuleFiltersMatchBlobIndexTagArgs.builder()
                            .name("tag1")
                            .operation("==")
                            .value("val1")
                            .build())
                        .build())
                    .actions(ManagementPolicyRuleActionsArgs.builder()
                        .baseBlob(ManagementPolicyRuleActionsBaseBlobArgs.builder()
                            .tierToCoolAfterDaysSinceModificationGreaterThan(10)
                            .tierToArchiveAfterDaysSinceModificationGreaterThan(50)
                            .deleteAfterDaysSinceModificationGreaterThan(100)
                            .build())
                        .snapshot(ManagementPolicyRuleActionsSnapshotArgs.builder()
                            .deleteAfterDaysSinceCreationGreaterThan(30)
                            .build())
                        .build())
                    .build(),
                ManagementPolicyRuleArgs.builder()
                    .name("rule2")
                    .enabled(false)
                    .filters(ManagementPolicyRuleFiltersArgs.builder()
                        .prefixMatches(                        
                            "container2/prefix1",
                            "container2/prefix2")
                        .blobTypes("blockBlob")
                        .build())
                    .actions(ManagementPolicyRuleActionsArgs.builder()
                        .baseBlob(ManagementPolicyRuleActionsBaseBlobArgs.builder()
                            .tierToCoolAfterDaysSinceModificationGreaterThan(11)
                            .tierToArchiveAfterDaysSinceModificationGreaterThan(51)
                            .deleteAfterDaysSinceModificationGreaterThan(101)
                            .build())
                        .snapshot(ManagementPolicyRuleActionsSnapshotArgs.builder()
                            .changeTierToArchiveAfterDaysSinceCreation(90)
                            .changeTierToCoolAfterDaysSinceCreation(23)
                            .deleteAfterDaysSinceCreationGreaterThan(31)
                            .build())
                        .version(ManagementPolicyRuleActionsVersionArgs.builder()
                            .changeTierToArchiveAfterDaysSinceCreation(9)
                            .changeTierToCoolAfterDaysSinceCreation(90)
                            .deleteAfterDaysSinceCreation(3)
                            .build())
                        .build())
                    .build())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: resourceGroupName
      location: West Europe
  exampleAccount:
    type: azure:storage:Account
    name: example
    properties:
      name: storageaccountname
      resourceGroupName: ${example.name}
      location: ${example.location}
      accountTier: Standard
      accountReplicationType: LRS
      accountKind: BlobStorage
  exampleManagementPolicy:
    type: azure:storage:ManagementPolicy
    name: example
    properties:
      storageAccountId: ${exampleAccount.id}
      rules:
        - name: rule1
          enabled: true
          filters:
            prefixMatches:
              - container1/prefix1
            blobTypes:
              - blockBlob
            matchBlobIndexTags:
              - name: tag1
                operation: ==
                value: val1
          actions:
            baseBlob:
              tierToCoolAfterDaysSinceModificationGreaterThan: 10
              tierToArchiveAfterDaysSinceModificationGreaterThan: 50
              deleteAfterDaysSinceModificationGreaterThan: 100
            snapshot:
              deleteAfterDaysSinceCreationGreaterThan: 30
        - name: rule2
          enabled: false
          filters:
            prefixMatches:
              - container2/prefix1
              - container2/prefix2
            blobTypes:
              - blockBlob
          actions:
            baseBlob:
              tierToCoolAfterDaysSinceModificationGreaterThan: 11
              tierToArchiveAfterDaysSinceModificationGreaterThan: 51
              deleteAfterDaysSinceModificationGreaterThan: 101
            snapshot:
              changeTierToArchiveAfterDaysSinceCreation: 90
              changeTierToCoolAfterDaysSinceCreation: 23
              deleteAfterDaysSinceCreationGreaterThan: 31
            version:
              changeTierToArchiveAfterDaysSinceCreation: 9
              changeTierToCoolAfterDaysSinceCreation: 90
              deleteAfterDaysSinceCreation: 3
Create ManagementPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementPolicy(name: string, args: ManagementPolicyArgs, opts?: CustomResourceOptions);@overload
def ManagementPolicy(resource_name: str,
                     args: ManagementPolicyArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def ManagementPolicy(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     storage_account_id: Optional[str] = None,
                     rules: Optional[Sequence[ManagementPolicyRuleArgs]] = None)func NewManagementPolicy(ctx *Context, name string, args ManagementPolicyArgs, opts ...ResourceOption) (*ManagementPolicy, error)public ManagementPolicy(string name, ManagementPolicyArgs args, CustomResourceOptions? opts = null)
public ManagementPolicy(String name, ManagementPolicyArgs args)
public ManagementPolicy(String name, ManagementPolicyArgs args, CustomResourceOptions options)
type: azure:storage:ManagementPolicy
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 ManagementPolicyArgs
- 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 ManagementPolicyArgs
- 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 ManagementPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementPolicyArgs
- 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 managementPolicyResource = new Azure.Storage.ManagementPolicy("managementPolicyResource", new()
{
    StorageAccountId = "string",
    Rules = new[]
    {
        new Azure.Storage.Inputs.ManagementPolicyRuleArgs
        {
            Actions = new Azure.Storage.Inputs.ManagementPolicyRuleActionsArgs
            {
                BaseBlob = new Azure.Storage.Inputs.ManagementPolicyRuleActionsBaseBlobArgs
                {
                    AutoTierToHotFromCoolEnabled = false,
                    DeleteAfterDaysSinceCreationGreaterThan = 0,
                    DeleteAfterDaysSinceLastAccessTimeGreaterThan = 0,
                    DeleteAfterDaysSinceModificationGreaterThan = 0,
                    TierToArchiveAfterDaysSinceCreationGreaterThan = 0,
                    TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan = 0,
                    TierToArchiveAfterDaysSinceLastTierChangeGreaterThan = 0,
                    TierToArchiveAfterDaysSinceModificationGreaterThan = 0,
                    TierToColdAfterDaysSinceCreationGreaterThan = 0,
                    TierToColdAfterDaysSinceLastAccessTimeGreaterThan = 0,
                    TierToColdAfterDaysSinceModificationGreaterThan = 0,
                    TierToCoolAfterDaysSinceCreationGreaterThan = 0,
                    TierToCoolAfterDaysSinceLastAccessTimeGreaterThan = 0,
                    TierToCoolAfterDaysSinceModificationGreaterThan = 0,
                },
                Snapshot = new Azure.Storage.Inputs.ManagementPolicyRuleActionsSnapshotArgs
                {
                    ChangeTierToArchiveAfterDaysSinceCreation = 0,
                    ChangeTierToCoolAfterDaysSinceCreation = 0,
                    DeleteAfterDaysSinceCreationGreaterThan = 0,
                    TierToArchiveAfterDaysSinceLastTierChangeGreaterThan = 0,
                    TierToColdAfterDaysSinceCreationGreaterThan = 0,
                },
                Version = new Azure.Storage.Inputs.ManagementPolicyRuleActionsVersionArgs
                {
                    ChangeTierToArchiveAfterDaysSinceCreation = 0,
                    ChangeTierToCoolAfterDaysSinceCreation = 0,
                    DeleteAfterDaysSinceCreation = 0,
                    TierToArchiveAfterDaysSinceLastTierChangeGreaterThan = 0,
                    TierToColdAfterDaysSinceCreationGreaterThan = 0,
                },
            },
            Enabled = false,
            Filters = new Azure.Storage.Inputs.ManagementPolicyRuleFiltersArgs
            {
                BlobTypes = new[]
                {
                    "string",
                },
                MatchBlobIndexTags = new[]
                {
                    new Azure.Storage.Inputs.ManagementPolicyRuleFiltersMatchBlobIndexTagArgs
                    {
                        Name = "string",
                        Value = "string",
                        Operation = "string",
                    },
                },
                PrefixMatches = new[]
                {
                    "string",
                },
            },
            Name = "string",
        },
    },
});
example, err := storage.NewManagementPolicy(ctx, "managementPolicyResource", &storage.ManagementPolicyArgs{
	StorageAccountId: pulumi.String("string"),
	Rules: storage.ManagementPolicyRuleArray{
		&storage.ManagementPolicyRuleArgs{
			Actions: &storage.ManagementPolicyRuleActionsArgs{
				BaseBlob: &storage.ManagementPolicyRuleActionsBaseBlobArgs{
					AutoTierToHotFromCoolEnabled:                         pulumi.Bool(false),
					DeleteAfterDaysSinceCreationGreaterThan:              pulumi.Int(0),
					DeleteAfterDaysSinceLastAccessTimeGreaterThan:        pulumi.Int(0),
					DeleteAfterDaysSinceModificationGreaterThan:          pulumi.Int(0),
					TierToArchiveAfterDaysSinceCreationGreaterThan:       pulumi.Int(0),
					TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan: pulumi.Int(0),
					TierToArchiveAfterDaysSinceLastTierChangeGreaterThan: pulumi.Int(0),
					TierToArchiveAfterDaysSinceModificationGreaterThan:   pulumi.Int(0),
					TierToColdAfterDaysSinceCreationGreaterThan:          pulumi.Int(0),
					TierToColdAfterDaysSinceLastAccessTimeGreaterThan:    pulumi.Int(0),
					TierToColdAfterDaysSinceModificationGreaterThan:      pulumi.Int(0),
					TierToCoolAfterDaysSinceCreationGreaterThan:          pulumi.Int(0),
					TierToCoolAfterDaysSinceLastAccessTimeGreaterThan:    pulumi.Int(0),
					TierToCoolAfterDaysSinceModificationGreaterThan:      pulumi.Int(0),
				},
				Snapshot: &storage.ManagementPolicyRuleActionsSnapshotArgs{
					ChangeTierToArchiveAfterDaysSinceCreation:            pulumi.Int(0),
					ChangeTierToCoolAfterDaysSinceCreation:               pulumi.Int(0),
					DeleteAfterDaysSinceCreationGreaterThan:              pulumi.Int(0),
					TierToArchiveAfterDaysSinceLastTierChangeGreaterThan: pulumi.Int(0),
					TierToColdAfterDaysSinceCreationGreaterThan:          pulumi.Int(0),
				},
				Version: &storage.ManagementPolicyRuleActionsVersionArgs{
					ChangeTierToArchiveAfterDaysSinceCreation:            pulumi.Int(0),
					ChangeTierToCoolAfterDaysSinceCreation:               pulumi.Int(0),
					DeleteAfterDaysSinceCreation:                         pulumi.Int(0),
					TierToArchiveAfterDaysSinceLastTierChangeGreaterThan: pulumi.Int(0),
					TierToColdAfterDaysSinceCreationGreaterThan:          pulumi.Int(0),
				},
			},
			Enabled: pulumi.Bool(false),
			Filters: &storage.ManagementPolicyRuleFiltersArgs{
				BlobTypes: pulumi.StringArray{
					pulumi.String("string"),
				},
				MatchBlobIndexTags: storage.ManagementPolicyRuleFiltersMatchBlobIndexTagArray{
					&storage.ManagementPolicyRuleFiltersMatchBlobIndexTagArgs{
						Name:      pulumi.String("string"),
						Value:     pulumi.String("string"),
						Operation: pulumi.String("string"),
					},
				},
				PrefixMatches: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
			Name: pulumi.String("string"),
		},
	},
})
var managementPolicyResource = new ManagementPolicy("managementPolicyResource", ManagementPolicyArgs.builder()
    .storageAccountId("string")
    .rules(ManagementPolicyRuleArgs.builder()
        .actions(ManagementPolicyRuleActionsArgs.builder()
            .baseBlob(ManagementPolicyRuleActionsBaseBlobArgs.builder()
                .autoTierToHotFromCoolEnabled(false)
                .deleteAfterDaysSinceCreationGreaterThan(0)
                .deleteAfterDaysSinceLastAccessTimeGreaterThan(0)
                .deleteAfterDaysSinceModificationGreaterThan(0)
                .tierToArchiveAfterDaysSinceCreationGreaterThan(0)
                .tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan(0)
                .tierToArchiveAfterDaysSinceLastTierChangeGreaterThan(0)
                .tierToArchiveAfterDaysSinceModificationGreaterThan(0)
                .tierToColdAfterDaysSinceCreationGreaterThan(0)
                .tierToColdAfterDaysSinceLastAccessTimeGreaterThan(0)
                .tierToColdAfterDaysSinceModificationGreaterThan(0)
                .tierToCoolAfterDaysSinceCreationGreaterThan(0)
                .tierToCoolAfterDaysSinceLastAccessTimeGreaterThan(0)
                .tierToCoolAfterDaysSinceModificationGreaterThan(0)
                .build())
            .snapshot(ManagementPolicyRuleActionsSnapshotArgs.builder()
                .changeTierToArchiveAfterDaysSinceCreation(0)
                .changeTierToCoolAfterDaysSinceCreation(0)
                .deleteAfterDaysSinceCreationGreaterThan(0)
                .tierToArchiveAfterDaysSinceLastTierChangeGreaterThan(0)
                .tierToColdAfterDaysSinceCreationGreaterThan(0)
                .build())
            .version(ManagementPolicyRuleActionsVersionArgs.builder()
                .changeTierToArchiveAfterDaysSinceCreation(0)
                .changeTierToCoolAfterDaysSinceCreation(0)
                .deleteAfterDaysSinceCreation(0)
                .tierToArchiveAfterDaysSinceLastTierChangeGreaterThan(0)
                .tierToColdAfterDaysSinceCreationGreaterThan(0)
                .build())
            .build())
        .enabled(false)
        .filters(ManagementPolicyRuleFiltersArgs.builder()
            .blobTypes("string")
            .matchBlobIndexTags(ManagementPolicyRuleFiltersMatchBlobIndexTagArgs.builder()
                .name("string")
                .value("string")
                .operation("string")
                .build())
            .prefixMatches("string")
            .build())
        .name("string")
        .build())
    .build());
management_policy_resource = azure.storage.ManagementPolicy("managementPolicyResource",
    storage_account_id="string",
    rules=[{
        "actions": {
            "base_blob": {
                "auto_tier_to_hot_from_cool_enabled": False,
                "delete_after_days_since_creation_greater_than": 0,
                "delete_after_days_since_last_access_time_greater_than": 0,
                "delete_after_days_since_modification_greater_than": 0,
                "tier_to_archive_after_days_since_creation_greater_than": 0,
                "tier_to_archive_after_days_since_last_access_time_greater_than": 0,
                "tier_to_archive_after_days_since_last_tier_change_greater_than": 0,
                "tier_to_archive_after_days_since_modification_greater_than": 0,
                "tier_to_cold_after_days_since_creation_greater_than": 0,
                "tier_to_cold_after_days_since_last_access_time_greater_than": 0,
                "tier_to_cold_after_days_since_modification_greater_than": 0,
                "tier_to_cool_after_days_since_creation_greater_than": 0,
                "tier_to_cool_after_days_since_last_access_time_greater_than": 0,
                "tier_to_cool_after_days_since_modification_greater_than": 0,
            },
            "snapshot": {
                "change_tier_to_archive_after_days_since_creation": 0,
                "change_tier_to_cool_after_days_since_creation": 0,
                "delete_after_days_since_creation_greater_than": 0,
                "tier_to_archive_after_days_since_last_tier_change_greater_than": 0,
                "tier_to_cold_after_days_since_creation_greater_than": 0,
            },
            "version": {
                "change_tier_to_archive_after_days_since_creation": 0,
                "change_tier_to_cool_after_days_since_creation": 0,
                "delete_after_days_since_creation": 0,
                "tier_to_archive_after_days_since_last_tier_change_greater_than": 0,
                "tier_to_cold_after_days_since_creation_greater_than": 0,
            },
        },
        "enabled": False,
        "filters": {
            "blob_types": ["string"],
            "match_blob_index_tags": [{
                "name": "string",
                "value": "string",
                "operation": "string",
            }],
            "prefix_matches": ["string"],
        },
        "name": "string",
    }])
const managementPolicyResource = new azure.storage.ManagementPolicy("managementPolicyResource", {
    storageAccountId: "string",
    rules: [{
        actions: {
            baseBlob: {
                autoTierToHotFromCoolEnabled: false,
                deleteAfterDaysSinceCreationGreaterThan: 0,
                deleteAfterDaysSinceLastAccessTimeGreaterThan: 0,
                deleteAfterDaysSinceModificationGreaterThan: 0,
                tierToArchiveAfterDaysSinceCreationGreaterThan: 0,
                tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan: 0,
                tierToArchiveAfterDaysSinceLastTierChangeGreaterThan: 0,
                tierToArchiveAfterDaysSinceModificationGreaterThan: 0,
                tierToColdAfterDaysSinceCreationGreaterThan: 0,
                tierToColdAfterDaysSinceLastAccessTimeGreaterThan: 0,
                tierToColdAfterDaysSinceModificationGreaterThan: 0,
                tierToCoolAfterDaysSinceCreationGreaterThan: 0,
                tierToCoolAfterDaysSinceLastAccessTimeGreaterThan: 0,
                tierToCoolAfterDaysSinceModificationGreaterThan: 0,
            },
            snapshot: {
                changeTierToArchiveAfterDaysSinceCreation: 0,
                changeTierToCoolAfterDaysSinceCreation: 0,
                deleteAfterDaysSinceCreationGreaterThan: 0,
                tierToArchiveAfterDaysSinceLastTierChangeGreaterThan: 0,
                tierToColdAfterDaysSinceCreationGreaterThan: 0,
            },
            version: {
                changeTierToArchiveAfterDaysSinceCreation: 0,
                changeTierToCoolAfterDaysSinceCreation: 0,
                deleteAfterDaysSinceCreation: 0,
                tierToArchiveAfterDaysSinceLastTierChangeGreaterThan: 0,
                tierToColdAfterDaysSinceCreationGreaterThan: 0,
            },
        },
        enabled: false,
        filters: {
            blobTypes: ["string"],
            matchBlobIndexTags: [{
                name: "string",
                value: "string",
                operation: "string",
            }],
            prefixMatches: ["string"],
        },
        name: "string",
    }],
});
type: azure:storage:ManagementPolicy
properties:
    rules:
        - actions:
            baseBlob:
                autoTierToHotFromCoolEnabled: false
                deleteAfterDaysSinceCreationGreaterThan: 0
                deleteAfterDaysSinceLastAccessTimeGreaterThan: 0
                deleteAfterDaysSinceModificationGreaterThan: 0
                tierToArchiveAfterDaysSinceCreationGreaterThan: 0
                tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan: 0
                tierToArchiveAfterDaysSinceLastTierChangeGreaterThan: 0
                tierToArchiveAfterDaysSinceModificationGreaterThan: 0
                tierToColdAfterDaysSinceCreationGreaterThan: 0
                tierToColdAfterDaysSinceLastAccessTimeGreaterThan: 0
                tierToColdAfterDaysSinceModificationGreaterThan: 0
                tierToCoolAfterDaysSinceCreationGreaterThan: 0
                tierToCoolAfterDaysSinceLastAccessTimeGreaterThan: 0
                tierToCoolAfterDaysSinceModificationGreaterThan: 0
            snapshot:
                changeTierToArchiveAfterDaysSinceCreation: 0
                changeTierToCoolAfterDaysSinceCreation: 0
                deleteAfterDaysSinceCreationGreaterThan: 0
                tierToArchiveAfterDaysSinceLastTierChangeGreaterThan: 0
                tierToColdAfterDaysSinceCreationGreaterThan: 0
            version:
                changeTierToArchiveAfterDaysSinceCreation: 0
                changeTierToCoolAfterDaysSinceCreation: 0
                deleteAfterDaysSinceCreation: 0
                tierToArchiveAfterDaysSinceLastTierChangeGreaterThan: 0
                tierToColdAfterDaysSinceCreationGreaterThan: 0
          enabled: false
          filters:
            blobTypes:
                - string
            matchBlobIndexTags:
                - name: string
                  operation: string
                  value: string
            prefixMatches:
                - string
          name: string
    storageAccountId: string
ManagementPolicy 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 ManagementPolicy resource accepts the following input properties:
- StorageAccount stringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- Rules
List<ManagementPolicy Rule> 
- A ruleblock as documented below.
- StorageAccount stringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- Rules
[]ManagementPolicy Rule Args 
- A ruleblock as documented below.
- storageAccount StringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- rules
List<ManagementPolicy Rule> 
- A ruleblock as documented below.
- storageAccount stringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- rules
ManagementPolicy Rule[] 
- A ruleblock as documented below.
- storage_account_ strid 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- rules
Sequence[ManagementPolicy Rule Args] 
- A ruleblock as documented below.
- storageAccount StringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- rules List<Property Map>
- A ruleblock as documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementPolicy 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 ManagementPolicy Resource
Get an existing ManagementPolicy 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?: ManagementPolicyState, opts?: CustomResourceOptions): ManagementPolicy@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        rules: Optional[Sequence[ManagementPolicyRuleArgs]] = None,
        storage_account_id: Optional[str] = None) -> ManagementPolicyfunc GetManagementPolicy(ctx *Context, name string, id IDInput, state *ManagementPolicyState, opts ...ResourceOption) (*ManagementPolicy, error)public static ManagementPolicy Get(string name, Input<string> id, ManagementPolicyState? state, CustomResourceOptions? opts = null)public static ManagementPolicy get(String name, Output<String> id, ManagementPolicyState state, CustomResourceOptions options)resources:  _:    type: azure:storage:ManagementPolicy    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.
- Rules
List<ManagementPolicy Rule> 
- A ruleblock as documented below.
- StorageAccount stringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- Rules
[]ManagementPolicy Rule Args 
- A ruleblock as documented below.
- StorageAccount stringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- rules
List<ManagementPolicy Rule> 
- A ruleblock as documented below.
- storageAccount StringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- rules
ManagementPolicy Rule[] 
- A ruleblock as documented below.
- storageAccount stringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- rules
Sequence[ManagementPolicy Rule Args] 
- A ruleblock as documented below.
- storage_account_ strid 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
- rules List<Property Map>
- A ruleblock as documented below.
- storageAccount StringId 
- Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created.
Supporting Types
ManagementPolicyRule, ManagementPolicyRuleArgs      
- Actions
ManagementPolicy Rule Actions 
- An actionsblock as documented below.
- Enabled bool
- Boolean to specify whether the rule is enabled.
- Filters
ManagementPolicy Rule Filters 
- A filtersblock as documented below.
- Name string
- The name of the rule. Rule name is case-sensitive. It must be unique within a policy.
- Actions
ManagementPolicy Rule Actions 
- An actionsblock as documented below.
- Enabled bool
- Boolean to specify whether the rule is enabled.
- Filters
ManagementPolicy Rule Filters 
- A filtersblock as documented below.
- Name string
- The name of the rule. Rule name is case-sensitive. It must be unique within a policy.
- actions
ManagementPolicy Rule Actions 
- An actionsblock as documented below.
- enabled Boolean
- Boolean to specify whether the rule is enabled.
- filters
ManagementPolicy Rule Filters 
- A filtersblock as documented below.
- name String
- The name of the rule. Rule name is case-sensitive. It must be unique within a policy.
- actions
ManagementPolicy Rule Actions 
- An actionsblock as documented below.
- enabled boolean
- Boolean to specify whether the rule is enabled.
- filters
ManagementPolicy Rule Filters 
- A filtersblock as documented below.
- name string
- The name of the rule. Rule name is case-sensitive. It must be unique within a policy.
- actions
ManagementPolicy Rule Actions 
- An actionsblock as documented below.
- enabled bool
- Boolean to specify whether the rule is enabled.
- filters
ManagementPolicy Rule Filters 
- A filtersblock as documented below.
- name str
- The name of the rule. Rule name is case-sensitive. It must be unique within a policy.
- actions Property Map
- An actionsblock as documented below.
- enabled Boolean
- Boolean to specify whether the rule is enabled.
- filters Property Map
- A filtersblock as documented below.
- name String
- The name of the rule. Rule name is case-sensitive. It must be unique within a policy.
ManagementPolicyRuleActions, ManagementPolicyRuleActionsArgs        
- BaseBlob ManagementPolicy Rule Actions Base Blob 
- A base_blobblock as documented below.
- Snapshot
ManagementPolicy Rule Actions Snapshot 
- A snapshotblock as documented below.
- Version
ManagementPolicy Rule Actions Version 
- A versionblock as documented below.
- BaseBlob ManagementPolicy Rule Actions Base Blob 
- A base_blobblock as documented below.
- Snapshot
ManagementPolicy Rule Actions Snapshot 
- A snapshotblock as documented below.
- Version
ManagementPolicy Rule Actions Version 
- A versionblock as documented below.
- baseBlob ManagementPolicy Rule Actions Base Blob 
- A base_blobblock as documented below.
- snapshot
ManagementPolicy Rule Actions Snapshot 
- A snapshotblock as documented below.
- version
ManagementPolicy Rule Actions Version 
- A versionblock as documented below.
- baseBlob ManagementPolicy Rule Actions Base Blob 
- A base_blobblock as documented below.
- snapshot
ManagementPolicy Rule Actions Snapshot 
- A snapshotblock as documented below.
- version
ManagementPolicy Rule Actions Version 
- A versionblock as documented below.
- base_blob ManagementPolicy Rule Actions Base Blob 
- A base_blobblock as documented below.
- snapshot
ManagementPolicy Rule Actions Snapshot 
- A snapshotblock as documented below.
- version
ManagementPolicy Rule Actions Version 
- A versionblock as documented below.
- baseBlob Property Map
- A base_blobblock as documented below.
- snapshot Property Map
- A snapshotblock as documented below.
- version Property Map
- A versionblock as documented below.
ManagementPolicyRuleActionsBaseBlob, ManagementPolicyRuleActionsBaseBlobArgs            
- AutoTier boolTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to - false.- Note: The - auto_tier_to_hot_from_cool_enabledmust be used together with- tier_to_cool_after_days_since_last_access_time_greater_than.
- DeleteAfter intDays Since Creation Greater Than 
- The age in days after creation to delete the blob. Must be between - 0and- 99999. Defaults to- -1.- Note: The - delete_after_days_since_modification_greater_than,- delete_after_days_since_last_access_time_greater_thanand- delete_after_days_since_creation_greater_thancan not be set at the same time.- Note: The - last_access_time_enabledmust be set to- truein the- azure.storage.Accountin order to use- tier_to_cool_after_days_since_last_access_time_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- delete_after_days_since_last_access_time_greater_than.
- DeleteAfter intDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob. Must be between 0and99999. Defaults to-1.
- DeleteAfter intDays Since Modification Greater Than 
- The age in days after last modification to delete the blob. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_archive_after_days_since_modification_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- tier_to_archive_after_days_since_creation_greater_thancan not be set at the same time.
- TierTo intArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- TierTo intCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- TierTo intCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- TierTo intCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- TierTo intCool After Days Since Creation Greater Than 
- The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- TierTo intCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- TierTo intCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- AutoTier boolTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to - false.- Note: The - auto_tier_to_hot_from_cool_enabledmust be used together with- tier_to_cool_after_days_since_last_access_time_greater_than.
- DeleteAfter intDays Since Creation Greater Than 
- The age in days after creation to delete the blob. Must be between - 0and- 99999. Defaults to- -1.- Note: The - delete_after_days_since_modification_greater_than,- delete_after_days_since_last_access_time_greater_thanand- delete_after_days_since_creation_greater_thancan not be set at the same time.- Note: The - last_access_time_enabledmust be set to- truein the- azure.storage.Accountin order to use- tier_to_cool_after_days_since_last_access_time_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- delete_after_days_since_last_access_time_greater_than.
- DeleteAfter intDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob. Must be between 0and99999. Defaults to-1.
- DeleteAfter intDays Since Modification Greater Than 
- The age in days after last modification to delete the blob. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_archive_after_days_since_modification_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- tier_to_archive_after_days_since_creation_greater_thancan not be set at the same time.
- TierTo intArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- TierTo intCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- TierTo intCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- TierTo intCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- TierTo intCool After Days Since Creation Greater Than 
- The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- TierTo intCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- TierTo intCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- autoTier BooleanTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to - false.- Note: The - auto_tier_to_hot_from_cool_enabledmust be used together with- tier_to_cool_after_days_since_last_access_time_greater_than.
- deleteAfter IntegerDays Since Creation Greater Than 
- The age in days after creation to delete the blob. Must be between - 0and- 99999. Defaults to- -1.- Note: The - delete_after_days_since_modification_greater_than,- delete_after_days_since_last_access_time_greater_thanand- delete_after_days_since_creation_greater_thancan not be set at the same time.- Note: The - last_access_time_enabledmust be set to- truein the- azure.storage.Accountin order to use- tier_to_cool_after_days_since_last_access_time_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- delete_after_days_since_last_access_time_greater_than.
- deleteAfter IntegerDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob. Must be between 0and99999. Defaults to-1.
- deleteAfter IntegerDays Since Modification Greater Than 
- The age in days after last modification to delete the blob. Must be between 0and99999. Defaults to-1.
- tierTo IntegerArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_archive_after_days_since_modification_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- tier_to_archive_after_days_since_creation_greater_thancan not be set at the same time.
- tierTo IntegerArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- tierTo IntegerArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tierTo IntegerArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- tierTo IntegerCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- tierTo IntegerCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tierTo IntegerCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tierTo IntegerCool After Days Since Creation Greater Than 
- The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- tierTo IntegerCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tierTo IntegerCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- autoTier booleanTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to - false.- Note: The - auto_tier_to_hot_from_cool_enabledmust be used together with- tier_to_cool_after_days_since_last_access_time_greater_than.
- deleteAfter numberDays Since Creation Greater Than 
- The age in days after creation to delete the blob. Must be between - 0and- 99999. Defaults to- -1.- Note: The - delete_after_days_since_modification_greater_than,- delete_after_days_since_last_access_time_greater_thanand- delete_after_days_since_creation_greater_thancan not be set at the same time.- Note: The - last_access_time_enabledmust be set to- truein the- azure.storage.Accountin order to use- tier_to_cool_after_days_since_last_access_time_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- delete_after_days_since_last_access_time_greater_than.
- deleteAfter numberDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob. Must be between 0and99999. Defaults to-1.
- deleteAfter numberDays Since Modification Greater Than 
- The age in days after last modification to delete the blob. Must be between 0and99999. Defaults to-1.
- tierTo numberArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_archive_after_days_since_modification_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- tier_to_archive_after_days_since_creation_greater_thancan not be set at the same time.
- tierTo numberArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- tierTo numberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tierTo numberArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- tierTo numberCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- tierTo numberCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tierTo numberCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tierTo numberCool After Days Since Creation Greater Than 
- The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- tierTo numberCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tierTo numberCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- auto_tier_ boolto_ hot_ from_ cool_ enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to - false.- Note: The - auto_tier_to_hot_from_cool_enabledmust be used together with- tier_to_cool_after_days_since_last_access_time_greater_than.
- delete_after_ intdays_ since_ creation_ greater_ than 
- The age in days after creation to delete the blob. Must be between - 0and- 99999. Defaults to- -1.- Note: The - delete_after_days_since_modification_greater_than,- delete_after_days_since_last_access_time_greater_thanand- delete_after_days_since_creation_greater_thancan not be set at the same time.- Note: The - last_access_time_enabledmust be set to- truein the- azure.storage.Accountin order to use- tier_to_cool_after_days_since_last_access_time_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- delete_after_days_since_last_access_time_greater_than.
- delete_after_ intdays_ since_ last_ access_ time_ greater_ than 
- The age in days after last access time to delete the blob. Must be between 0and99999. Defaults to-1.
- delete_after_ intdays_ since_ modification_ greater_ than 
- The age in days after last modification to delete the blob. Must be between 0and99999. Defaults to-1.
- tier_to_ intarchive_ after_ days_ since_ creation_ greater_ than 
- The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_archive_after_days_since_modification_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- tier_to_archive_after_days_since_creation_greater_thancan not be set at the same time.
- tier_to_ intarchive_ after_ days_ since_ last_ access_ time_ greater_ than 
- The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- tier_to_ intarchive_ after_ days_ since_ last_ tier_ change_ greater_ than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tier_to_ intarchive_ after_ days_ since_ modification_ greater_ than 
- The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- tier_to_ intcold_ after_ days_ since_ creation_ greater_ than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- tier_to_ intcold_ after_ days_ since_ last_ access_ time_ greater_ than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tier_to_ intcold_ after_ days_ since_ modification_ greater_ than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tier_to_ intcool_ after_ days_ since_ creation_ greater_ than 
- The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- tier_to_ intcool_ after_ days_ since_ last_ access_ time_ greater_ than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tier_to_ intcool_ after_ days_ since_ modification_ greater_ than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- autoTier BooleanTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to - false.- Note: The - auto_tier_to_hot_from_cool_enabledmust be used together with- tier_to_cool_after_days_since_last_access_time_greater_than.
- deleteAfter NumberDays Since Creation Greater Than 
- The age in days after creation to delete the blob. Must be between - 0and- 99999. Defaults to- -1.- Note: The - delete_after_days_since_modification_greater_than,- delete_after_days_since_last_access_time_greater_thanand- delete_after_days_since_creation_greater_thancan not be set at the same time.- Note: The - last_access_time_enabledmust be set to- truein the- azure.storage.Accountin order to use- tier_to_cool_after_days_since_last_access_time_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- delete_after_days_since_last_access_time_greater_than.
- deleteAfter NumberDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob. Must be between 0and99999. Defaults to-1.
- deleteAfter NumberDays Since Modification Greater Than 
- The age in days after last modification to delete the blob. Must be between 0and99999. Defaults to-1.
- tierTo NumberArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_archive_after_days_since_modification_greater_than,- tier_to_archive_after_days_since_last_access_time_greater_thanand- tier_to_archive_after_days_since_creation_greater_thancan not be set at the same time.
- tierTo NumberArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- tierTo NumberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tierTo NumberArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between 0and99999. Defaults to-1.
- tierTo NumberCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- tierTo NumberCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tierTo NumberCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tierTo NumberCool After Days Since Creation Greater Than 
- The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between - 0and- 99999. Defaults to- -1.- Note: The - tier_to_cool_after_days_since_modification_greater_than,- tier_to_cool_after_days_since_last_access_time_greater_thanand- tier_to_cool_after_days_since_creation_greater_thancan not be set at the same time.
- tierTo NumberCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- tierTo NumberCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
ManagementPolicyRuleActionsSnapshot, ManagementPolicyRuleActionsSnapshotArgs          
- ChangeTier intTo Archive After Days Since Creation 
- The age in days after creation to tier blob snapshot to archive storage. Must be between 0and99999. Defaults to-1.
- ChangeTier intTo Cool After Days Since Creation 
- The age in days after creation to tier blob snapshot to cool storage. Must be between 0and99999. Defaults to-1.
- DeleteAfter intDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- TierTo intCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- ChangeTier intTo Archive After Days Since Creation 
- The age in days after creation to tier blob snapshot to archive storage. Must be between 0and99999. Defaults to-1.
- ChangeTier intTo Cool After Days Since Creation 
- The age in days after creation to tier blob snapshot to cool storage. Must be between 0and99999. Defaults to-1.
- DeleteAfter intDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- TierTo intCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- changeTier IntegerTo Archive After Days Since Creation 
- The age in days after creation to tier blob snapshot to archive storage. Must be between 0and99999. Defaults to-1.
- changeTier IntegerTo Cool After Days Since Creation 
- The age in days after creation to tier blob snapshot to cool storage. Must be between 0and99999. Defaults to-1.
- deleteAfter IntegerDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot. Must be between 0and99999. Defaults to-1.
- tierTo IntegerArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tierTo IntegerCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- changeTier numberTo Archive After Days Since Creation 
- The age in days after creation to tier blob snapshot to archive storage. Must be between 0and99999. Defaults to-1.
- changeTier numberTo Cool After Days Since Creation 
- The age in days after creation to tier blob snapshot to cool storage. Must be between 0and99999. Defaults to-1.
- deleteAfter numberDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot. Must be between 0and99999. Defaults to-1.
- tierTo numberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tierTo numberCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- change_tier_ intto_ archive_ after_ days_ since_ creation 
- The age in days after creation to tier blob snapshot to archive storage. Must be between 0and99999. Defaults to-1.
- change_tier_ intto_ cool_ after_ days_ since_ creation 
- The age in days after creation to tier blob snapshot to cool storage. Must be between 0and99999. Defaults to-1.
- delete_after_ intdays_ since_ creation_ greater_ than 
- The age in days after creation to delete the blob snapshot. Must be between 0and99999. Defaults to-1.
- tier_to_ intarchive_ after_ days_ since_ last_ tier_ change_ greater_ than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tier_to_ intcold_ after_ days_ since_ creation_ greater_ than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- changeTier NumberTo Archive After Days Since Creation 
- The age in days after creation to tier blob snapshot to archive storage. Must be between 0and99999. Defaults to-1.
- changeTier NumberTo Cool After Days Since Creation 
- The age in days after creation to tier blob snapshot to cool storage. Must be between 0and99999. Defaults to-1.
- deleteAfter NumberDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot. Must be between 0and99999. Defaults to-1.
- tierTo NumberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tierTo NumberCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
ManagementPolicyRuleActionsVersion, ManagementPolicyRuleActionsVersionArgs          
- ChangeTier intTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage. Must be between 0and99999. Defaults to-1.
- ChangeTier intTo Cool After Days Since Creation 
- The age in days creation create to tier blob version to cool storage. Must be between 0and99999. Defaults to-1.
- DeleteAfter intDays Since Creation 
- The age in days after creation to delete the blob version. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- TierTo intCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- ChangeTier intTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage. Must be between 0and99999. Defaults to-1.
- ChangeTier intTo Cool After Days Since Creation 
- The age in days creation create to tier blob version to cool storage. Must be between 0and99999. Defaults to-1.
- DeleteAfter intDays Since Creation 
- The age in days after creation to delete the blob version. Must be between 0and99999. Defaults to-1.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- TierTo intCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- changeTier IntegerTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage. Must be between 0and99999. Defaults to-1.
- changeTier IntegerTo Cool After Days Since Creation 
- The age in days creation create to tier blob version to cool storage. Must be between 0and99999. Defaults to-1.
- deleteAfter IntegerDays Since Creation 
- The age in days after creation to delete the blob version. Must be between 0and99999. Defaults to-1.
- tierTo IntegerArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tierTo IntegerCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- changeTier numberTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage. Must be between 0and99999. Defaults to-1.
- changeTier numberTo Cool After Days Since Creation 
- The age in days creation create to tier blob version to cool storage. Must be between 0and99999. Defaults to-1.
- deleteAfter numberDays Since Creation 
- The age in days after creation to delete the blob version. Must be between 0and99999. Defaults to-1.
- tierTo numberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tierTo numberCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- change_tier_ intto_ archive_ after_ days_ since_ creation 
- The age in days after creation to tier blob version to archive storage. Must be between 0and99999. Defaults to-1.
- change_tier_ intto_ cool_ after_ days_ since_ creation 
- The age in days creation create to tier blob version to cool storage. Must be between 0and99999. Defaults to-1.
- delete_after_ intdays_ since_ creation 
- The age in days after creation to delete the blob version. Must be between 0and99999. Defaults to-1.
- tier_to_ intarchive_ after_ days_ since_ last_ tier_ change_ greater_ than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tier_to_ intcold_ after_ days_ since_ creation_ greater_ than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
- changeTier NumberTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage. Must be between 0and99999. Defaults to-1.
- changeTier NumberTo Cool After Days Since Creation 
- The age in days creation create to tier blob version to cool storage. Must be between 0and99999. Defaults to-1.
- deleteAfter NumberDays Since Creation 
- The age in days after creation to delete the blob version. Must be between 0and99999. Defaults to-1.
- tierTo NumberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archved. Must be between 0and99999. Defaults to-1.
- tierTo NumberCold After Days Since Creation Greater Than 
- The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between 0and99999. Defaults to-1.
ManagementPolicyRuleFilters, ManagementPolicyRuleFiltersArgs        
- BlobTypes List<string>
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
List<ManagementPolicy Rule Filters Match Blob Index Tag> 
- A - match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.- NOTE: The - match_blob_index_tagproperty requires enabling the- blobIndexfeature with PSH or CLI commands.
- PrefixMatches List<string>
- An array of strings for prefixes to be matched.
- BlobTypes []string
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
[]ManagementPolicy Rule Filters Match Blob Index Tag 
- A - match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.- NOTE: The - match_blob_index_tagproperty requires enabling the- blobIndexfeature with PSH or CLI commands.
- PrefixMatches []string
- An array of strings for prefixes to be matched.
- blobTypes List<String>
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
List<ManagementPolicy Rule Filters Match Blob Index Tag> 
- A - match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.- NOTE: The - match_blob_index_tagproperty requires enabling the- blobIndexfeature with PSH or CLI commands.
- prefixMatches List<String>
- An array of strings for prefixes to be matched.
- blobTypes string[]
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
ManagementPolicy Rule Filters Match Blob Index Tag[] 
- A - match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.- NOTE: The - match_blob_index_tagproperty requires enabling the- blobIndexfeature with PSH or CLI commands.
- prefixMatches string[]
- An array of strings for prefixes to be matched.
- blob_types Sequence[str]
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
Sequence[ManagementPolicy Rule Filters Match Blob Index Tag] 
- A - match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.- NOTE: The - match_blob_index_tagproperty requires enabling the- blobIndexfeature with PSH or CLI commands.
- prefix_matches Sequence[str]
- An array of strings for prefixes to be matched.
- blobTypes List<String>
- An array of predefined values. Valid options are blockBlobandappendBlob.
- List<Property Map>
- A - match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.- NOTE: The - match_blob_index_tagproperty requires enabling the- blobIndexfeature with PSH or CLI commands.
- prefixMatches List<String>
- An array of strings for prefixes to be matched.
ManagementPolicyRuleFiltersMatchBlobIndexTag, ManagementPolicyRuleFiltersMatchBlobIndexTagArgs                
Import
Storage Account Management Policies can be imported using the resource id, e.g.
$ pulumi import azure:storage/managementPolicy:ManagementPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Storage/storageAccounts/myaccountname/managementPolicies/default
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.