We recommend using Azure Native.
Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi
azure.storage.getPolicy
Explore with Pulumi AI
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.applyValue(getAccountResult -> getAccountResult.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}
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:storage/getPolicy:getPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Storage
Account stringId - Specifies the id of the storage account to retrieve the management policy for.
- Storage
Account stringId - Specifies the id of the storage account to retrieve the management policy for.
- storage
Account StringId - Specifies the id of the storage account to retrieve the management policy for.
- storage
Account 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.
- storage
Account 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<Get
Policy Rule> - supports the following:
- Storage
Account stringId
- Id string
- The provider-assigned unique ID for this managed resource.
- Rules
[]Get
Policy Rule - supports the following:
- Storage
Account stringId
- id String
- The provider-assigned unique ID for this managed resource.
- rules
List<Get
Policy Rule> - supports the following:
- storage
Account StringId
- id string
- The provider-assigned unique ID for this managed resource.
- rules
Get
Policy Rule[] - supports the following:
- storage
Account stringId
- id str
- The provider-assigned unique ID for this managed resource.
- rules
Sequence[Get
Policy 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:
- storage
Account StringId
Supporting Types
GetPolicyRule
- Actions
List<Get
Policy Rule Action> - An
actions
block as documented below. - Enabled bool
- Boolean to specify whether the rule is enabled.
- Filters
List<Get
Policy Rule Filter> - A
filter
block as documented below. - Name string
- The filter tag name used for tag based filtering for blob objects.
- Actions
[]Get
Policy Rule Action - An
actions
block as documented below. - Enabled bool
- Boolean to specify whether the rule is enabled.
- Filters
[]Get
Policy Rule Filter - A
filter
block as documented below. - Name string
- The filter tag name used for tag based filtering for blob objects.
- actions
List<Get
Policy Rule Action> - An
actions
block as documented below. - enabled Boolean
- Boolean to specify whether the rule is enabled.
- filters
List<Get
Policy Rule Filter> - A
filter
block as documented below. - name String
- The filter tag name used for tag based filtering for blob objects.
- actions
Get
Policy Rule Action[] - An
actions
block as documented below. - enabled boolean
- Boolean to specify whether the rule is enabled.
- filters
Get
Policy Rule Filter[] - A
filter
block as documented below. - name string
- The filter tag name used for tag based filtering for blob objects.
- actions
Sequence[Get
Policy Rule Action] - An
actions
block as documented below. - enabled bool
- Boolean to specify whether the rule is enabled.
- filters
Sequence[Get
Policy Rule Filter] - A
filter
block as documented below. - name str
- The filter tag name used for tag based filtering for blob objects.
- actions List<Property Map>
- An
actions
block as documented below. - enabled Boolean
- Boolean to specify whether the rule is enabled.
- filters List<Property Map>
- A
filter
block as documented below. - name String
- The filter tag name used for tag based filtering for blob objects.
GetPolicyRuleAction
- Base
Blobs List<GetPolicy Rule Action Base Blob> - A
base_blob
block as documented below. - Snapshots
List<Get
Policy Rule Action Snapshot> - A
snapshot
block as documented below. - Versions
List<Get
Policy Rule Action Version> - A
version
block as documented below.
- Base
Blobs []GetPolicy Rule Action Base Blob - A
base_blob
block as documented below. - Snapshots
[]Get
Policy Rule Action Snapshot - A
snapshot
block as documented below. - Versions
[]Get
Policy Rule Action Version - A
version
block as documented below.
- base
Blobs List<GetPolicy Rule Action Base Blob> - A
base_blob
block as documented below. - snapshots
List<Get
Policy Rule Action Snapshot> - A
snapshot
block as documented below. - versions
List<Get
Policy Rule Action Version> - A
version
block as documented below.
- base
Blobs GetPolicy Rule Action Base Blob[] - A
base_blob
block as documented below. - snapshots
Get
Policy Rule Action Snapshot[] - A
snapshot
block as documented below. - versions
Get
Policy Rule Action Version[] - A
version
block as documented below.
- base_
blobs Sequence[GetPolicy Rule Action Base Blob] - A
base_blob
block as documented below. - snapshots
Sequence[Get
Policy Rule Action Snapshot] - A
snapshot
block as documented below. - versions
Sequence[Get
Policy Rule Action Version] - A
version
block as documented below.
- base
Blobs List<Property Map> - A
base_blob
block as documented below. - snapshots List<Property Map>
- A
snapshot
block as documented below. - versions List<Property Map>
- A
version
block as documented below.
GetPolicyRuleActionBaseBlob
- 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.
- 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.
- auto
Tier 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.
- delete
After IntegerDays Since Creation Greater Than - The age in days after creation to delete the blob snapshot.
- delete
After IntegerDays Since Last Access Time Greater Than - The age in days after last access time to delete the blob.
- delete
After IntegerDays Since Modification Greater Than - The age in days after last modification to delete the blob.
- tier
To IntegerArchive After Days Since Creation Greater Than - The age in days after creation to archive storage.
- tier
To IntegerArchive After Days Since Last Access Time Greater Than - The age in days after last access time to tier blobs to archive storage.
- tier
To 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.
- tier
To IntegerArchive After Days Since Modification Greater Than - The age in days after last modification to tier blobs to archive storage.
- tier
To IntegerCold After Days Since Creation Greater Than - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tier
To 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.
- tier
To 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.
- tier
To IntegerCool After Days Since Creation Greater Than - Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tier
To 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.
- tier
To 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.
- auto
Tier 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.
- delete
After numberDays Since Creation Greater Than - The age in days after creation to delete the blob snapshot.
- delete
After numberDays Since Last Access Time Greater Than - The age in days after last access time to delete the blob.
- delete
After numberDays Since Modification Greater Than - The age in days after last modification to delete the blob.
- tier
To numberArchive After Days Since Creation Greater Than - The age in days after creation to archive storage.
- tier
To numberArchive After Days Since Last Access Time Greater Than - The age in days after last access time to tier blobs to archive storage.
- tier
To 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.
- tier
To numberArchive After Days Since Modification Greater Than - The age in days after last modification to tier blobs to archive storage.
- tier
To numberCold After Days Since Creation Greater Than - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tier
To 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.
- tier
To 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.
- tier
To numberCool After Days Since Creation Greater Than - Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tier
To 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.
- tier
To 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.
- auto
Tier 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.
- delete
After NumberDays Since Creation Greater Than - The age in days after creation to delete the blob snapshot.
- delete
After NumberDays Since Last Access Time Greater Than - The age in days after last access time to delete the blob.
- delete
After NumberDays Since Modification Greater Than - The age in days after last modification to delete the blob.
- tier
To NumberArchive After Days Since Creation Greater Than - The age in days after creation to archive storage.
- tier
To NumberArchive After Days Since Last Access Time Greater Than - The age in days after last access time to tier blobs to archive storage.
- tier
To 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.
- tier
To NumberArchive After Days Since Modification Greater Than - The age in days after last modification to tier blobs to archive storage.
- tier
To NumberCold After Days Since Creation Greater Than - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tier
To 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.
- tier
To 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.
- tier
To NumberCool After Days Since Creation Greater Than - Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tier
To 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.
- tier
To 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
- 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.
- 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.
- change
Tier IntegerTo Archive After Days Since Creation - The age in days after creation to tier blob version to archive storage.
- change
Tier IntegerTo Cool After Days Since Creation - The age in days after creation to tier blob version to cool storage.
- delete
After IntegerDays Since Creation Greater Than - The age in days after creation to delete the blob snapshot.
- tier
To 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.
- tier
To IntegerCold After Days Since Creation Greater Than - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change
Tier numberTo Archive After Days Since Creation - The age in days after creation to tier blob version to archive storage.
- change
Tier numberTo Cool After Days Since Creation - The age in days after creation to tier blob version to cool storage.
- delete
After numberDays Since Creation Greater Than - The age in days after creation to delete the blob snapshot.
- tier
To 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.
- tier
To 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.
- change
Tier NumberTo Archive After Days Since Creation - The age in days after creation to tier blob version to archive storage.
- change
Tier NumberTo Cool After Days Since Creation - The age in days after creation to tier blob version to cool storage.
- delete
After NumberDays Since Creation Greater Than - The age in days after creation to delete the blob snapshot.
- tier
To 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.
- tier
To NumberCold After Days Since Creation Greater Than - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
GetPolicyRuleActionVersion
- 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.
- 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.
- change
Tier IntegerTo Archive After Days Since Creation - The age in days after creation to tier blob version to archive storage.
- change
Tier IntegerTo Cool After Days Since Creation - The age in days after creation to tier blob version to cool storage.
- delete
After IntegerDays Since Creation - The age in days after creation to delete the blob version.
- tier
To 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.
- tier
To IntegerCold After Days Since Creation Greater Than - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change
Tier numberTo Archive After Days Since Creation - The age in days after creation to tier blob version to archive storage.
- change
Tier numberTo Cool After Days Since Creation - The age in days after creation to tier blob version to cool storage.
- delete
After numberDays Since Creation - The age in days after creation to delete the blob version.
- tier
To 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.
- tier
To 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.
- change
Tier NumberTo Archive After Days Since Creation - The age in days after creation to tier blob version to archive storage.
- change
Tier NumberTo Cool After Days Since Creation - The age in days after creation to tier blob version to cool storage.
- delete
After NumberDays Since Creation - The age in days after creation to delete the blob version.
- tier
To 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.
- tier
To NumberCold After Days Since Creation Greater Than - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
GetPolicyRuleFilter
- Blob
Types List<string> - An array of predefined values. Valid options are
blockBlob
andappendBlob
. - List<Get
Policy Rule Filter Match Blob Index Tag> - A
match_blob_index_tag
block as defined below. The block defines the blob index tag based filtering for blob objects. - Prefix
Matches List<string> - An array of strings for prefixes to be matched.
- Blob
Types []string - An array of predefined values. Valid options are
blockBlob
andappendBlob
. - []Get
Policy Rule Filter Match Blob Index Tag - A
match_blob_index_tag
block as defined below. The block defines the blob index tag based filtering for blob objects. - Prefix
Matches []string - An array of strings for prefixes to be matched.
- blob
Types List<String> - An array of predefined values. Valid options are
blockBlob
andappendBlob
. - List<Get
Policy Rule Filter Match Blob Index Tag> - A
match_blob_index_tag
block as defined below. The block defines the blob index tag based filtering for blob objects. - prefix
Matches List<String> - An array of strings for prefixes to be matched.
- blob
Types string[] - An array of predefined values. Valid options are
blockBlob
andappendBlob
. - Get
Policy Rule Filter Match Blob Index Tag[] - A
match_blob_index_tag
block as defined below. The block defines the blob index tag based filtering for blob objects. - prefix
Matches string[] - An array of strings for prefixes to be matched.
- blob_
types Sequence[str] - An array of predefined values. Valid options are
blockBlob
andappendBlob
. - Sequence[Get
Policy Rule Filter Match Blob Index Tag] - A
match_blob_index_tag
block 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.
- blob
Types List<String> - An array of predefined values. Valid options are
blockBlob
andappendBlob
. - List<Property Map>
- A
match_blob_index_tag
block as defined below. The block defines the blob index tag based filtering for blob objects. - prefix
Matches 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
azurerm
Terraform Provider.