1. Packages
  2. Azure Native
  3. API Docs
  4. storage
  5. ManagementPolicy
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.storage.ManagementPolicy

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    The Get Storage Account ManagementPolicies operation response. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-02-01.

    Other available API versions: 2018-03-01-preview, 2023-01-01, 2023-04-01.

    Example Usage

    StorageAccountSetManagementPolicies

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
        {
            AccountName = "sto9699",
            ManagementPolicyName = "default",
            Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
            {
                Rules = new[]
                {
                    new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
                    {
                        Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
                        {
                            Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
                            {
                                BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 1000,
                                    },
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 90,
                                    },
                                    TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 30,
                                    },
                                },
                                Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                },
                            },
                            Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
                            {
                                BlobTypes = new[]
                                {
                                    "blockBlob",
                                },
                                PrefixMatch = new[]
                                {
                                    "olcmtestcontainer1",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "olcmtest1",
                        Type = AzureNative.Storage.RuleType.Lifecycle,
                    },
                    new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
                    {
                        Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
                        {
                            Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
                            {
                                BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 1000,
                                    },
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 90,
                                    },
                                    TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 30,
                                    },
                                },
                            },
                            Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
                            {
                                BlobIndexMatch = new[]
                                {
                                    new AzureNative.Storage.Inputs.TagFilterArgs
                                    {
                                        Name = "tag1",
                                        Op = "==",
                                        Value = "val1",
                                    },
                                    new AzureNative.Storage.Inputs.TagFilterArgs
                                    {
                                        Name = "tag2",
                                        Op = "==",
                                        Value = "val2",
                                    },
                                },
                                BlobTypes = new[]
                                {
                                    "blockBlob",
                                },
                                PrefixMatch = new[]
                                {
                                    "olcmtestcontainer2",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "olcmtest2",
                        Type = AzureNative.Storage.RuleType.Lifecycle,
                    },
                },
            },
            ResourceGroupName = "res7687",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storage.NewManagementPolicy(ctx, "managementPolicy", &storage.ManagementPolicyArgs{
    			AccountName:          pulumi.String("sto9699"),
    			ManagementPolicyName: pulumi.String("default"),
    			Policy: &storage.ManagementPolicySchemaArgs{
    				Rules: storage.ManagementPolicyRuleArray{
    					&storage.ManagementPolicyRuleArgs{
    						Definition: &storage.ManagementPolicyDefinitionArgs{
    							Actions: &storage.ManagementPolicyActionArgs{
    								BaseBlob: &storage.ManagementPolicyBaseBlobArgs{
    									Delete: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(1000),
    									},
    									TierToArchive: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(90),
    									},
    									TierToCool: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(30),
    									},
    								},
    								Snapshot: &storage.ManagementPolicySnapShotArgs{
    									Delete: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    								},
    							},
    							Filters: &storage.ManagementPolicyFilterArgs{
    								BlobTypes: pulumi.StringArray{
    									pulumi.String("blockBlob"),
    								},
    								PrefixMatch: pulumi.StringArray{
    									pulumi.String("olcmtestcontainer1"),
    								},
    							},
    						},
    						Enabled: pulumi.Bool(true),
    						Name:    pulumi.String("olcmtest1"),
    						Type:    pulumi.String(storage.RuleTypeLifecycle),
    					},
    					&storage.ManagementPolicyRuleArgs{
    						Definition: &storage.ManagementPolicyDefinitionArgs{
    							Actions: &storage.ManagementPolicyActionArgs{
    								BaseBlob: &storage.ManagementPolicyBaseBlobArgs{
    									Delete: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(1000),
    									},
    									TierToArchive: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(90),
    									},
    									TierToCool: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(30),
    									},
    								},
    							},
    							Filters: &storage.ManagementPolicyFilterArgs{
    								BlobIndexMatch: storage.TagFilterArray{
    									&storage.TagFilterArgs{
    										Name:  pulumi.String("tag1"),
    										Op:    pulumi.String("=="),
    										Value: pulumi.String("val1"),
    									},
    									&storage.TagFilterArgs{
    										Name:  pulumi.String("tag2"),
    										Op:    pulumi.String("=="),
    										Value: pulumi.String("val2"),
    									},
    								},
    								BlobTypes: pulumi.StringArray{
    									pulumi.String("blockBlob"),
    								},
    								PrefixMatch: pulumi.StringArray{
    									pulumi.String("olcmtestcontainer2"),
    								},
    							},
    						},
    						Enabled: pulumi.Bool(true),
    						Name:    pulumi.String("olcmtest2"),
    						Type:    pulumi.String(storage.RuleTypeLifecycle),
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("res7687"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storage.ManagementPolicy;
    import com.pulumi.azurenative.storage.ManagementPolicyArgs;
    import com.pulumi.azurenative.storage.inputs.ManagementPolicySchemaArgs;
    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 managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()        
                .accountName("sto9699")
                .managementPolicyName("default")
                .policy(ManagementPolicySchemaArgs.builder()
                    .rules(                
                        ManagementPolicyRuleArgs.builder()
                            .definition(ManagementPolicyDefinitionArgs.builder()
                                .actions(ManagementPolicyActionArgs.builder()
                                    .baseBlob(ManagementPolicyBaseBlobArgs.builder()
                                        .delete(DateAfterModificationArgs.builder()
                                            .daysAfterModificationGreaterThan(1000)
                                            .build())
                                        .tierToArchive(DateAfterModificationArgs.builder()
                                            .daysAfterModificationGreaterThan(90)
                                            .build())
                                        .tierToCool(DateAfterModificationArgs.builder()
                                            .daysAfterModificationGreaterThan(30)
                                            .build())
                                        .build())
                                    .snapshot(ManagementPolicySnapShotArgs.builder()
                                        .delete(DateAfterCreationArgs.builder()
                                            .daysAfterCreationGreaterThan(30)
                                            .build())
                                        .build())
                                    .build())
                                .filters(ManagementPolicyFilterArgs.builder()
                                    .blobTypes("blockBlob")
                                    .prefixMatch("olcmtestcontainer1")
                                    .build())
                                .build())
                            .enabled(true)
                            .name("olcmtest1")
                            .type("Lifecycle")
                            .build(),
                        ManagementPolicyRuleArgs.builder()
                            .definition(ManagementPolicyDefinitionArgs.builder()
                                .actions(ManagementPolicyActionArgs.builder()
                                    .baseBlob(ManagementPolicyBaseBlobArgs.builder()
                                        .delete(DateAfterModificationArgs.builder()
                                            .daysAfterModificationGreaterThan(1000)
                                            .build())
                                        .tierToArchive(DateAfterModificationArgs.builder()
                                            .daysAfterModificationGreaterThan(90)
                                            .build())
                                        .tierToCool(DateAfterModificationArgs.builder()
                                            .daysAfterModificationGreaterThan(30)
                                            .build())
                                        .build())
                                    .build())
                                .filters(ManagementPolicyFilterArgs.builder()
                                    .blobIndexMatch(                                
                                        TagFilterArgs.builder()
                                            .name("tag1")
                                            .op("==")
                                            .value("val1")
                                            .build(),
                                        TagFilterArgs.builder()
                                            .name("tag2")
                                            .op("==")
                                            .value("val2")
                                            .build())
                                    .blobTypes("blockBlob")
                                    .prefixMatch("olcmtestcontainer2")
                                    .build())
                                .build())
                            .enabled(true)
                            .name("olcmtest2")
                            .type("Lifecycle")
                            .build())
                    .build())
                .resourceGroupName("res7687")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
        account_name="sto9699",
        management_policy_name="default",
        policy=azure_native.storage.ManagementPolicySchemaArgs(
            rules=[
                azure_native.storage.ManagementPolicyRuleArgs(
                    definition=azure_native.storage.ManagementPolicyDefinitionArgs(
                        actions=azure_native.storage.ManagementPolicyActionArgs(
                            base_blob=azure_native.storage.ManagementPolicyBaseBlobArgs(
                                delete=azure_native.storage.DateAfterModificationArgs(
                                    days_after_modification_greater_than=1000,
                                ),
                                tier_to_archive=azure_native.storage.DateAfterModificationArgs(
                                    days_after_modification_greater_than=90,
                                ),
                                tier_to_cool=azure_native.storage.DateAfterModificationArgs(
                                    days_after_modification_greater_than=30,
                                ),
                            ),
                            snapshot=azure_native.storage.ManagementPolicySnapShotArgs(
                                delete=azure_native.storage.DateAfterCreationArgs(
                                    days_after_creation_greater_than=30,
                                ),
                            ),
                        ),
                        filters=azure_native.storage.ManagementPolicyFilterArgs(
                            blob_types=["blockBlob"],
                            prefix_match=["olcmtestcontainer1"],
                        ),
                    ),
                    enabled=True,
                    name="olcmtest1",
                    type=azure_native.storage.RuleType.LIFECYCLE,
                ),
                azure_native.storage.ManagementPolicyRuleArgs(
                    definition=azure_native.storage.ManagementPolicyDefinitionArgs(
                        actions=azure_native.storage.ManagementPolicyActionArgs(
                            base_blob=azure_native.storage.ManagementPolicyBaseBlobArgs(
                                delete=azure_native.storage.DateAfterModificationArgs(
                                    days_after_modification_greater_than=1000,
                                ),
                                tier_to_archive=azure_native.storage.DateAfterModificationArgs(
                                    days_after_modification_greater_than=90,
                                ),
                                tier_to_cool=azure_native.storage.DateAfterModificationArgs(
                                    days_after_modification_greater_than=30,
                                ),
                            ),
                        ),
                        filters=azure_native.storage.ManagementPolicyFilterArgs(
                            blob_index_match=[
                                azure_native.storage.TagFilterArgs(
                                    name="tag1",
                                    op="==",
                                    value="val1",
                                ),
                                azure_native.storage.TagFilterArgs(
                                    name="tag2",
                                    op="==",
                                    value="val2",
                                ),
                            ],
                            blob_types=["blockBlob"],
                            prefix_match=["olcmtestcontainer2"],
                        ),
                    ),
                    enabled=True,
                    name="olcmtest2",
                    type=azure_native.storage.RuleType.LIFECYCLE,
                ),
            ],
        ),
        resource_group_name="res7687")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
        accountName: "sto9699",
        managementPolicyName: "default",
        policy: {
            rules: [
                {
                    definition: {
                        actions: {
                            baseBlob: {
                                "delete": {
                                    daysAfterModificationGreaterThan: 1000,
                                },
                                tierToArchive: {
                                    daysAfterModificationGreaterThan: 90,
                                },
                                tierToCool: {
                                    daysAfterModificationGreaterThan: 30,
                                },
                            },
                            snapshot: {
                                "delete": {
                                    daysAfterCreationGreaterThan: 30,
                                },
                            },
                        },
                        filters: {
                            blobTypes: ["blockBlob"],
                            prefixMatch: ["olcmtestcontainer1"],
                        },
                    },
                    enabled: true,
                    name: "olcmtest1",
                    type: azure_native.storage.RuleType.Lifecycle,
                },
                {
                    definition: {
                        actions: {
                            baseBlob: {
                                "delete": {
                                    daysAfterModificationGreaterThan: 1000,
                                },
                                tierToArchive: {
                                    daysAfterModificationGreaterThan: 90,
                                },
                                tierToCool: {
                                    daysAfterModificationGreaterThan: 30,
                                },
                            },
                        },
                        filters: {
                            blobIndexMatch: [
                                {
                                    name: "tag1",
                                    op: "==",
                                    value: "val1",
                                },
                                {
                                    name: "tag2",
                                    op: "==",
                                    value: "val2",
                                },
                            ],
                            blobTypes: ["blockBlob"],
                            prefixMatch: ["olcmtestcontainer2"],
                        },
                    },
                    enabled: true,
                    name: "olcmtest2",
                    type: azure_native.storage.RuleType.Lifecycle,
                },
            ],
        },
        resourceGroupName: "res7687",
    });
    
    resources:
      managementPolicy:
        type: azure-native:storage:ManagementPolicy
        properties:
          accountName: sto9699
          managementPolicyName: default
          policy:
            rules:
              - definition:
                  actions:
                    baseBlob:
                      delete:
                        daysAfterModificationGreaterThan: 1000
                      tierToArchive:
                        daysAfterModificationGreaterThan: 90
                      tierToCool:
                        daysAfterModificationGreaterThan: 30
                    snapshot:
                      delete:
                        daysAfterCreationGreaterThan: 30
                  filters:
                    blobTypes:
                      - blockBlob
                    prefixMatch:
                      - olcmtestcontainer1
                enabled: true
                name: olcmtest1
                type: Lifecycle
              - definition:
                  actions:
                    baseBlob:
                      delete:
                        daysAfterModificationGreaterThan: 1000
                      tierToArchive:
                        daysAfterModificationGreaterThan: 90
                      tierToCool:
                        daysAfterModificationGreaterThan: 30
                  filters:
                    blobIndexMatch:
                      - name: tag1
                        op: ==
                        value: val1
                      - name: tag2
                        op: ==
                        value: val2
                    blobTypes:
                      - blockBlob
                    prefixMatch:
                      - olcmtestcontainer2
                enabled: true
                name: olcmtest2
                type: Lifecycle
          resourceGroupName: res7687
    

    StorageAccountSetManagementPolicyColdTierActions

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
        {
            AccountName = "sto9699",
            ManagementPolicyName = "default",
            Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
            {
                Rules = new[]
                {
                    new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
                    {
                        Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
                        {
                            Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
                            {
                                BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 1000,
                                    },
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 90,
                                    },
                                    TierToCold = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 30,
                                    },
                                    TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 30,
                                    },
                                },
                                Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                    TierToCold = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                },
                                Version = new AzureNative.Storage.Inputs.ManagementPolicyVersionArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                    TierToCold = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                },
                            },
                            Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
                            {
                                BlobTypes = new[]
                                {
                                    "blockBlob",
                                },
                                PrefixMatch = new[]
                                {
                                    "olcmtestcontainer1",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "olcmtest1",
                        Type = AzureNative.Storage.RuleType.Lifecycle,
                    },
                },
            },
            ResourceGroupName = "res7687",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storage.NewManagementPolicy(ctx, "managementPolicy", &storage.ManagementPolicyArgs{
    			AccountName:          pulumi.String("sto9699"),
    			ManagementPolicyName: pulumi.String("default"),
    			Policy: &storage.ManagementPolicySchemaArgs{
    				Rules: storage.ManagementPolicyRuleArray{
    					&storage.ManagementPolicyRuleArgs{
    						Definition: &storage.ManagementPolicyDefinitionArgs{
    							Actions: &storage.ManagementPolicyActionArgs{
    								BaseBlob: &storage.ManagementPolicyBaseBlobArgs{
    									Delete: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(1000),
    									},
    									TierToArchive: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(90),
    									},
    									TierToCold: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(30),
    									},
    									TierToCool: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(30),
    									},
    								},
    								Snapshot: &storage.ManagementPolicySnapShotArgs{
    									Delete: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    									TierToCold: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    								},
    								Version: &storage.ManagementPolicyVersionArgs{
    									Delete: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    									TierToCold: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    								},
    							},
    							Filters: &storage.ManagementPolicyFilterArgs{
    								BlobTypes: pulumi.StringArray{
    									pulumi.String("blockBlob"),
    								},
    								PrefixMatch: pulumi.StringArray{
    									pulumi.String("olcmtestcontainer1"),
    								},
    							},
    						},
    						Enabled: pulumi.Bool(true),
    						Name:    pulumi.String("olcmtest1"),
    						Type:    pulumi.String(storage.RuleTypeLifecycle),
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("res7687"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storage.ManagementPolicy;
    import com.pulumi.azurenative.storage.ManagementPolicyArgs;
    import com.pulumi.azurenative.storage.inputs.ManagementPolicySchemaArgs;
    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 managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()        
                .accountName("sto9699")
                .managementPolicyName("default")
                .policy(ManagementPolicySchemaArgs.builder()
                    .rules(ManagementPolicyRuleArgs.builder()
                        .definition(ManagementPolicyDefinitionArgs.builder()
                            .actions(ManagementPolicyActionArgs.builder()
                                .baseBlob(ManagementPolicyBaseBlobArgs.builder()
                                    .delete(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(1000)
                                        .build())
                                    .tierToArchive(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(90)
                                        .build())
                                    .tierToCold(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(30)
                                        .build())
                                    .tierToCool(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(30)
                                        .build())
                                    .build())
                                .snapshot(ManagementPolicySnapShotArgs.builder()
                                    .delete(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .tierToCold(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .build())
                                .version(ManagementPolicyVersionArgs.builder()
                                    .delete(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .tierToCold(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .build())
                                .build())
                            .filters(ManagementPolicyFilterArgs.builder()
                                .blobTypes("blockBlob")
                                .prefixMatch("olcmtestcontainer1")
                                .build())
                            .build())
                        .enabled(true)
                        .name("olcmtest1")
                        .type("Lifecycle")
                        .build())
                    .build())
                .resourceGroupName("res7687")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
        account_name="sto9699",
        management_policy_name="default",
        policy=azure_native.storage.ManagementPolicySchemaArgs(
            rules=[azure_native.storage.ManagementPolicyRuleArgs(
                definition=azure_native.storage.ManagementPolicyDefinitionArgs(
                    actions=azure_native.storage.ManagementPolicyActionArgs(
                        base_blob=azure_native.storage.ManagementPolicyBaseBlobArgs(
                            delete=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=1000,
                            ),
                            tier_to_archive=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=90,
                            ),
                            tier_to_cold=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=30,
                            ),
                            tier_to_cool=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=30,
                            ),
                        ),
                        snapshot=azure_native.storage.ManagementPolicySnapShotArgs(
                            delete=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                            ),
                            tier_to_cold=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                            ),
                        ),
                        version=azure_native.storage.ManagementPolicyVersionArgs(
                            delete=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                            ),
                            tier_to_cold=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                            ),
                        ),
                    ),
                    filters=azure_native.storage.ManagementPolicyFilterArgs(
                        blob_types=["blockBlob"],
                        prefix_match=["olcmtestcontainer1"],
                    ),
                ),
                enabled=True,
                name="olcmtest1",
                type=azure_native.storage.RuleType.LIFECYCLE,
            )],
        ),
        resource_group_name="res7687")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
        accountName: "sto9699",
        managementPolicyName: "default",
        policy: {
            rules: [{
                definition: {
                    actions: {
                        baseBlob: {
                            "delete": {
                                daysAfterModificationGreaterThan: 1000,
                            },
                            tierToArchive: {
                                daysAfterModificationGreaterThan: 90,
                            },
                            tierToCold: {
                                daysAfterModificationGreaterThan: 30,
                            },
                            tierToCool: {
                                daysAfterModificationGreaterThan: 30,
                            },
                        },
                        snapshot: {
                            "delete": {
                                daysAfterCreationGreaterThan: 30,
                            },
                            tierToCold: {
                                daysAfterCreationGreaterThan: 30,
                            },
                        },
                        version: {
                            "delete": {
                                daysAfterCreationGreaterThan: 30,
                            },
                            tierToCold: {
                                daysAfterCreationGreaterThan: 30,
                            },
                        },
                    },
                    filters: {
                        blobTypes: ["blockBlob"],
                        prefixMatch: ["olcmtestcontainer1"],
                    },
                },
                enabled: true,
                name: "olcmtest1",
                type: azure_native.storage.RuleType.Lifecycle,
            }],
        },
        resourceGroupName: "res7687",
    });
    
    resources:
      managementPolicy:
        type: azure-native:storage:ManagementPolicy
        properties:
          accountName: sto9699
          managementPolicyName: default
          policy:
            rules:
              - definition:
                  actions:
                    baseBlob:
                      delete:
                        daysAfterModificationGreaterThan: 1000
                      tierToArchive:
                        daysAfterModificationGreaterThan: 90
                      tierToCold:
                        daysAfterModificationGreaterThan: 30
                      tierToCool:
                        daysAfterModificationGreaterThan: 30
                    snapshot:
                      delete:
                        daysAfterCreationGreaterThan: 30
                      tierToCold:
                        daysAfterCreationGreaterThan: 30
                    version:
                      delete:
                        daysAfterCreationGreaterThan: 30
                      tierToCold:
                        daysAfterCreationGreaterThan: 30
                  filters:
                    blobTypes:
                      - blockBlob
                    prefixMatch:
                      - olcmtestcontainer1
                enabled: true
                name: olcmtest1
                type: Lifecycle
          resourceGroupName: res7687
    

    StorageAccountSetManagementPolicyForBlockAndAppendBlobs

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
        {
            AccountName = "sto9699",
            ManagementPolicyName = "default",
            Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
            {
                Rules = new[]
                {
                    new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
                    {
                        Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
                        {
                            Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
                            {
                                BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 90,
                                    },
                                },
                                Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 90,
                                    },
                                },
                                Version = new AzureNative.Storage.Inputs.ManagementPolicyVersionArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 90,
                                    },
                                },
                            },
                            Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
                            {
                                BlobTypes = new[]
                                {
                                    "blockBlob",
                                    "appendBlob",
                                },
                                PrefixMatch = new[]
                                {
                                    "olcmtestcontainer1",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "olcmtest1",
                        Type = AzureNative.Storage.RuleType.Lifecycle,
                    },
                },
            },
            ResourceGroupName = "res7687",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storage.NewManagementPolicy(ctx, "managementPolicy", &storage.ManagementPolicyArgs{
    			AccountName:          pulumi.String("sto9699"),
    			ManagementPolicyName: pulumi.String("default"),
    			Policy: &storage.ManagementPolicySchemaArgs{
    				Rules: storage.ManagementPolicyRuleArray{
    					&storage.ManagementPolicyRuleArgs{
    						Definition: &storage.ManagementPolicyDefinitionArgs{
    							Actions: &storage.ManagementPolicyActionArgs{
    								BaseBlob: &storage.ManagementPolicyBaseBlobArgs{
    									Delete: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(90),
    									},
    								},
    								Snapshot: &storage.ManagementPolicySnapShotArgs{
    									Delete: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(90),
    									},
    								},
    								Version: &storage.ManagementPolicyVersionArgs{
    									Delete: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(90),
    									},
    								},
    							},
    							Filters: &storage.ManagementPolicyFilterArgs{
    								BlobTypes: pulumi.StringArray{
    									pulumi.String("blockBlob"),
    									pulumi.String("appendBlob"),
    								},
    								PrefixMatch: pulumi.StringArray{
    									pulumi.String("olcmtestcontainer1"),
    								},
    							},
    						},
    						Enabled: pulumi.Bool(true),
    						Name:    pulumi.String("olcmtest1"),
    						Type:    pulumi.String(storage.RuleTypeLifecycle),
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("res7687"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storage.ManagementPolicy;
    import com.pulumi.azurenative.storage.ManagementPolicyArgs;
    import com.pulumi.azurenative.storage.inputs.ManagementPolicySchemaArgs;
    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 managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()        
                .accountName("sto9699")
                .managementPolicyName("default")
                .policy(ManagementPolicySchemaArgs.builder()
                    .rules(ManagementPolicyRuleArgs.builder()
                        .definition(ManagementPolicyDefinitionArgs.builder()
                            .actions(ManagementPolicyActionArgs.builder()
                                .baseBlob(ManagementPolicyBaseBlobArgs.builder()
                                    .delete(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(90)
                                        .build())
                                    .build())
                                .snapshot(ManagementPolicySnapShotArgs.builder()
                                    .delete(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(90)
                                        .build())
                                    .build())
                                .version(ManagementPolicyVersionArgs.builder()
                                    .delete(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(90)
                                        .build())
                                    .build())
                                .build())
                            .filters(ManagementPolicyFilterArgs.builder()
                                .blobTypes(                            
                                    "blockBlob",
                                    "appendBlob")
                                .prefixMatch("olcmtestcontainer1")
                                .build())
                            .build())
                        .enabled(true)
                        .name("olcmtest1")
                        .type("Lifecycle")
                        .build())
                    .build())
                .resourceGroupName("res7687")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
        account_name="sto9699",
        management_policy_name="default",
        policy=azure_native.storage.ManagementPolicySchemaArgs(
            rules=[azure_native.storage.ManagementPolicyRuleArgs(
                definition=azure_native.storage.ManagementPolicyDefinitionArgs(
                    actions=azure_native.storage.ManagementPolicyActionArgs(
                        base_blob=azure_native.storage.ManagementPolicyBaseBlobArgs(
                            delete=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=90,
                            ),
                        ),
                        snapshot=azure_native.storage.ManagementPolicySnapShotArgs(
                            delete=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=90,
                            ),
                        ),
                        version=azure_native.storage.ManagementPolicyVersionArgs(
                            delete=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=90,
                            ),
                        ),
                    ),
                    filters=azure_native.storage.ManagementPolicyFilterArgs(
                        blob_types=[
                            "blockBlob",
                            "appendBlob",
                        ],
                        prefix_match=["olcmtestcontainer1"],
                    ),
                ),
                enabled=True,
                name="olcmtest1",
                type=azure_native.storage.RuleType.LIFECYCLE,
            )],
        ),
        resource_group_name="res7687")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
        accountName: "sto9699",
        managementPolicyName: "default",
        policy: {
            rules: [{
                definition: {
                    actions: {
                        baseBlob: {
                            "delete": {
                                daysAfterModificationGreaterThan: 90,
                            },
                        },
                        snapshot: {
                            "delete": {
                                daysAfterCreationGreaterThan: 90,
                            },
                        },
                        version: {
                            "delete": {
                                daysAfterCreationGreaterThan: 90,
                            },
                        },
                    },
                    filters: {
                        blobTypes: [
                            "blockBlob",
                            "appendBlob",
                        ],
                        prefixMatch: ["olcmtestcontainer1"],
                    },
                },
                enabled: true,
                name: "olcmtest1",
                type: azure_native.storage.RuleType.Lifecycle,
            }],
        },
        resourceGroupName: "res7687",
    });
    
    resources:
      managementPolicy:
        type: azure-native:storage:ManagementPolicy
        properties:
          accountName: sto9699
          managementPolicyName: default
          policy:
            rules:
              - definition:
                  actions:
                    baseBlob:
                      delete:
                        daysAfterModificationGreaterThan: 90
                    snapshot:
                      delete:
                        daysAfterCreationGreaterThan: 90
                    version:
                      delete:
                        daysAfterCreationGreaterThan: 90
                  filters:
                    blobTypes:
                      - blockBlob
                      - appendBlob
                    prefixMatch:
                      - olcmtestcontainer1
                enabled: true
                name: olcmtest1
                type: Lifecycle
          resourceGroupName: res7687
    

    StorageAccountSetManagementPolicyHotTierActions

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
        {
            AccountName = "sto9699",
            ManagementPolicyName = "default",
            Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
            {
                Rules = new[]
                {
                    new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
                    {
                        Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
                        {
                            Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
                            {
                                BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
                                {
                                    TierToHot = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 30,
                                    },
                                },
                                Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
                                {
                                    TierToHot = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                },
                                Version = new AzureNative.Storage.Inputs.ManagementPolicyVersionArgs
                                {
                                    TierToHot = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                },
                            },
                            Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
                            {
                                BlobTypes = new[]
                                {
                                    "blockBlob",
                                },
                                PrefixMatch = new[]
                                {
                                    "olcmtestcontainer1",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "olcmtest1",
                        Type = AzureNative.Storage.RuleType.Lifecycle,
                    },
                },
            },
            ResourceGroupName = "res7687",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storage.NewManagementPolicy(ctx, "managementPolicy", &storage.ManagementPolicyArgs{
    			AccountName:          pulumi.String("sto9699"),
    			ManagementPolicyName: pulumi.String("default"),
    			Policy: &storage.ManagementPolicySchemaArgs{
    				Rules: storage.ManagementPolicyRuleArray{
    					&storage.ManagementPolicyRuleArgs{
    						Definition: &storage.ManagementPolicyDefinitionArgs{
    							Actions: &storage.ManagementPolicyActionArgs{
    								BaseBlob: &storage.ManagementPolicyBaseBlobArgs{
    									TierToHot: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(30),
    									},
    								},
    								Snapshot: &storage.ManagementPolicySnapShotArgs{
    									TierToHot: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    								},
    								Version: &storage.ManagementPolicyVersionArgs{
    									TierToHot: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    								},
    							},
    							Filters: &storage.ManagementPolicyFilterArgs{
    								BlobTypes: pulumi.StringArray{
    									pulumi.String("blockBlob"),
    								},
    								PrefixMatch: pulumi.StringArray{
    									pulumi.String("olcmtestcontainer1"),
    								},
    							},
    						},
    						Enabled: pulumi.Bool(true),
    						Name:    pulumi.String("olcmtest1"),
    						Type:    pulumi.String(storage.RuleTypeLifecycle),
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("res7687"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storage.ManagementPolicy;
    import com.pulumi.azurenative.storage.ManagementPolicyArgs;
    import com.pulumi.azurenative.storage.inputs.ManagementPolicySchemaArgs;
    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 managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()        
                .accountName("sto9699")
                .managementPolicyName("default")
                .policy(ManagementPolicySchemaArgs.builder()
                    .rules(ManagementPolicyRuleArgs.builder()
                        .definition(ManagementPolicyDefinitionArgs.builder()
                            .actions(ManagementPolicyActionArgs.builder()
                                .baseBlob(ManagementPolicyBaseBlobArgs.builder()
                                    .tierToHot(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(30)
                                        .build())
                                    .build())
                                .snapshot(ManagementPolicySnapShotArgs.builder()
                                    .tierToHot(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .build())
                                .version(ManagementPolicyVersionArgs.builder()
                                    .tierToHot(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .build())
                                .build())
                            .filters(ManagementPolicyFilterArgs.builder()
                                .blobTypes("blockBlob")
                                .prefixMatch("olcmtestcontainer1")
                                .build())
                            .build())
                        .enabled(true)
                        .name("olcmtest1")
                        .type("Lifecycle")
                        .build())
                    .build())
                .resourceGroupName("res7687")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
        account_name="sto9699",
        management_policy_name="default",
        policy=azure_native.storage.ManagementPolicySchemaArgs(
            rules=[azure_native.storage.ManagementPolicyRuleArgs(
                definition=azure_native.storage.ManagementPolicyDefinitionArgs(
                    actions=azure_native.storage.ManagementPolicyActionArgs(
                        base_blob=azure_native.storage.ManagementPolicyBaseBlobArgs(
                            tier_to_hot=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=30,
                            ),
                        ),
                        snapshot=azure_native.storage.ManagementPolicySnapShotArgs(
                            tier_to_hot=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                            ),
                        ),
                        version=azure_native.storage.ManagementPolicyVersionArgs(
                            tier_to_hot=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                            ),
                        ),
                    ),
                    filters=azure_native.storage.ManagementPolicyFilterArgs(
                        blob_types=["blockBlob"],
                        prefix_match=["olcmtestcontainer1"],
                    ),
                ),
                enabled=True,
                name="olcmtest1",
                type=azure_native.storage.RuleType.LIFECYCLE,
            )],
        ),
        resource_group_name="res7687")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
        accountName: "sto9699",
        managementPolicyName: "default",
        policy: {
            rules: [{
                definition: {
                    actions: {
                        baseBlob: {
                            tierToHot: {
                                daysAfterModificationGreaterThan: 30,
                            },
                        },
                        snapshot: {
                            tierToHot: {
                                daysAfterCreationGreaterThan: 30,
                            },
                        },
                        version: {
                            tierToHot: {
                                daysAfterCreationGreaterThan: 30,
                            },
                        },
                    },
                    filters: {
                        blobTypes: ["blockBlob"],
                        prefixMatch: ["olcmtestcontainer1"],
                    },
                },
                enabled: true,
                name: "olcmtest1",
                type: azure_native.storage.RuleType.Lifecycle,
            }],
        },
        resourceGroupName: "res7687",
    });
    
    resources:
      managementPolicy:
        type: azure-native:storage:ManagementPolicy
        properties:
          accountName: sto9699
          managementPolicyName: default
          policy:
            rules:
              - definition:
                  actions:
                    baseBlob:
                      tierToHot:
                        daysAfterModificationGreaterThan: 30
                    snapshot:
                      tierToHot:
                        daysAfterCreationGreaterThan: 30
                    version:
                      tierToHot:
                        daysAfterCreationGreaterThan: 30
                  filters:
                    blobTypes:
                      - blockBlob
                    prefixMatch:
                      - olcmtestcontainer1
                enabled: true
                name: olcmtest1
                type: Lifecycle
          resourceGroupName: res7687
    

    StorageAccountSetManagementPolicyWithSnapshotAndVersion

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
        {
            AccountName = "sto9699",
            ManagementPolicyName = "default",
            Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
            {
                Rules = new[]
                {
                    new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
                    {
                        Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
                        {
                            Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
                            {
                                BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 1000,
                                    },
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 90,
                                    },
                                    TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 30,
                                    },
                                },
                                Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 1000,
                                    },
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 90,
                                    },
                                    TierToCool = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                },
                                Version = new AzureNative.Storage.Inputs.ManagementPolicyVersionArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 1000,
                                    },
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 90,
                                    },
                                    TierToCool = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                },
                            },
                            Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
                            {
                                BlobTypes = new[]
                                {
                                    "blockBlob",
                                },
                                PrefixMatch = new[]
                                {
                                    "olcmtestcontainer1",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "olcmtest1",
                        Type = AzureNative.Storage.RuleType.Lifecycle,
                    },
                },
            },
            ResourceGroupName = "res7687",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storage.NewManagementPolicy(ctx, "managementPolicy", &storage.ManagementPolicyArgs{
    			AccountName:          pulumi.String("sto9699"),
    			ManagementPolicyName: pulumi.String("default"),
    			Policy: &storage.ManagementPolicySchemaArgs{
    				Rules: storage.ManagementPolicyRuleArray{
    					&storage.ManagementPolicyRuleArgs{
    						Definition: &storage.ManagementPolicyDefinitionArgs{
    							Actions: &storage.ManagementPolicyActionArgs{
    								BaseBlob: &storage.ManagementPolicyBaseBlobArgs{
    									Delete: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(1000),
    									},
    									TierToArchive: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(90),
    									},
    									TierToCool: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(30),
    									},
    								},
    								Snapshot: &storage.ManagementPolicySnapShotArgs{
    									Delete: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(1000),
    									},
    									TierToArchive: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(90),
    									},
    									TierToCool: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    								},
    								Version: &storage.ManagementPolicyVersionArgs{
    									Delete: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(1000),
    									},
    									TierToArchive: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(90),
    									},
    									TierToCool: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    								},
    							},
    							Filters: &storage.ManagementPolicyFilterArgs{
    								BlobTypes: pulumi.StringArray{
    									pulumi.String("blockBlob"),
    								},
    								PrefixMatch: pulumi.StringArray{
    									pulumi.String("olcmtestcontainer1"),
    								},
    							},
    						},
    						Enabled: pulumi.Bool(true),
    						Name:    pulumi.String("olcmtest1"),
    						Type:    pulumi.String(storage.RuleTypeLifecycle),
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("res7687"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storage.ManagementPolicy;
    import com.pulumi.azurenative.storage.ManagementPolicyArgs;
    import com.pulumi.azurenative.storage.inputs.ManagementPolicySchemaArgs;
    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 managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()        
                .accountName("sto9699")
                .managementPolicyName("default")
                .policy(ManagementPolicySchemaArgs.builder()
                    .rules(ManagementPolicyRuleArgs.builder()
                        .definition(ManagementPolicyDefinitionArgs.builder()
                            .actions(ManagementPolicyActionArgs.builder()
                                .baseBlob(ManagementPolicyBaseBlobArgs.builder()
                                    .delete(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(1000)
                                        .build())
                                    .tierToArchive(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(90)
                                        .build())
                                    .tierToCool(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(30)
                                        .build())
                                    .build())
                                .snapshot(ManagementPolicySnapShotArgs.builder()
                                    .delete(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(1000)
                                        .build())
                                    .tierToArchive(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(90)
                                        .build())
                                    .tierToCool(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .build())
                                .version(ManagementPolicyVersionArgs.builder()
                                    .delete(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(1000)
                                        .build())
                                    .tierToArchive(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(90)
                                        .build())
                                    .tierToCool(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .build())
                                .build())
                            .filters(ManagementPolicyFilterArgs.builder()
                                .blobTypes("blockBlob")
                                .prefixMatch("olcmtestcontainer1")
                                .build())
                            .build())
                        .enabled(true)
                        .name("olcmtest1")
                        .type("Lifecycle")
                        .build())
                    .build())
                .resourceGroupName("res7687")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
        account_name="sto9699",
        management_policy_name="default",
        policy=azure_native.storage.ManagementPolicySchemaArgs(
            rules=[azure_native.storage.ManagementPolicyRuleArgs(
                definition=azure_native.storage.ManagementPolicyDefinitionArgs(
                    actions=azure_native.storage.ManagementPolicyActionArgs(
                        base_blob=azure_native.storage.ManagementPolicyBaseBlobArgs(
                            delete=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=1000,
                            ),
                            tier_to_archive=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=90,
                            ),
                            tier_to_cool=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=30,
                            ),
                        ),
                        snapshot=azure_native.storage.ManagementPolicySnapShotArgs(
                            delete=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=1000,
                            ),
                            tier_to_archive=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=90,
                            ),
                            tier_to_cool=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                            ),
                        ),
                        version=azure_native.storage.ManagementPolicyVersionArgs(
                            delete=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=1000,
                            ),
                            tier_to_archive=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=90,
                            ),
                            tier_to_cool=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                            ),
                        ),
                    ),
                    filters=azure_native.storage.ManagementPolicyFilterArgs(
                        blob_types=["blockBlob"],
                        prefix_match=["olcmtestcontainer1"],
                    ),
                ),
                enabled=True,
                name="olcmtest1",
                type=azure_native.storage.RuleType.LIFECYCLE,
            )],
        ),
        resource_group_name="res7687")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
        accountName: "sto9699",
        managementPolicyName: "default",
        policy: {
            rules: [{
                definition: {
                    actions: {
                        baseBlob: {
                            "delete": {
                                daysAfterModificationGreaterThan: 1000,
                            },
                            tierToArchive: {
                                daysAfterModificationGreaterThan: 90,
                            },
                            tierToCool: {
                                daysAfterModificationGreaterThan: 30,
                            },
                        },
                        snapshot: {
                            "delete": {
                                daysAfterCreationGreaterThan: 1000,
                            },
                            tierToArchive: {
                                daysAfterCreationGreaterThan: 90,
                            },
                            tierToCool: {
                                daysAfterCreationGreaterThan: 30,
                            },
                        },
                        version: {
                            "delete": {
                                daysAfterCreationGreaterThan: 1000,
                            },
                            tierToArchive: {
                                daysAfterCreationGreaterThan: 90,
                            },
                            tierToCool: {
                                daysAfterCreationGreaterThan: 30,
                            },
                        },
                    },
                    filters: {
                        blobTypes: ["blockBlob"],
                        prefixMatch: ["olcmtestcontainer1"],
                    },
                },
                enabled: true,
                name: "olcmtest1",
                type: azure_native.storage.RuleType.Lifecycle,
            }],
        },
        resourceGroupName: "res7687",
    });
    
    resources:
      managementPolicy:
        type: azure-native:storage:ManagementPolicy
        properties:
          accountName: sto9699
          managementPolicyName: default
          policy:
            rules:
              - definition:
                  actions:
                    baseBlob:
                      delete:
                        daysAfterModificationGreaterThan: 1000
                      tierToArchive:
                        daysAfterModificationGreaterThan: 90
                      tierToCool:
                        daysAfterModificationGreaterThan: 30
                    snapshot:
                      delete:
                        daysAfterCreationGreaterThan: 1000
                      tierToArchive:
                        daysAfterCreationGreaterThan: 90
                      tierToCool:
                        daysAfterCreationGreaterThan: 30
                    version:
                      delete:
                        daysAfterCreationGreaterThan: 1000
                      tierToArchive:
                        daysAfterCreationGreaterThan: 90
                      tierToCool:
                        daysAfterCreationGreaterThan: 30
                  filters:
                    blobTypes:
                      - blockBlob
                    prefixMatch:
                      - olcmtestcontainer1
                enabled: true
                name: olcmtest1
                type: Lifecycle
          resourceGroupName: res7687
    

    StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
        {
            AccountName = "sto9699",
            ManagementPolicyName = "default",
            Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
            {
                Rules = new[]
                {
                    new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
                    {
                        Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
                        {
                            Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
                            {
                                BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 1000,
                                    },
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 90,
                                    },
                                    TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                },
                            },
                            Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
                            {
                                BlobTypes = new[]
                                {
                                    "blockBlob",
                                },
                                PrefixMatch = new[]
                                {
                                    "olcmtestcontainer1",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "olcmtest1",
                        Type = AzureNative.Storage.RuleType.Lifecycle,
                    },
                },
            },
            ResourceGroupName = "res7687",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storage.NewManagementPolicy(ctx, "managementPolicy", &storage.ManagementPolicyArgs{
    			AccountName:          pulumi.String("sto9699"),
    			ManagementPolicyName: pulumi.String("default"),
    			Policy: &storage.ManagementPolicySchemaArgs{
    				Rules: storage.ManagementPolicyRuleArray{
    					&storage.ManagementPolicyRuleArgs{
    						Definition: &storage.ManagementPolicyDefinitionArgs{
    							Actions: &storage.ManagementPolicyActionArgs{
    								BaseBlob: &storage.ManagementPolicyBaseBlobArgs{
    									Delete: &storage.DateAfterModificationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(1000),
    									},
    									TierToArchive: &storage.DateAfterModificationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(90),
    									},
    									TierToCool: &storage.DateAfterModificationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    								},
    							},
    							Filters: &storage.ManagementPolicyFilterArgs{
    								BlobTypes: pulumi.StringArray{
    									pulumi.String("blockBlob"),
    								},
    								PrefixMatch: pulumi.StringArray{
    									pulumi.String("olcmtestcontainer1"),
    								},
    							},
    						},
    						Enabled: pulumi.Bool(true),
    						Name:    pulumi.String("olcmtest1"),
    						Type:    pulumi.String(storage.RuleTypeLifecycle),
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("res7687"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storage.ManagementPolicy;
    import com.pulumi.azurenative.storage.ManagementPolicyArgs;
    import com.pulumi.azurenative.storage.inputs.ManagementPolicySchemaArgs;
    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 managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()        
                .accountName("sto9699")
                .managementPolicyName("default")
                .policy(ManagementPolicySchemaArgs.builder()
                    .rules(ManagementPolicyRuleArgs.builder()
                        .definition(ManagementPolicyDefinitionArgs.builder()
                            .actions(ManagementPolicyActionArgs.builder()
                                .baseBlob(ManagementPolicyBaseBlobArgs.builder()
                                    .delete(DateAfterModificationArgs.builder()
                                        .daysAfterCreationGreaterThan(1000)
                                        .build())
                                    .tierToArchive(DateAfterModificationArgs.builder()
                                        .daysAfterCreationGreaterThan(90)
                                        .build())
                                    .tierToCool(DateAfterModificationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .build())
                                .build())
                            .filters(ManagementPolicyFilterArgs.builder()
                                .blobTypes("blockBlob")
                                .prefixMatch("olcmtestcontainer1")
                                .build())
                            .build())
                        .enabled(true)
                        .name("olcmtest1")
                        .type("Lifecycle")
                        .build())
                    .build())
                .resourceGroupName("res7687")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
        account_name="sto9699",
        management_policy_name="default",
        policy=azure_native.storage.ManagementPolicySchemaArgs(
            rules=[azure_native.storage.ManagementPolicyRuleArgs(
                definition=azure_native.storage.ManagementPolicyDefinitionArgs(
                    actions=azure_native.storage.ManagementPolicyActionArgs(
                        base_blob=azure_native.storage.ManagementPolicyBaseBlobArgs(
                            delete=azure_native.storage.DateAfterModificationArgs(
                                days_after_creation_greater_than=1000,
                            ),
                            tier_to_archive=azure_native.storage.DateAfterModificationArgs(
                                days_after_creation_greater_than=90,
                            ),
                            tier_to_cool=azure_native.storage.DateAfterModificationArgs(
                                days_after_creation_greater_than=30,
                            ),
                        ),
                    ),
                    filters=azure_native.storage.ManagementPolicyFilterArgs(
                        blob_types=["blockBlob"],
                        prefix_match=["olcmtestcontainer1"],
                    ),
                ),
                enabled=True,
                name="olcmtest1",
                type=azure_native.storage.RuleType.LIFECYCLE,
            )],
        ),
        resource_group_name="res7687")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
        accountName: "sto9699",
        managementPolicyName: "default",
        policy: {
            rules: [{
                definition: {
                    actions: {
                        baseBlob: {
                            "delete": {
                                daysAfterCreationGreaterThan: 1000,
                            },
                            tierToArchive: {
                                daysAfterCreationGreaterThan: 90,
                            },
                            tierToCool: {
                                daysAfterCreationGreaterThan: 30,
                            },
                        },
                    },
                    filters: {
                        blobTypes: ["blockBlob"],
                        prefixMatch: ["olcmtestcontainer1"],
                    },
                },
                enabled: true,
                name: "olcmtest1",
                type: azure_native.storage.RuleType.Lifecycle,
            }],
        },
        resourceGroupName: "res7687",
    });
    
    resources:
      managementPolicy:
        type: azure-native:storage:ManagementPolicy
        properties:
          accountName: sto9699
          managementPolicyName: default
          policy:
            rules:
              - definition:
                  actions:
                    baseBlob:
                      delete:
                        daysAfterCreationGreaterThan: 1000
                      tierToArchive:
                        daysAfterCreationGreaterThan: 90
                      tierToCool:
                        daysAfterCreationGreaterThan: 30
                  filters:
                    blobTypes:
                      - blockBlob
                    prefixMatch:
                      - olcmtestcontainer1
                enabled: true
                name: olcmtest1
                type: Lifecycle
          resourceGroupName: res7687
    

    StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
        {
            AccountName = "sto9699",
            ManagementPolicyName = "default",
            Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
            {
                Rules = new[]
                {
                    new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
                    {
                        Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
                        {
                            Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
                            {
                                BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterLastAccessTimeGreaterThan = 1000,
                                    },
                                    EnableAutoTierToHotFromCool = true,
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterLastAccessTimeGreaterThan = 90,
                                    },
                                    TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterLastAccessTimeGreaterThan = 30,
                                    },
                                },
                                Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                    },
                                },
                            },
                            Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
                            {
                                BlobTypes = new[]
                                {
                                    "blockBlob",
                                },
                                PrefixMatch = new[]
                                {
                                    "olcmtestcontainer",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "olcmtest",
                        Type = AzureNative.Storage.RuleType.Lifecycle,
                    },
                },
            },
            ResourceGroupName = "res7687",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storage.NewManagementPolicy(ctx, "managementPolicy", &storage.ManagementPolicyArgs{
    			AccountName:          pulumi.String("sto9699"),
    			ManagementPolicyName: pulumi.String("default"),
    			Policy: &storage.ManagementPolicySchemaArgs{
    				Rules: storage.ManagementPolicyRuleArray{
    					&storage.ManagementPolicyRuleArgs{
    						Definition: &storage.ManagementPolicyDefinitionArgs{
    							Actions: &storage.ManagementPolicyActionArgs{
    								BaseBlob: &storage.ManagementPolicyBaseBlobArgs{
    									Delete: &storage.DateAfterModificationArgs{
    										DaysAfterLastAccessTimeGreaterThan: pulumi.Float64(1000),
    									},
    									EnableAutoTierToHotFromCool: pulumi.Bool(true),
    									TierToArchive: &storage.DateAfterModificationArgs{
    										DaysAfterLastAccessTimeGreaterThan: pulumi.Float64(90),
    									},
    									TierToCool: &storage.DateAfterModificationArgs{
    										DaysAfterLastAccessTimeGreaterThan: pulumi.Float64(30),
    									},
    								},
    								Snapshot: &storage.ManagementPolicySnapShotArgs{
    									Delete: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan: pulumi.Float64(30),
    									},
    								},
    							},
    							Filters: &storage.ManagementPolicyFilterArgs{
    								BlobTypes: pulumi.StringArray{
    									pulumi.String("blockBlob"),
    								},
    								PrefixMatch: pulumi.StringArray{
    									pulumi.String("olcmtestcontainer"),
    								},
    							},
    						},
    						Enabled: pulumi.Bool(true),
    						Name:    pulumi.String("olcmtest"),
    						Type:    pulumi.String(storage.RuleTypeLifecycle),
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("res7687"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storage.ManagementPolicy;
    import com.pulumi.azurenative.storage.ManagementPolicyArgs;
    import com.pulumi.azurenative.storage.inputs.ManagementPolicySchemaArgs;
    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 managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()        
                .accountName("sto9699")
                .managementPolicyName("default")
                .policy(ManagementPolicySchemaArgs.builder()
                    .rules(ManagementPolicyRuleArgs.builder()
                        .definition(ManagementPolicyDefinitionArgs.builder()
                            .actions(ManagementPolicyActionArgs.builder()
                                .baseBlob(ManagementPolicyBaseBlobArgs.builder()
                                    .delete(DateAfterModificationArgs.builder()
                                        .daysAfterLastAccessTimeGreaterThan(1000)
                                        .build())
                                    .enableAutoTierToHotFromCool(true)
                                    .tierToArchive(DateAfterModificationArgs.builder()
                                        .daysAfterLastAccessTimeGreaterThan(90)
                                        .build())
                                    .tierToCool(DateAfterModificationArgs.builder()
                                        .daysAfterLastAccessTimeGreaterThan(30)
                                        .build())
                                    .build())
                                .snapshot(ManagementPolicySnapShotArgs.builder()
                                    .delete(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .build())
                                    .build())
                                .build())
                            .filters(ManagementPolicyFilterArgs.builder()
                                .blobTypes("blockBlob")
                                .prefixMatch("olcmtestcontainer")
                                .build())
                            .build())
                        .enabled(true)
                        .name("olcmtest")
                        .type("Lifecycle")
                        .build())
                    .build())
                .resourceGroupName("res7687")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
        account_name="sto9699",
        management_policy_name="default",
        policy=azure_native.storage.ManagementPolicySchemaArgs(
            rules=[azure_native.storage.ManagementPolicyRuleArgs(
                definition=azure_native.storage.ManagementPolicyDefinitionArgs(
                    actions=azure_native.storage.ManagementPolicyActionArgs(
                        base_blob=azure_native.storage.ManagementPolicyBaseBlobArgs(
                            delete=azure_native.storage.DateAfterModificationArgs(
                                days_after_last_access_time_greater_than=1000,
                            ),
                            enable_auto_tier_to_hot_from_cool=True,
                            tier_to_archive=azure_native.storage.DateAfterModificationArgs(
                                days_after_last_access_time_greater_than=90,
                            ),
                            tier_to_cool=azure_native.storage.DateAfterModificationArgs(
                                days_after_last_access_time_greater_than=30,
                            ),
                        ),
                        snapshot=azure_native.storage.ManagementPolicySnapShotArgs(
                            delete=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                            ),
                        ),
                    ),
                    filters=azure_native.storage.ManagementPolicyFilterArgs(
                        blob_types=["blockBlob"],
                        prefix_match=["olcmtestcontainer"],
                    ),
                ),
                enabled=True,
                name="olcmtest",
                type=azure_native.storage.RuleType.LIFECYCLE,
            )],
        ),
        resource_group_name="res7687")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
        accountName: "sto9699",
        managementPolicyName: "default",
        policy: {
            rules: [{
                definition: {
                    actions: {
                        baseBlob: {
                            "delete": {
                                daysAfterLastAccessTimeGreaterThan: 1000,
                            },
                            enableAutoTierToHotFromCool: true,
                            tierToArchive: {
                                daysAfterLastAccessTimeGreaterThan: 90,
                            },
                            tierToCool: {
                                daysAfterLastAccessTimeGreaterThan: 30,
                            },
                        },
                        snapshot: {
                            "delete": {
                                daysAfterCreationGreaterThan: 30,
                            },
                        },
                    },
                    filters: {
                        blobTypes: ["blockBlob"],
                        prefixMatch: ["olcmtestcontainer"],
                    },
                },
                enabled: true,
                name: "olcmtest",
                type: azure_native.storage.RuleType.Lifecycle,
            }],
        },
        resourceGroupName: "res7687",
    });
    
    resources:
      managementPolicy:
        type: azure-native:storage:ManagementPolicy
        properties:
          accountName: sto9699
          managementPolicyName: default
          policy:
            rules:
              - definition:
                  actions:
                    baseBlob:
                      delete:
                        daysAfterLastAccessTimeGreaterThan: 1000
                      enableAutoTierToHotFromCool: true
                      tierToArchive:
                        daysAfterLastAccessTimeGreaterThan: 90
                      tierToCool:
                        daysAfterLastAccessTimeGreaterThan: 30
                    snapshot:
                      delete:
                        daysAfterCreationGreaterThan: 30
                  filters:
                    blobTypes:
                      - blockBlob
                    prefixMatch:
                      - olcmtestcontainer
                enabled: true
                name: olcmtest
                type: Lifecycle
          resourceGroupName: res7687
    

    StorageAccountSetManagementPolicy_LastTierChangeTimeActions

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
        {
            AccountName = "sto9699",
            ManagementPolicyName = "default",
            Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
            {
                Rules = new[]
                {
                    new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
                    {
                        Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
                        {
                            Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
                            {
                                BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
                                {
                                    Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 1000,
                                    },
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterLastTierChangeGreaterThan = 120,
                                        DaysAfterModificationGreaterThan = 90,
                                    },
                                    TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
                                    {
                                        DaysAfterModificationGreaterThan = 30,
                                    },
                                },
                                Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
                                {
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                        DaysAfterLastTierChangeGreaterThan = 90,
                                    },
                                },
                                Version = new AzureNative.Storage.Inputs.ManagementPolicyVersionArgs
                                {
                                    TierToArchive = new AzureNative.Storage.Inputs.DateAfterCreationArgs
                                    {
                                        DaysAfterCreationGreaterThan = 30,
                                        DaysAfterLastTierChangeGreaterThan = 90,
                                    },
                                },
                            },
                            Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
                            {
                                BlobTypes = new[]
                                {
                                    "blockBlob",
                                },
                                PrefixMatch = new[]
                                {
                                    "olcmtestcontainer",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "olcmtest",
                        Type = AzureNative.Storage.RuleType.Lifecycle,
                    },
                },
            },
            ResourceGroupName = "res7687",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storage.NewManagementPolicy(ctx, "managementPolicy", &storage.ManagementPolicyArgs{
    			AccountName:          pulumi.String("sto9699"),
    			ManagementPolicyName: pulumi.String("default"),
    			Policy: &storage.ManagementPolicySchemaArgs{
    				Rules: storage.ManagementPolicyRuleArray{
    					&storage.ManagementPolicyRuleArgs{
    						Definition: &storage.ManagementPolicyDefinitionArgs{
    							Actions: &storage.ManagementPolicyActionArgs{
    								BaseBlob: &storage.ManagementPolicyBaseBlobArgs{
    									Delete: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(1000),
    									},
    									TierToArchive: &storage.DateAfterModificationArgs{
    										DaysAfterLastTierChangeGreaterThan: pulumi.Float64(120),
    										DaysAfterModificationGreaterThan:   pulumi.Float64(90),
    									},
    									TierToCool: &storage.DateAfterModificationArgs{
    										DaysAfterModificationGreaterThan: pulumi.Float64(30),
    									},
    								},
    								Snapshot: &storage.ManagementPolicySnapShotArgs{
    									TierToArchive: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan:       pulumi.Float64(30),
    										DaysAfterLastTierChangeGreaterThan: pulumi.Float64(90),
    									},
    								},
    								Version: &storage.ManagementPolicyVersionArgs{
    									TierToArchive: &storage.DateAfterCreationArgs{
    										DaysAfterCreationGreaterThan:       pulumi.Float64(30),
    										DaysAfterLastTierChangeGreaterThan: pulumi.Float64(90),
    									},
    								},
    							},
    							Filters: &storage.ManagementPolicyFilterArgs{
    								BlobTypes: pulumi.StringArray{
    									pulumi.String("blockBlob"),
    								},
    								PrefixMatch: pulumi.StringArray{
    									pulumi.String("olcmtestcontainer"),
    								},
    							},
    						},
    						Enabled: pulumi.Bool(true),
    						Name:    pulumi.String("olcmtest"),
    						Type:    pulumi.String(storage.RuleTypeLifecycle),
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("res7687"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storage.ManagementPolicy;
    import com.pulumi.azurenative.storage.ManagementPolicyArgs;
    import com.pulumi.azurenative.storage.inputs.ManagementPolicySchemaArgs;
    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 managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()        
                .accountName("sto9699")
                .managementPolicyName("default")
                .policy(ManagementPolicySchemaArgs.builder()
                    .rules(ManagementPolicyRuleArgs.builder()
                        .definition(ManagementPolicyDefinitionArgs.builder()
                            .actions(ManagementPolicyActionArgs.builder()
                                .baseBlob(ManagementPolicyBaseBlobArgs.builder()
                                    .delete(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(1000)
                                        .build())
                                    .tierToArchive(DateAfterModificationArgs.builder()
                                        .daysAfterLastTierChangeGreaterThan(120)
                                        .daysAfterModificationGreaterThan(90)
                                        .build())
                                    .tierToCool(DateAfterModificationArgs.builder()
                                        .daysAfterModificationGreaterThan(30)
                                        .build())
                                    .build())
                                .snapshot(ManagementPolicySnapShotArgs.builder()
                                    .tierToArchive(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .daysAfterLastTierChangeGreaterThan(90)
                                        .build())
                                    .build())
                                .version(ManagementPolicyVersionArgs.builder()
                                    .tierToArchive(DateAfterCreationArgs.builder()
                                        .daysAfterCreationGreaterThan(30)
                                        .daysAfterLastTierChangeGreaterThan(90)
                                        .build())
                                    .build())
                                .build())
                            .filters(ManagementPolicyFilterArgs.builder()
                                .blobTypes("blockBlob")
                                .prefixMatch("olcmtestcontainer")
                                .build())
                            .build())
                        .enabled(true)
                        .name("olcmtest")
                        .type("Lifecycle")
                        .build())
                    .build())
                .resourceGroupName("res7687")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
        account_name="sto9699",
        management_policy_name="default",
        policy=azure_native.storage.ManagementPolicySchemaArgs(
            rules=[azure_native.storage.ManagementPolicyRuleArgs(
                definition=azure_native.storage.ManagementPolicyDefinitionArgs(
                    actions=azure_native.storage.ManagementPolicyActionArgs(
                        base_blob=azure_native.storage.ManagementPolicyBaseBlobArgs(
                            delete=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=1000,
                            ),
                            tier_to_archive=azure_native.storage.DateAfterModificationArgs(
                                days_after_last_tier_change_greater_than=120,
                                days_after_modification_greater_than=90,
                            ),
                            tier_to_cool=azure_native.storage.DateAfterModificationArgs(
                                days_after_modification_greater_than=30,
                            ),
                        ),
                        snapshot=azure_native.storage.ManagementPolicySnapShotArgs(
                            tier_to_archive=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                                days_after_last_tier_change_greater_than=90,
                            ),
                        ),
                        version=azure_native.storage.ManagementPolicyVersionArgs(
                            tier_to_archive=azure_native.storage.DateAfterCreationArgs(
                                days_after_creation_greater_than=30,
                                days_after_last_tier_change_greater_than=90,
                            ),
                        ),
                    ),
                    filters=azure_native.storage.ManagementPolicyFilterArgs(
                        blob_types=["blockBlob"],
                        prefix_match=["olcmtestcontainer"],
                    ),
                ),
                enabled=True,
                name="olcmtest",
                type=azure_native.storage.RuleType.LIFECYCLE,
            )],
        ),
        resource_group_name="res7687")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
        accountName: "sto9699",
        managementPolicyName: "default",
        policy: {
            rules: [{
                definition: {
                    actions: {
                        baseBlob: {
                            "delete": {
                                daysAfterModificationGreaterThan: 1000,
                            },
                            tierToArchive: {
                                daysAfterLastTierChangeGreaterThan: 120,
                                daysAfterModificationGreaterThan: 90,
                            },
                            tierToCool: {
                                daysAfterModificationGreaterThan: 30,
                            },
                        },
                        snapshot: {
                            tierToArchive: {
                                daysAfterCreationGreaterThan: 30,
                                daysAfterLastTierChangeGreaterThan: 90,
                            },
                        },
                        version: {
                            tierToArchive: {
                                daysAfterCreationGreaterThan: 30,
                                daysAfterLastTierChangeGreaterThan: 90,
                            },
                        },
                    },
                    filters: {
                        blobTypes: ["blockBlob"],
                        prefixMatch: ["olcmtestcontainer"],
                    },
                },
                enabled: true,
                name: "olcmtest",
                type: azure_native.storage.RuleType.Lifecycle,
            }],
        },
        resourceGroupName: "res7687",
    });
    
    resources:
      managementPolicy:
        type: azure-native:storage:ManagementPolicy
        properties:
          accountName: sto9699
          managementPolicyName: default
          policy:
            rules:
              - definition:
                  actions:
                    baseBlob:
                      delete:
                        daysAfterModificationGreaterThan: 1000
                      tierToArchive:
                        daysAfterLastTierChangeGreaterThan: 120
                        daysAfterModificationGreaterThan: 90
                      tierToCool:
                        daysAfterModificationGreaterThan: 30
                    snapshot:
                      tierToArchive:
                        daysAfterCreationGreaterThan: 30
                        daysAfterLastTierChangeGreaterThan: 90
                    version:
                      tierToArchive:
                        daysAfterCreationGreaterThan: 30
                        daysAfterLastTierChangeGreaterThan: 90
                  filters:
                    blobTypes:
                      - blockBlob
                    prefixMatch:
                      - olcmtestcontainer
                enabled: true
                name: olcmtest
                type: Lifecycle
          resourceGroupName: res7687
    

    Create ManagementPolicy Resource

    new ManagementPolicy(name: string, args: ManagementPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementPolicy(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         account_name: Optional[str] = None,
                         management_policy_name: Optional[str] = None,
                         policy: Optional[ManagementPolicySchemaArgs] = None,
                         resource_group_name: Optional[str] = None)
    @overload
    def ManagementPolicy(resource_name: str,
                         args: ManagementPolicyArgs,
                         opts: Optional[ResourceOptions] = 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-native:storage:ManagementPolicy
    properties: # The arguments to resource properties.
    options: # 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.
    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.

    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

    The ManagementPolicy resource accepts the following input properties:

    AccountName string
    The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
    Policy Pulumi.AzureNative.Storage.Inputs.ManagementPolicySchema
    The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    ManagementPolicyName string
    The name of the Storage Account Management Policy. It should always be 'default'
    AccountName string
    The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
    Policy ManagementPolicySchemaArgs
    The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    ManagementPolicyName string
    The name of the Storage Account Management Policy. It should always be 'default'
    accountName String
    The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
    policy ManagementPolicySchema
    The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    managementPolicyName String
    The name of the Storage Account Management Policy. It should always be 'default'
    accountName string
    The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
    policy ManagementPolicySchema
    The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    resourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    managementPolicyName string
    The name of the Storage Account Management Policy. It should always be 'default'
    account_name str
    The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
    policy ManagementPolicySchemaArgs
    The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    resource_group_name str
    The name of the resource group within the user's subscription. The name is case insensitive.
    management_policy_name str
    The name of the Storage Account Management Policy. It should always be 'default'
    accountName String
    The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
    policy Property Map
    The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    managementPolicyName String
    The name of the Storage Account Management Policy. It should always be 'default'

    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.
    LastModifiedTime string
    Returns the date and time the ManagementPolicies was last modified.
    Name string
    The name of the resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    Returns the date and time the ManagementPolicies was last modified.
    Name string
    The name of the resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    Returns the date and time the ManagementPolicies was last modified.
    name String
    The name of the resource
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime string
    Returns the date and time the ManagementPolicies was last modified.
    name string
    The name of the resource
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_time str
    Returns the date and time the ManagementPolicies was last modified.
    name str
    The name of the resource
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    Returns the date and time the ManagementPolicies was last modified.
    name String
    The name of the resource
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    DateAfterCreation, DateAfterCreationArgs

    DaysAfterCreationGreaterThan double
    Value indicating the age in days after creation
    DaysAfterLastTierChangeGreaterThan double
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    DaysAfterCreationGreaterThan float64
    Value indicating the age in days after creation
    DaysAfterLastTierChangeGreaterThan float64
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterCreationGreaterThan Double
    Value indicating the age in days after creation
    daysAfterLastTierChangeGreaterThan Double
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterCreationGreaterThan number
    Value indicating the age in days after creation
    daysAfterLastTierChangeGreaterThan number
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    days_after_creation_greater_than float
    Value indicating the age in days after creation
    days_after_last_tier_change_greater_than float
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterCreationGreaterThan Number
    Value indicating the age in days after creation
    daysAfterLastTierChangeGreaterThan Number
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.

    DateAfterCreationResponse, DateAfterCreationResponseArgs

    DaysAfterCreationGreaterThan double
    Value indicating the age in days after creation
    DaysAfterLastTierChangeGreaterThan double
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    DaysAfterCreationGreaterThan float64
    Value indicating the age in days after creation
    DaysAfterLastTierChangeGreaterThan float64
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterCreationGreaterThan Double
    Value indicating the age in days after creation
    daysAfterLastTierChangeGreaterThan Double
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterCreationGreaterThan number
    Value indicating the age in days after creation
    daysAfterLastTierChangeGreaterThan number
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    days_after_creation_greater_than float
    Value indicating the age in days after creation
    days_after_last_tier_change_greater_than float
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterCreationGreaterThan Number
    Value indicating the age in days after creation
    daysAfterLastTierChangeGreaterThan Number
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.

    DateAfterModification, DateAfterModificationArgs

    DaysAfterCreationGreaterThan double
    Value indicating the age in days after blob creation.
    DaysAfterLastAccessTimeGreaterThan double
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    DaysAfterLastTierChangeGreaterThan double
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    DaysAfterModificationGreaterThan double
    Value indicating the age in days after last modification
    DaysAfterCreationGreaterThan float64
    Value indicating the age in days after blob creation.
    DaysAfterLastAccessTimeGreaterThan float64
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    DaysAfterLastTierChangeGreaterThan float64
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    DaysAfterModificationGreaterThan float64
    Value indicating the age in days after last modification
    daysAfterCreationGreaterThan Double
    Value indicating the age in days after blob creation.
    daysAfterLastAccessTimeGreaterThan Double
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    daysAfterLastTierChangeGreaterThan Double
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterModificationGreaterThan Double
    Value indicating the age in days after last modification
    daysAfterCreationGreaterThan number
    Value indicating the age in days after blob creation.
    daysAfterLastAccessTimeGreaterThan number
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    daysAfterLastTierChangeGreaterThan number
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterModificationGreaterThan number
    Value indicating the age in days after last modification
    days_after_creation_greater_than float
    Value indicating the age in days after blob creation.
    days_after_last_access_time_greater_than float
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    days_after_last_tier_change_greater_than float
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    days_after_modification_greater_than float
    Value indicating the age in days after last modification
    daysAfterCreationGreaterThan Number
    Value indicating the age in days after blob creation.
    daysAfterLastAccessTimeGreaterThan Number
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    daysAfterLastTierChangeGreaterThan Number
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterModificationGreaterThan Number
    Value indicating the age in days after last modification

    DateAfterModificationResponse, DateAfterModificationResponseArgs

    DaysAfterCreationGreaterThan double
    Value indicating the age in days after blob creation.
    DaysAfterLastAccessTimeGreaterThan double
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    DaysAfterLastTierChangeGreaterThan double
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    DaysAfterModificationGreaterThan double
    Value indicating the age in days after last modification
    DaysAfterCreationGreaterThan float64
    Value indicating the age in days after blob creation.
    DaysAfterLastAccessTimeGreaterThan float64
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    DaysAfterLastTierChangeGreaterThan float64
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    DaysAfterModificationGreaterThan float64
    Value indicating the age in days after last modification
    daysAfterCreationGreaterThan Double
    Value indicating the age in days after blob creation.
    daysAfterLastAccessTimeGreaterThan Double
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    daysAfterLastTierChangeGreaterThan Double
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterModificationGreaterThan Double
    Value indicating the age in days after last modification
    daysAfterCreationGreaterThan number
    Value indicating the age in days after blob creation.
    daysAfterLastAccessTimeGreaterThan number
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    daysAfterLastTierChangeGreaterThan number
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterModificationGreaterThan number
    Value indicating the age in days after last modification
    days_after_creation_greater_than float
    Value indicating the age in days after blob creation.
    days_after_last_access_time_greater_than float
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    days_after_last_tier_change_greater_than float
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    days_after_modification_greater_than float
    Value indicating the age in days after last modification
    daysAfterCreationGreaterThan Number
    Value indicating the age in days after blob creation.
    daysAfterLastAccessTimeGreaterThan Number
    Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
    daysAfterLastTierChangeGreaterThan Number
    Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
    daysAfterModificationGreaterThan Number
    Value indicating the age in days after last modification

    ManagementPolicyAction, ManagementPolicyActionArgs

    BaseBlob ManagementPolicyBaseBlob
    The management policy action for base blob
    Snapshot ManagementPolicySnapShot
    The management policy action for snapshot
    Version ManagementPolicyVersion
    The management policy action for version
    baseBlob ManagementPolicyBaseBlob
    The management policy action for base blob
    snapshot ManagementPolicySnapShot
    The management policy action for snapshot
    version ManagementPolicyVersion
    The management policy action for version
    baseBlob ManagementPolicyBaseBlob
    The management policy action for base blob
    snapshot ManagementPolicySnapShot
    The management policy action for snapshot
    version ManagementPolicyVersion
    The management policy action for version
    base_blob ManagementPolicyBaseBlob
    The management policy action for base blob
    snapshot ManagementPolicySnapShot
    The management policy action for snapshot
    version ManagementPolicyVersion
    The management policy action for version
    baseBlob Property Map
    The management policy action for base blob
    snapshot Property Map
    The management policy action for snapshot
    version Property Map
    The management policy action for version

    ManagementPolicyActionResponse, ManagementPolicyActionResponseArgs

    BaseBlob ManagementPolicyBaseBlobResponse
    The management policy action for base blob
    Snapshot ManagementPolicySnapShotResponse
    The management policy action for snapshot
    Version ManagementPolicyVersionResponse
    The management policy action for version
    baseBlob ManagementPolicyBaseBlobResponse
    The management policy action for base blob
    snapshot ManagementPolicySnapShotResponse
    The management policy action for snapshot
    version ManagementPolicyVersionResponse
    The management policy action for version
    baseBlob ManagementPolicyBaseBlobResponse
    The management policy action for base blob
    snapshot ManagementPolicySnapShotResponse
    The management policy action for snapshot
    version ManagementPolicyVersionResponse
    The management policy action for version
    base_blob ManagementPolicyBaseBlobResponse
    The management policy action for base blob
    snapshot ManagementPolicySnapShotResponse
    The management policy action for snapshot
    version ManagementPolicyVersionResponse
    The management policy action for version
    baseBlob Property Map
    The management policy action for base blob
    snapshot Property Map
    The management policy action for snapshot
    version Property Map
    The management policy action for version

    ManagementPolicyBaseBlob, ManagementPolicyBaseBlobArgs

    Delete Pulumi.AzureNative.Storage.Inputs.DateAfterModification
    The function to delete the blob
    EnableAutoTierToHotFromCool bool
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    TierToArchive Pulumi.AzureNative.Storage.Inputs.DateAfterModification
    The function to tier blobs to archive storage.
    TierToCold Pulumi.AzureNative.Storage.Inputs.DateAfterModification
    The function to tier blobs to cold storage.
    TierToCool Pulumi.AzureNative.Storage.Inputs.DateAfterModification
    The function to tier blobs to cool storage.
    TierToHot Pulumi.AzureNative.Storage.Inputs.DateAfterModification
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    Delete DateAfterModification
    The function to delete the blob
    EnableAutoTierToHotFromCool bool
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    TierToArchive DateAfterModification
    The function to tier blobs to archive storage.
    TierToCold DateAfterModification
    The function to tier blobs to cold storage.
    TierToCool DateAfterModification
    The function to tier blobs to cool storage.
    TierToHot DateAfterModification
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterModification
    The function to delete the blob
    enableAutoTierToHotFromCool Boolean
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    tierToArchive DateAfterModification
    The function to tier blobs to archive storage.
    tierToCold DateAfterModification
    The function to tier blobs to cold storage.
    tierToCool DateAfterModification
    The function to tier blobs to cool storage.
    tierToHot DateAfterModification
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterModification
    The function to delete the blob
    enableAutoTierToHotFromCool boolean
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    tierToArchive DateAfterModification
    The function to tier blobs to archive storage.
    tierToCold DateAfterModification
    The function to tier blobs to cold storage.
    tierToCool DateAfterModification
    The function to tier blobs to cool storage.
    tierToHot DateAfterModification
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterModification
    The function to delete the blob
    enable_auto_tier_to_hot_from_cool bool
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    tier_to_archive DateAfterModification
    The function to tier blobs to archive storage.
    tier_to_cold DateAfterModification
    The function to tier blobs to cold storage.
    tier_to_cool DateAfterModification
    The function to tier blobs to cool storage.
    tier_to_hot DateAfterModification
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete Property Map
    The function to delete the blob
    enableAutoTierToHotFromCool Boolean
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    tierToArchive Property Map
    The function to tier blobs to archive storage.
    tierToCold Property Map
    The function to tier blobs to cold storage.
    tierToCool Property Map
    The function to tier blobs to cool storage.
    tierToHot Property Map
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts

    ManagementPolicyBaseBlobResponse, ManagementPolicyBaseBlobResponseArgs

    Delete Pulumi.AzureNative.Storage.Inputs.DateAfterModificationResponse
    The function to delete the blob
    EnableAutoTierToHotFromCool bool
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    TierToArchive Pulumi.AzureNative.Storage.Inputs.DateAfterModificationResponse
    The function to tier blobs to archive storage.
    TierToCold Pulumi.AzureNative.Storage.Inputs.DateAfterModificationResponse
    The function to tier blobs to cold storage.
    TierToCool Pulumi.AzureNative.Storage.Inputs.DateAfterModificationResponse
    The function to tier blobs to cool storage.
    TierToHot Pulumi.AzureNative.Storage.Inputs.DateAfterModificationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    Delete DateAfterModificationResponse
    The function to delete the blob
    EnableAutoTierToHotFromCool bool
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    TierToArchive DateAfterModificationResponse
    The function to tier blobs to archive storage.
    TierToCold DateAfterModificationResponse
    The function to tier blobs to cold storage.
    TierToCool DateAfterModificationResponse
    The function to tier blobs to cool storage.
    TierToHot DateAfterModificationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterModificationResponse
    The function to delete the blob
    enableAutoTierToHotFromCool Boolean
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    tierToArchive DateAfterModificationResponse
    The function to tier blobs to archive storage.
    tierToCold DateAfterModificationResponse
    The function to tier blobs to cold storage.
    tierToCool DateAfterModificationResponse
    The function to tier blobs to cool storage.
    tierToHot DateAfterModificationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterModificationResponse
    The function to delete the blob
    enableAutoTierToHotFromCool boolean
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    tierToArchive DateAfterModificationResponse
    The function to tier blobs to archive storage.
    tierToCold DateAfterModificationResponse
    The function to tier blobs to cold storage.
    tierToCool DateAfterModificationResponse
    The function to tier blobs to cool storage.
    tierToHot DateAfterModificationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterModificationResponse
    The function to delete the blob
    enable_auto_tier_to_hot_from_cool bool
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    tier_to_archive DateAfterModificationResponse
    The function to tier blobs to archive storage.
    tier_to_cold DateAfterModificationResponse
    The function to tier blobs to cold storage.
    tier_to_cool DateAfterModificationResponse
    The function to tier blobs to cool storage.
    tier_to_hot DateAfterModificationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete Property Map
    The function to delete the blob
    enableAutoTierToHotFromCool Boolean
    This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
    tierToArchive Property Map
    The function to tier blobs to archive storage.
    tierToCold Property Map
    The function to tier blobs to cold storage.
    tierToCool Property Map
    The function to tier blobs to cool storage.
    tierToHot Property Map
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts

    ManagementPolicyDefinition, ManagementPolicyDefinitionArgs

    Actions ManagementPolicyAction
    An object that defines the action set.
    Filters ManagementPolicyFilter
    An object that defines the filter set.
    actions ManagementPolicyAction
    An object that defines the action set.
    filters ManagementPolicyFilter
    An object that defines the filter set.
    actions ManagementPolicyAction
    An object that defines the action set.
    filters ManagementPolicyFilter
    An object that defines the filter set.
    actions ManagementPolicyAction
    An object that defines the action set.
    filters ManagementPolicyFilter
    An object that defines the filter set.
    actions Property Map
    An object that defines the action set.
    filters Property Map
    An object that defines the filter set.

    ManagementPolicyDefinitionResponse, ManagementPolicyDefinitionResponseArgs

    Actions ManagementPolicyActionResponse
    An object that defines the action set.
    Filters ManagementPolicyFilterResponse
    An object that defines the filter set.
    actions ManagementPolicyActionResponse
    An object that defines the action set.
    filters ManagementPolicyFilterResponse
    An object that defines the filter set.
    actions ManagementPolicyActionResponse
    An object that defines the action set.
    filters ManagementPolicyFilterResponse
    An object that defines the filter set.
    actions ManagementPolicyActionResponse
    An object that defines the action set.
    filters ManagementPolicyFilterResponse
    An object that defines the filter set.
    actions Property Map
    An object that defines the action set.
    filters Property Map
    An object that defines the filter set.

    ManagementPolicyFilter, ManagementPolicyFilterArgs

    BlobTypes List<string>
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    BlobIndexMatch List<Pulumi.AzureNative.Storage.Inputs.TagFilter>
    An array of blob index tag based filters, there can be at most 10 tag filters
    PrefixMatch List<string>
    An array of strings for prefixes to be match.
    BlobTypes []string
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    BlobIndexMatch []TagFilter
    An array of blob index tag based filters, there can be at most 10 tag filters
    PrefixMatch []string
    An array of strings for prefixes to be match.
    blobTypes List<String>
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    blobIndexMatch List<TagFilter>
    An array of blob index tag based filters, there can be at most 10 tag filters
    prefixMatch List<String>
    An array of strings for prefixes to be match.
    blobTypes string[]
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    blobIndexMatch TagFilter[]
    An array of blob index tag based filters, there can be at most 10 tag filters
    prefixMatch string[]
    An array of strings for prefixes to be match.
    blob_types Sequence[str]
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    blob_index_match Sequence[TagFilter]
    An array of blob index tag based filters, there can be at most 10 tag filters
    prefix_match Sequence[str]
    An array of strings for prefixes to be match.
    blobTypes List<String>
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    blobIndexMatch List<Property Map>
    An array of blob index tag based filters, there can be at most 10 tag filters
    prefixMatch List<String>
    An array of strings for prefixes to be match.

    ManagementPolicyFilterResponse, ManagementPolicyFilterResponseArgs

    BlobTypes List<string>
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    BlobIndexMatch List<Pulumi.AzureNative.Storage.Inputs.TagFilterResponse>
    An array of blob index tag based filters, there can be at most 10 tag filters
    PrefixMatch List<string>
    An array of strings for prefixes to be match.
    BlobTypes []string
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    BlobIndexMatch []TagFilterResponse
    An array of blob index tag based filters, there can be at most 10 tag filters
    PrefixMatch []string
    An array of strings for prefixes to be match.
    blobTypes List<String>
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    blobIndexMatch List<TagFilterResponse>
    An array of blob index tag based filters, there can be at most 10 tag filters
    prefixMatch List<String>
    An array of strings for prefixes to be match.
    blobTypes string[]
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    blobIndexMatch TagFilterResponse[]
    An array of blob index tag based filters, there can be at most 10 tag filters
    prefixMatch string[]
    An array of strings for prefixes to be match.
    blob_types Sequence[str]
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    blob_index_match Sequence[TagFilterResponse]
    An array of blob index tag based filters, there can be at most 10 tag filters
    prefix_match Sequence[str]
    An array of strings for prefixes to be match.
    blobTypes List<String>
    An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
    blobIndexMatch List<Property Map>
    An array of blob index tag based filters, there can be at most 10 tag filters
    prefixMatch List<String>
    An array of strings for prefixes to be match.

    ManagementPolicyRule, ManagementPolicyRuleArgs

    Definition Pulumi.AzureNative.Storage.Inputs.ManagementPolicyDefinition
    An object that defines the Lifecycle rule.
    Name string
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    Type string | Pulumi.AzureNative.Storage.RuleType
    The valid value is Lifecycle
    Enabled bool
    Rule is enabled if set to true.
    Definition ManagementPolicyDefinition
    An object that defines the Lifecycle rule.
    Name string
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    Type string | RuleType
    The valid value is Lifecycle
    Enabled bool
    Rule is enabled if set to true.
    definition ManagementPolicyDefinition
    An object that defines the Lifecycle rule.
    name String
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    type String | RuleType
    The valid value is Lifecycle
    enabled Boolean
    Rule is enabled if set to true.
    definition ManagementPolicyDefinition
    An object that defines the Lifecycle rule.
    name string
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    type string | RuleType
    The valid value is Lifecycle
    enabled boolean
    Rule is enabled if set to true.
    definition ManagementPolicyDefinition
    An object that defines the Lifecycle rule.
    name str
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    type str | RuleType
    The valid value is Lifecycle
    enabled bool
    Rule is enabled if set to true.
    definition Property Map
    An object that defines the Lifecycle rule.
    name String
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    type String | "Lifecycle"
    The valid value is Lifecycle
    enabled Boolean
    Rule is enabled if set to true.

    ManagementPolicyRuleResponse, ManagementPolicyRuleResponseArgs

    Definition Pulumi.AzureNative.Storage.Inputs.ManagementPolicyDefinitionResponse
    An object that defines the Lifecycle rule.
    Name string
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    Type string
    The valid value is Lifecycle
    Enabled bool
    Rule is enabled if set to true.
    Definition ManagementPolicyDefinitionResponse
    An object that defines the Lifecycle rule.
    Name string
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    Type string
    The valid value is Lifecycle
    Enabled bool
    Rule is enabled if set to true.
    definition ManagementPolicyDefinitionResponse
    An object that defines the Lifecycle rule.
    name String
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    type String
    The valid value is Lifecycle
    enabled Boolean
    Rule is enabled if set to true.
    definition ManagementPolicyDefinitionResponse
    An object that defines the Lifecycle rule.
    name string
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    type string
    The valid value is Lifecycle
    enabled boolean
    Rule is enabled if set to true.
    definition ManagementPolicyDefinitionResponse
    An object that defines the Lifecycle rule.
    name str
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    type str
    The valid value is Lifecycle
    enabled bool
    Rule is enabled if set to true.
    definition Property Map
    An object that defines the Lifecycle rule.
    name String
    A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
    type String
    The valid value is Lifecycle
    enabled Boolean
    Rule is enabled if set to true.

    ManagementPolicySchema, ManagementPolicySchemaArgs

    Rules List<Pulumi.AzureNative.Storage.Inputs.ManagementPolicyRule>
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    Rules []ManagementPolicyRule
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    rules List<ManagementPolicyRule>
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    rules ManagementPolicyRule[]
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    rules Sequence[ManagementPolicyRule]
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    rules List<Property Map>
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

    ManagementPolicySchemaResponse, ManagementPolicySchemaResponseArgs

    Rules List<Pulumi.AzureNative.Storage.Inputs.ManagementPolicyRuleResponse>
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    Rules []ManagementPolicyRuleResponse
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    rules List<ManagementPolicyRuleResponse>
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    rules ManagementPolicyRuleResponse[]
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    rules Sequence[ManagementPolicyRuleResponse]
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    rules List<Property Map>
    The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

    ManagementPolicySnapShot, ManagementPolicySnapShotArgs

    Delete Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to delete the blob snapshot
    TierToArchive Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to tier blob snapshot to archive storage.
    TierToCold Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to tier blobs to cold storage.
    TierToCool Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to tier blob snapshot to cool storage.
    TierToHot Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    Delete DateAfterCreation
    The function to delete the blob snapshot
    TierToArchive DateAfterCreation
    The function to tier blob snapshot to archive storage.
    TierToCold DateAfterCreation
    The function to tier blobs to cold storage.
    TierToCool DateAfterCreation
    The function to tier blob snapshot to cool storage.
    TierToHot DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreation
    The function to delete the blob snapshot
    tierToArchive DateAfterCreation
    The function to tier blob snapshot to archive storage.
    tierToCold DateAfterCreation
    The function to tier blobs to cold storage.
    tierToCool DateAfterCreation
    The function to tier blob snapshot to cool storage.
    tierToHot DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreation
    The function to delete the blob snapshot
    tierToArchive DateAfterCreation
    The function to tier blob snapshot to archive storage.
    tierToCold DateAfterCreation
    The function to tier blobs to cold storage.
    tierToCool DateAfterCreation
    The function to tier blob snapshot to cool storage.
    tierToHot DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreation
    The function to delete the blob snapshot
    tier_to_archive DateAfterCreation
    The function to tier blob snapshot to archive storage.
    tier_to_cold DateAfterCreation
    The function to tier blobs to cold storage.
    tier_to_cool DateAfterCreation
    The function to tier blob snapshot to cool storage.
    tier_to_hot DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete Property Map
    The function to delete the blob snapshot
    tierToArchive Property Map
    The function to tier blob snapshot to archive storage.
    tierToCold Property Map
    The function to tier blobs to cold storage.
    tierToCool Property Map
    The function to tier blob snapshot to cool storage.
    tierToHot Property Map
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts

    ManagementPolicySnapShotResponse, ManagementPolicySnapShotResponseArgs

    Delete Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to delete the blob snapshot
    TierToArchive Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to tier blob snapshot to archive storage.
    TierToCold Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to tier blobs to cold storage.
    TierToCool Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to tier blob snapshot to cool storage.
    TierToHot Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    Delete DateAfterCreationResponse
    The function to delete the blob snapshot
    TierToArchive DateAfterCreationResponse
    The function to tier blob snapshot to archive storage.
    TierToCold DateAfterCreationResponse
    The function to tier blobs to cold storage.
    TierToCool DateAfterCreationResponse
    The function to tier blob snapshot to cool storage.
    TierToHot DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreationResponse
    The function to delete the blob snapshot
    tierToArchive DateAfterCreationResponse
    The function to tier blob snapshot to archive storage.
    tierToCold DateAfterCreationResponse
    The function to tier blobs to cold storage.
    tierToCool DateAfterCreationResponse
    The function to tier blob snapshot to cool storage.
    tierToHot DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreationResponse
    The function to delete the blob snapshot
    tierToArchive DateAfterCreationResponse
    The function to tier blob snapshot to archive storage.
    tierToCold DateAfterCreationResponse
    The function to tier blobs to cold storage.
    tierToCool DateAfterCreationResponse
    The function to tier blob snapshot to cool storage.
    tierToHot DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreationResponse
    The function to delete the blob snapshot
    tier_to_archive DateAfterCreationResponse
    The function to tier blob snapshot to archive storage.
    tier_to_cold DateAfterCreationResponse
    The function to tier blobs to cold storage.
    tier_to_cool DateAfterCreationResponse
    The function to tier blob snapshot to cool storage.
    tier_to_hot DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete Property Map
    The function to delete the blob snapshot
    tierToArchive Property Map
    The function to tier blob snapshot to archive storage.
    tierToCold Property Map
    The function to tier blobs to cold storage.
    tierToCool Property Map
    The function to tier blob snapshot to cool storage.
    tierToHot Property Map
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts

    ManagementPolicyVersion, ManagementPolicyVersionArgs

    Delete Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to delete the blob version
    TierToArchive Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to tier blob version to archive storage.
    TierToCold Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to tier blobs to cold storage.
    TierToCool Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to tier blob version to cool storage.
    TierToHot Pulumi.AzureNative.Storage.Inputs.DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    Delete DateAfterCreation
    The function to delete the blob version
    TierToArchive DateAfterCreation
    The function to tier blob version to archive storage.
    TierToCold DateAfterCreation
    The function to tier blobs to cold storage.
    TierToCool DateAfterCreation
    The function to tier blob version to cool storage.
    TierToHot DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreation
    The function to delete the blob version
    tierToArchive DateAfterCreation
    The function to tier blob version to archive storage.
    tierToCold DateAfterCreation
    The function to tier blobs to cold storage.
    tierToCool DateAfterCreation
    The function to tier blob version to cool storage.
    tierToHot DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreation
    The function to delete the blob version
    tierToArchive DateAfterCreation
    The function to tier blob version to archive storage.
    tierToCold DateAfterCreation
    The function to tier blobs to cold storage.
    tierToCool DateAfterCreation
    The function to tier blob version to cool storage.
    tierToHot DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreation
    The function to delete the blob version
    tier_to_archive DateAfterCreation
    The function to tier blob version to archive storage.
    tier_to_cold DateAfterCreation
    The function to tier blobs to cold storage.
    tier_to_cool DateAfterCreation
    The function to tier blob version to cool storage.
    tier_to_hot DateAfterCreation
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete Property Map
    The function to delete the blob version
    tierToArchive Property Map
    The function to tier blob version to archive storage.
    tierToCold Property Map
    The function to tier blobs to cold storage.
    tierToCool Property Map
    The function to tier blob version to cool storage.
    tierToHot Property Map
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts

    ManagementPolicyVersionResponse, ManagementPolicyVersionResponseArgs

    Delete Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to delete the blob version
    TierToArchive Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to tier blob version to archive storage.
    TierToCold Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to tier blobs to cold storage.
    TierToCool Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to tier blob version to cool storage.
    TierToHot Pulumi.AzureNative.Storage.Inputs.DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    Delete DateAfterCreationResponse
    The function to delete the blob version
    TierToArchive DateAfterCreationResponse
    The function to tier blob version to archive storage.
    TierToCold DateAfterCreationResponse
    The function to tier blobs to cold storage.
    TierToCool DateAfterCreationResponse
    The function to tier blob version to cool storage.
    TierToHot DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreationResponse
    The function to delete the blob version
    tierToArchive DateAfterCreationResponse
    The function to tier blob version to archive storage.
    tierToCold DateAfterCreationResponse
    The function to tier blobs to cold storage.
    tierToCool DateAfterCreationResponse
    The function to tier blob version to cool storage.
    tierToHot DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreationResponse
    The function to delete the blob version
    tierToArchive DateAfterCreationResponse
    The function to tier blob version to archive storage.
    tierToCold DateAfterCreationResponse
    The function to tier blobs to cold storage.
    tierToCool DateAfterCreationResponse
    The function to tier blob version to cool storage.
    tierToHot DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete DateAfterCreationResponse
    The function to delete the blob version
    tier_to_archive DateAfterCreationResponse
    The function to tier blob version to archive storage.
    tier_to_cold DateAfterCreationResponse
    The function to tier blobs to cold storage.
    tier_to_cool DateAfterCreationResponse
    The function to tier blob version to cool storage.
    tier_to_hot DateAfterCreationResponse
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
    delete Property Map
    The function to delete the blob version
    tierToArchive Property Map
    The function to tier blob version to archive storage.
    tierToCold Property Map
    The function to tier blobs to cold storage.
    tierToCool Property Map
    The function to tier blob version to cool storage.
    tierToHot Property Map
    The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts

    RuleType, RuleTypeArgs

    Lifecycle
    Lifecycle
    RuleTypeLifecycle
    Lifecycle
    Lifecycle
    Lifecycle
    Lifecycle
    Lifecycle
    LIFECYCLE
    Lifecycle
    "Lifecycle"
    Lifecycle

    TagFilter, TagFilterArgs

    Name string
    This is the filter tag name, it can have 1 - 128 characters
    Op string
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    Value string
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    Name string
    This is the filter tag name, it can have 1 - 128 characters
    Op string
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    Value string
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    name String
    This is the filter tag name, it can have 1 - 128 characters
    op String
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    value String
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    name string
    This is the filter tag name, it can have 1 - 128 characters
    op string
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    value string
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    name str
    This is the filter tag name, it can have 1 - 128 characters
    op str
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    value str
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    name String
    This is the filter tag name, it can have 1 - 128 characters
    op String
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    value String
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters

    TagFilterResponse, TagFilterResponseArgs

    Name string
    This is the filter tag name, it can have 1 - 128 characters
    Op string
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    Value string
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    Name string
    This is the filter tag name, it can have 1 - 128 characters
    Op string
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    Value string
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    name String
    This is the filter tag name, it can have 1 - 128 characters
    op String
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    value String
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    name string
    This is the filter tag name, it can have 1 - 128 characters
    op string
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    value string
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    name str
    This is the filter tag name, it can have 1 - 128 characters
    op str
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    value str
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
    name String
    This is the filter tag name, it can have 1 - 128 characters
    op String
    This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
    value String
    This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:storage:ManagementPolicy DefaultManagementPolicy /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi