We recommend using Azure Native.
Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi
azure.storage.getPolicy
Use this data source to access information about an existing Storage Management Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.storage.getAccount({
    name: "storageaccountname",
    resourceGroupName: "resourcegroupname",
});
const exampleGetPolicy = example.then(example => azure.storage.getPolicy({
    storageAccountId: example.id,
}));
import pulumi
import pulumi_azure as azure
example = azure.storage.get_account(name="storageaccountname",
    resource_group_name="resourcegroupname")
example_get_policy = azure.storage.get_policy(storage_account_id=example.id)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := storage.LookupAccount(ctx, &storage.LookupAccountArgs{
			Name:              "storageaccountname",
			ResourceGroupName: pulumi.StringRef("resourcegroupname"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = storage.GetPolicy(ctx, &storage.GetPolicyArgs{
			StorageAccountId: example.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = Azure.Storage.GetAccount.Invoke(new()
    {
        Name = "storageaccountname",
        ResourceGroupName = "resourcegroupname",
    });
    var exampleGetPolicy = Azure.Storage.GetPolicy.Invoke(new()
    {
        StorageAccountId = example.Apply(getAccountResult => getAccountResult.Id),
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.storage.StorageFunctions;
import com.pulumi.azure.storage.inputs.GetAccountArgs;
import com.pulumi.azure.storage.inputs.GetPolicyArgs;
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) {
        final var example = StorageFunctions.getAccount(GetAccountArgs.builder()
            .name("storageaccountname")
            .resourceGroupName("resourcegroupname")
            .build());
        final var exampleGetPolicy = StorageFunctions.getPolicy(GetPolicyArgs.builder()
            .storageAccountId(example.id())
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: azure:storage:getAccount
      arguments:
        name: storageaccountname
        resourceGroupName: resourcegroupname
  exampleGetPolicy:
    fn::invoke:
      function: azure:storage:getPolicy
      arguments:
        storageAccountId: ${example.id}
API Providers
This data source uses the following Azure API Providers:
- Microsoft.Storage- 2023-05-01
Using getPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPolicy(args: GetPolicyArgs, opts?: InvokeOptions): Promise<GetPolicyResult>
function getPolicyOutput(args: GetPolicyOutputArgs, opts?: InvokeOptions): Output<GetPolicyResult>def get_policy(storage_account_id: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetPolicyResult
def get_policy_output(storage_account_id: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetPolicyResult]func GetPolicy(ctx *Context, args *GetPolicyArgs, opts ...InvokeOption) (*GetPolicyResult, error)
func GetPolicyOutput(ctx *Context, args *GetPolicyOutputArgs, opts ...InvokeOption) GetPolicyResultOutput> Note: This function is named GetPolicy in the Go SDK.
public static class GetPolicy 
{
    public static Task<GetPolicyResult> InvokeAsync(GetPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetPolicyResult> Invoke(GetPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
public static Output<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: azure:storage/getPolicy:getPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- StorageAccount stringId 
- Specifies the id of the storage account to retrieve the management policy for.
- StorageAccount stringId 
- Specifies the id of the storage account to retrieve the management policy for.
- storageAccount StringId 
- Specifies the id of the storage account to retrieve the management policy for.
- storageAccount stringId 
- Specifies the id of the storage account to retrieve the management policy for.
- storage_account_ strid 
- Specifies the id of the storage account to retrieve the management policy for.
- storageAccount StringId 
- Specifies the id of the storage account to retrieve the management policy for.
getPolicy Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Rules
List<GetPolicy Rule> 
- supports the following:
- StorageAccount stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- Rules
[]GetPolicy Rule 
- supports the following:
- StorageAccount stringId 
- id String
- The provider-assigned unique ID for this managed resource.
- rules
List<GetPolicy Rule> 
- supports the following:
- storageAccount StringId 
- id string
- The provider-assigned unique ID for this managed resource.
- rules
GetPolicy Rule[] 
- supports the following:
- storageAccount stringId 
- id str
- The provider-assigned unique ID for this managed resource.
- rules
Sequence[GetPolicy Rule] 
- supports the following:
- storage_account_ strid 
- id String
- The provider-assigned unique ID for this managed resource.
- rules List<Property Map>
- supports the following:
- storageAccount StringId 
Supporting Types
GetPolicyRule  
- Actions
List<GetPolicy Rule Action> 
- An actionsblock as documented below.
- Enabled bool
- Boolean to specify whether the rule is enabled.
- Filters
List<GetPolicy Rule Filter> 
- A filterblock as documented below.
- Name string
- The filter tag name used for tag based filtering for blob objects.
- Actions
[]GetPolicy Rule Action 
- An actionsblock as documented below.
- Enabled bool
- Boolean to specify whether the rule is enabled.
- Filters
[]GetPolicy Rule Filter 
- A filterblock as documented below.
- Name string
- The filter tag name used for tag based filtering for blob objects.
- actions
List<GetPolicy Rule Action> 
- An actionsblock as documented below.
- enabled Boolean
- Boolean to specify whether the rule is enabled.
- filters
List<GetPolicy Rule Filter> 
- A filterblock as documented below.
- name String
- The filter tag name used for tag based filtering for blob objects.
- actions
GetPolicy Rule Action[] 
- An actionsblock as documented below.
- enabled boolean
- Boolean to specify whether the rule is enabled.
- filters
GetPolicy Rule Filter[] 
- A filterblock as documented below.
- name string
- The filter tag name used for tag based filtering for blob objects.
- actions
Sequence[GetPolicy Rule Action] 
- An actionsblock as documented below.
- enabled bool
- Boolean to specify whether the rule is enabled.
- filters
Sequence[GetPolicy Rule Filter] 
- A filterblock as documented below.
- name str
- The filter tag name used for tag based filtering for blob objects.
- actions List<Property Map>
- An actionsblock as documented below.
- enabled Boolean
- Boolean to specify whether the rule is enabled.
- filters List<Property Map>
- A filterblock as documented below.
- name String
- The filter tag name used for tag based filtering for blob objects.
GetPolicyRuleAction   
- BaseBlobs List<GetPolicy Rule Action Base Blob> 
- A base_blobblock as documented below.
- Snapshots
List<GetPolicy Rule Action Snapshot> 
- A snapshotblock as documented below.
- Versions
List<GetPolicy Rule Action Version> 
- A versionblock as documented below.
- BaseBlobs []GetPolicy Rule Action Base Blob 
- A base_blobblock as documented below.
- Snapshots
[]GetPolicy Rule Action Snapshot 
- A snapshotblock as documented below.
- Versions
[]GetPolicy Rule Action Version 
- A versionblock as documented below.
- baseBlobs List<GetPolicy Rule Action Base Blob> 
- A base_blobblock as documented below.
- snapshots
List<GetPolicy Rule Action Snapshot> 
- A snapshotblock as documented below.
- versions
List<GetPolicy Rule Action Version> 
- A versionblock as documented below.
- baseBlobs GetPolicy Rule Action Base Blob[] 
- A base_blobblock as documented below.
- snapshots
GetPolicy Rule Action Snapshot[] 
- A snapshotblock as documented below.
- versions
GetPolicy Rule Action Version[] 
- A versionblock as documented below.
- base_blobs Sequence[GetPolicy Rule Action Base Blob] 
- A base_blobblock as documented below.
- snapshots
Sequence[GetPolicy Rule Action Snapshot] 
- A snapshotblock as documented below.
- versions
Sequence[GetPolicy Rule Action Version] 
- A versionblock as documented below.
- baseBlobs List<Property Map>
- A base_blobblock as documented below.
- snapshots List<Property Map>
- A snapshotblock as documented below.
- versions List<Property Map>
- A versionblock as documented below.
GetPolicyRuleActionBaseBlob     
- AutoTier boolTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- DeleteAfter intDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- DeleteAfter intDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob.
- DeleteAfter intDays Since Modification Greater Than 
- The age in days after last modification to delete the blob.
- TierTo intArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage.
- TierTo intArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- TierTo intArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage.
- TierTo intCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- TierTo intCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- TierTo intCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- TierTo intCool After Days Since Creation Greater Than 
- Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- TierTo intCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- TierTo intCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- AutoTier boolTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- DeleteAfter intDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- DeleteAfter intDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob.
- DeleteAfter intDays Since Modification Greater Than 
- The age in days after last modification to delete the blob.
- TierTo intArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage.
- TierTo intArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- TierTo intArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage.
- TierTo intCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- TierTo intCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- TierTo intCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- TierTo intCool After Days Since Creation Greater Than 
- Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- TierTo intCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- TierTo intCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- autoTier BooleanTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- deleteAfter IntegerDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- deleteAfter IntegerDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob.
- deleteAfter IntegerDays Since Modification Greater Than 
- The age in days after last modification to delete the blob.
- tierTo IntegerArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage.
- tierTo IntegerArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage.
- tierTo IntegerArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- tierTo IntegerArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage.
- tierTo IntegerCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tierTo IntegerCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- tierTo IntegerCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- tierTo IntegerCool After Days Since Creation Greater Than 
- Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tierTo IntegerCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- tierTo IntegerCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- autoTier booleanTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- deleteAfter numberDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- deleteAfter numberDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob.
- deleteAfter numberDays Since Modification Greater Than 
- The age in days after last modification to delete the blob.
- tierTo numberArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage.
- tierTo numberArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage.
- tierTo numberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- tierTo numberArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage.
- tierTo numberCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tierTo numberCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- tierTo numberCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- tierTo numberCool After Days Since Creation Greater Than 
- Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tierTo numberCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- tierTo numberCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- auto_tier_ boolto_ hot_ from_ cool_ enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- delete_after_ intdays_ since_ creation_ greater_ than 
- The age in days after creation to delete the blob snapshot.
- delete_after_ intdays_ since_ last_ access_ time_ greater_ than 
- The age in days after last access time to delete the blob.
- delete_after_ intdays_ since_ modification_ greater_ than 
- The age in days after last modification to delete the blob.
- tier_to_ intarchive_ after_ days_ since_ creation_ greater_ than 
- The age in days after creation to archive storage.
- tier_to_ intarchive_ after_ days_ since_ last_ access_ time_ greater_ than 
- The age in days after last access time to tier blobs to archive storage.
- tier_to_ intarchive_ after_ days_ since_ last_ tier_ change_ greater_ than 
- The age in days after last tier change to the blobs to skip to be archived.
- tier_to_ intarchive_ after_ days_ since_ modification_ greater_ than 
- The age in days after last modification to tier blobs to archive storage.
- tier_to_ intcold_ after_ days_ since_ creation_ greater_ than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tier_to_ intcold_ after_ days_ since_ last_ access_ time_ greater_ than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier_to_ intcold_ after_ days_ since_ modification_ greater_ than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier_to_ intcool_ after_ days_ since_ creation_ greater_ than 
- Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tier_to_ intcool_ after_ days_ since_ last_ access_ time_ greater_ than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- tier_to_ intcool_ after_ days_ since_ modification_ greater_ than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- autoTier BooleanTo Hot From Cool Enabled 
- Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- deleteAfter NumberDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- deleteAfter NumberDays Since Last Access Time Greater Than 
- The age in days after last access time to delete the blob.
- deleteAfter NumberDays Since Modification Greater Than 
- The age in days after last modification to delete the blob.
- tierTo NumberArchive After Days Since Creation Greater Than 
- The age in days after creation to archive storage.
- tierTo NumberArchive After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to archive storage.
- tierTo NumberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- tierTo NumberArchive After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to archive storage.
- tierTo NumberCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tierTo NumberCold After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- tierTo NumberCold After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- tierTo NumberCool After Days Since Creation Greater Than 
- Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tierTo NumberCool After Days Since Last Access Time Greater Than 
- The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- tierTo NumberCool After Days Since Modification Greater Than 
- The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
GetPolicyRuleActionSnapshot    
- ChangeTier intTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- ChangeTier intTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- DeleteAfter intDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- TierTo intCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- ChangeTier intTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- ChangeTier intTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- DeleteAfter intDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- TierTo intCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- changeTier IntegerTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- changeTier IntegerTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- deleteAfter IntegerDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- tierTo IntegerArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- tierTo IntegerCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- changeTier numberTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- changeTier numberTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- deleteAfter numberDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- tierTo numberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- tierTo numberCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change_tier_ intto_ archive_ after_ days_ since_ creation 
- The age in days after creation to tier blob version to archive storage.
- change_tier_ intto_ cool_ after_ days_ since_ creation 
- The age in days after creation to tier blob version to cool storage.
- delete_after_ intdays_ since_ creation_ greater_ than 
- The age in days after creation to delete the blob snapshot.
- tier_to_ intarchive_ after_ days_ since_ last_ tier_ change_ greater_ than 
- The age in days after last tier change to the blobs to skip to be archived.
- tier_to_ intcold_ after_ days_ since_ creation_ greater_ than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- changeTier NumberTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- changeTier NumberTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- deleteAfter NumberDays Since Creation Greater Than 
- The age in days after creation to delete the blob snapshot.
- tierTo NumberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- tierTo NumberCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
GetPolicyRuleActionVersion    
- ChangeTier intTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- ChangeTier intTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- DeleteAfter intDays Since Creation 
- The age in days after creation to delete the blob version.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- TierTo intCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- ChangeTier intTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- ChangeTier intTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- DeleteAfter intDays Since Creation 
- The age in days after creation to delete the blob version.
- TierTo intArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- TierTo intCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- changeTier IntegerTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- changeTier IntegerTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- deleteAfter IntegerDays Since Creation 
- The age in days after creation to delete the blob version.
- tierTo IntegerArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- tierTo IntegerCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- changeTier numberTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- changeTier numberTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- deleteAfter numberDays Since Creation 
- The age in days after creation to delete the blob version.
- tierTo numberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- tierTo numberCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change_tier_ intto_ archive_ after_ days_ since_ creation 
- The age in days after creation to tier blob version to archive storage.
- change_tier_ intto_ cool_ after_ days_ since_ creation 
- The age in days after creation to tier blob version to cool storage.
- delete_after_ intdays_ since_ creation 
- The age in days after creation to delete the blob version.
- tier_to_ intarchive_ after_ days_ since_ last_ tier_ change_ greater_ than 
- The age in days after last tier change to the blobs to skip to be archived.
- tier_to_ intcold_ after_ days_ since_ creation_ greater_ than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- changeTier NumberTo Archive After Days Since Creation 
- The age in days after creation to tier blob version to archive storage.
- changeTier NumberTo Cool After Days Since Creation 
- The age in days after creation to tier blob version to cool storage.
- deleteAfter NumberDays Since Creation 
- The age in days after creation to delete the blob version.
- tierTo NumberArchive After Days Since Last Tier Change Greater Than 
- The age in days after last tier change to the blobs to skip to be archived.
- tierTo NumberCold After Days Since Creation Greater Than 
- Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
GetPolicyRuleFilter   
- BlobTypes List<string>
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
List<GetPolicy Rule Filter Match Blob Index Tag> 
- A match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.
- PrefixMatches List<string>
- An array of strings for prefixes to be matched.
- BlobTypes []string
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
[]GetPolicy Rule Filter Match Blob Index Tag 
- A match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.
- PrefixMatches []string
- An array of strings for prefixes to be matched.
- blobTypes List<String>
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
List<GetPolicy Rule Filter Match Blob Index Tag> 
- A match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.
- prefixMatches List<String>
- An array of strings for prefixes to be matched.
- blobTypes string[]
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
GetPolicy Rule Filter Match Blob Index Tag[] 
- A match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.
- prefixMatches string[]
- An array of strings for prefixes to be matched.
- blob_types Sequence[str]
- An array of predefined values. Valid options are blockBlobandappendBlob.
- 
Sequence[GetPolicy Rule Filter Match Blob Index Tag] 
- A match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.
- prefix_matches Sequence[str]
- An array of strings for prefixes to be matched.
- blobTypes List<String>
- An array of predefined values. Valid options are blockBlobandappendBlob.
- List<Property Map>
- A match_blob_index_tagblock as defined below. The block defines the blob index tag based filtering for blob objects.
- prefixMatches List<String>
- An array of strings for prefixes to be matched.
GetPolicyRuleFilterMatchBlobIndexTag       
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.
