We recommend using Azure Native.
Azure v6.22.0 published on Tuesday, Apr 1, 2025 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)
public static Output<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
fn::invoke:
function: azure:storage/getPolicy:getPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Storage
Account Id This property is required. string - Specifies the id of the storage account to retrieve the management policy for.
- Storage
Account Id This property is required. string - Specifies the id of the storage account to retrieve the management policy for.
- storage
Account Id This property is required. String - Specifies the id of the storage account to retrieve the management policy for.
- storage
Account Id This property is required. string - Specifies the id of the storage account to retrieve the management policy for.
- storage_
account_ id This property is required. str - Specifies the id of the storage account to retrieve the management policy for.
- storage
Account Id This property is required. String - 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
This property is required. List<GetPolicy Rule Action> - An
actions
block as documented below. - Enabled
This property is required. bool - Boolean to specify whether the rule is enabled.
- Filters
This property is required. List<GetPolicy Rule Filter> - A
filter
block as documented below. - Name
This property is required. string - The filter tag name used for tag based filtering for blob objects.
- Actions
This property is required. []GetPolicy Rule Action - An
actions
block as documented below. - Enabled
This property is required. bool - Boolean to specify whether the rule is enabled.
- Filters
This property is required. []GetPolicy Rule Filter - A
filter
block as documented below. - Name
This property is required. string - The filter tag name used for tag based filtering for blob objects.
- actions
This property is required. List<GetPolicy Rule Action> - An
actions
block as documented below. - enabled
This property is required. Boolean - Boolean to specify whether the rule is enabled.
- filters
This property is required. List<GetPolicy Rule Filter> - A
filter
block as documented below. - name
This property is required. String - The filter tag name used for tag based filtering for blob objects.
- actions
This property is required. GetPolicy Rule Action[] - An
actions
block as documented below. - enabled
This property is required. boolean - Boolean to specify whether the rule is enabled.
- filters
This property is required. GetPolicy Rule Filter[] - A
filter
block as documented below. - name
This property is required. string - The filter tag name used for tag based filtering for blob objects.
- actions
This property is required. Sequence[GetPolicy Rule Action] - An
actions
block as documented below. - enabled
This property is required. bool - Boolean to specify whether the rule is enabled.
- filters
This property is required. Sequence[GetPolicy Rule Filter] - A
filter
block as documented below. - name
This property is required. str - The filter tag name used for tag based filtering for blob objects.
- actions
This property is required. List<Property Map> - An
actions
block as documented below. - enabled
This property is required. Boolean - Boolean to specify whether the rule is enabled.
- filters
This property is required. List<Property Map> - A
filter
block as documented below. - name
This property is required. String - The filter tag name used for tag based filtering for blob objects.
GetPolicyRuleAction
- Base
Blobs This property is required. List<GetPolicy Rule Action Base Blob> - A
base_blob
block as documented below. - Snapshots
This property is required. List<GetPolicy Rule Action Snapshot> - A
snapshot
block as documented below. - Versions
This property is required. List<GetPolicy Rule Action Version> - A
version
block as documented below.
- Base
Blobs This property is required. []GetPolicy Rule Action Base Blob - A
base_blob
block as documented below. - Snapshots
This property is required. []GetPolicy Rule Action Snapshot - A
snapshot
block as documented below. - Versions
This property is required. []GetPolicy Rule Action Version - A
version
block as documented below.
- base
Blobs This property is required. List<GetPolicy Rule Action Base Blob> - A
base_blob
block as documented below. - snapshots
This property is required. List<GetPolicy Rule Action Snapshot> - A
snapshot
block as documented below. - versions
This property is required. List<GetPolicy Rule Action Version> - A
version
block as documented below.
- base
Blobs This property is required. GetPolicy Rule Action Base Blob[] - A
base_blob
block as documented below. - snapshots
This property is required. GetPolicy Rule Action Snapshot[] - A
snapshot
block as documented below. - versions
This property is required. GetPolicy Rule Action Version[] - A
version
block as documented below.
- base_
blobs This property is required. Sequence[GetPolicy Rule Action Base Blob] - A
base_blob
block as documented below. - snapshots
This property is required. Sequence[GetPolicy Rule Action Snapshot] - A
snapshot
block as documented below. - versions
This property is required. Sequence[GetPolicy Rule Action Version] - A
version
block as documented below.
- base
Blobs This property is required. List<Property Map> - A
base_blob
block as documented below. - snapshots
This property is required. List<Property Map> - A
snapshot
block as documented below. - versions
This property is required. List<Property Map> - A
version
block as documented below.
GetPolicyRuleActionBaseBlob
- Auto
Tier To Hot From Cool Enabled This property is required. bool - Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- Delete
After Days Since Creation Greater Than This property is required. int - The age in days after creation to delete the blob snapshot.
- Delete
After Days Since Last Access Time Greater Than This property is required. int - The age in days after last access time to delete the blob.
- Delete
After Days Since Modification Greater Than This property is required. int - The age in days after last modification to delete the blob.
- Tier
To Archive After Days Since Creation Greater Than This property is required. int - The age in days after creation to archive storage.
- Tier
To Archive After Days Since Last Access Time Greater Than This property is required. int - The age in days after last access time to tier blobs to archive storage.
- Tier
To Archive After Days Since Last Tier Change Greater Than This property is required. int - The age in days after last tier change to the blobs to skip to be archived.
- Tier
To Archive After Days Since Modification Greater Than This property is required. int - The age in days after last modification to tier blobs to archive storage.
- Tier
To Cold After Days Since Creation Greater Than This property is required. int - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- Tier
To Cold After Days Since Last Access Time Greater Than This property is required. int - The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- Tier
To Cold After Days Since Modification Greater Than This property is required. int - The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- Tier
To Cool After Days Since Creation Greater Than This property is required. int - Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- Tier
To Cool After Days Since Last Access Time Greater Than This property is required. int - The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- Tier
To Cool After Days Since Modification Greater Than This property is required. int - The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- Auto
Tier To Hot From Cool Enabled This property is required. bool - Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- Delete
After Days Since Creation Greater Than This property is required. int - The age in days after creation to delete the blob snapshot.
- Delete
After Days Since Last Access Time Greater Than This property is required. int - The age in days after last access time to delete the blob.
- Delete
After Days Since Modification Greater Than This property is required. int - The age in days after last modification to delete the blob.
- Tier
To Archive After Days Since Creation Greater Than This property is required. int - The age in days after creation to archive storage.
- Tier
To Archive After Days Since Last Access Time Greater Than This property is required. int - The age in days after last access time to tier blobs to archive storage.
- Tier
To Archive After Days Since Last Tier Change Greater Than This property is required. int - The age in days after last tier change to the blobs to skip to be archived.
- Tier
To Archive After Days Since Modification Greater Than This property is required. int - The age in days after last modification to tier blobs to archive storage.
- Tier
To Cold After Days Since Creation Greater Than This property is required. int - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- Tier
To Cold After Days Since Last Access Time Greater Than This property is required. int - The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- Tier
To Cold After Days Since Modification Greater Than This property is required. int - The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- Tier
To Cool After Days Since Creation Greater Than This property is required. int - Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- Tier
To Cool After Days Since Last Access Time Greater Than This property is required. int - The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- Tier
To Cool After Days Since Modification Greater Than This property is required. int - The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- auto
Tier To Hot From Cool Enabled This property is required. Boolean - Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- delete
After Days Since Creation Greater Than This property is required. Integer - The age in days after creation to delete the blob snapshot.
- delete
After Days Since Last Access Time Greater Than This property is required. Integer - The age in days after last access time to delete the blob.
- delete
After Days Since Modification Greater Than This property is required. Integer - The age in days after last modification to delete the blob.
- tier
To Archive After Days Since Creation Greater Than This property is required. Integer - The age in days after creation to archive storage.
- tier
To Archive After Days Since Last Access Time Greater Than This property is required. Integer - The age in days after last access time to tier blobs to archive storage.
- tier
To Archive After Days Since Last Tier Change Greater Than This property is required. Integer - The age in days after last tier change to the blobs to skip to be archived.
- tier
To Archive After Days Since Modification Greater Than This property is required. Integer - The age in days after last modification to tier blobs to archive storage.
- tier
To Cold After Days Since Creation Greater Than This property is required. Integer - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tier
To Cold After Days Since Last Access Time Greater Than This property is required. Integer - The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier
To Cold After Days Since Modification Greater Than This property is required. Integer - The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier
To Cool After Days Since Creation Greater Than This property is required. Integer - Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tier
To Cool After Days Since Last Access Time Greater Than This property is required. Integer - The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- tier
To Cool After Days Since Modification Greater Than This property is required. Integer - The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- auto
Tier To Hot From Cool Enabled This property is required. boolean - Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- delete
After Days Since Creation Greater Than This property is required. number - The age in days after creation to delete the blob snapshot.
- delete
After Days Since Last Access Time Greater Than This property is required. number - The age in days after last access time to delete the blob.
- delete
After Days Since Modification Greater Than This property is required. number - The age in days after last modification to delete the blob.
- tier
To Archive After Days Since Creation Greater Than This property is required. number - The age in days after creation to archive storage.
- tier
To Archive After Days Since Last Access Time Greater Than This property is required. number - The age in days after last access time to tier blobs to archive storage.
- tier
To Archive After Days Since Last Tier Change Greater Than This property is required. number - The age in days after last tier change to the blobs to skip to be archived.
- tier
To Archive After Days Since Modification Greater Than This property is required. number - The age in days after last modification to tier blobs to archive storage.
- tier
To Cold After Days Since Creation Greater Than This property is required. number - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tier
To Cold After Days Since Last Access Time Greater Than This property is required. number - The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier
To Cold After Days Since Modification Greater Than This property is required. number - The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier
To Cool After Days Since Creation Greater Than This property is required. number - Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tier
To Cool After Days Since Last Access Time Greater Than This property is required. number - The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- tier
To Cool After Days Since Modification Greater Than This property is required. number - The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- auto_
tier_ to_ hot_ from_ cool_ enabled This property is required. bool - Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- delete_
after_ days_ since_ creation_ greater_ than This property is required. int - The age in days after creation to delete the blob snapshot.
- delete_
after_ days_ since_ last_ access_ time_ greater_ than This property is required. int - The age in days after last access time to delete the blob.
- delete_
after_ days_ since_ modification_ greater_ than This property is required. int - The age in days after last modification to delete the blob.
- tier_
to_ archive_ after_ days_ since_ creation_ greater_ than This property is required. int - The age in days after creation to archive storage.
- tier_
to_ archive_ after_ days_ since_ last_ access_ time_ greater_ than This property is required. int - The age in days after last access time to tier blobs to archive storage.
- tier_
to_ archive_ after_ days_ since_ last_ tier_ change_ greater_ than This property is required. int - The age in days after last tier change to the blobs to skip to be archived.
- tier_
to_ archive_ after_ days_ since_ modification_ greater_ than This property is required. int - The age in days after last modification to tier blobs to archive storage.
- tier_
to_ cold_ after_ days_ since_ creation_ greater_ than This property is required. int - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tier_
to_ cold_ after_ days_ since_ last_ access_ time_ greater_ than This property is required. int - The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier_
to_ cold_ after_ days_ since_ modification_ greater_ than This property is required. int - The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier_
to_ cool_ after_ days_ since_ creation_ greater_ than This property is required. int - Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tier_
to_ cool_ after_ days_ since_ last_ access_ time_ greater_ than This property is required. int - The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- tier_
to_ cool_ after_ days_ since_ modification_ greater_ than This property is required. int - The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
- auto
Tier To Hot From Cool Enabled This property is required. Boolean - Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
- delete
After Days Since Creation Greater Than This property is required. Number - The age in days after creation to delete the blob snapshot.
- delete
After Days Since Last Access Time Greater Than This property is required. Number - The age in days after last access time to delete the blob.
- delete
After Days Since Modification Greater Than This property is required. Number - The age in days after last modification to delete the blob.
- tier
To Archive After Days Since Creation Greater Than This property is required. Number - The age in days after creation to archive storage.
- tier
To Archive After Days Since Last Access Time Greater Than This property is required. Number - The age in days after last access time to tier blobs to archive storage.
- tier
To Archive After Days Since Last Tier Change Greater Than This property is required. Number - The age in days after last tier change to the blobs to skip to be archived.
- tier
To Archive After Days Since Modification Greater Than This property is required. Number - The age in days after last modification to tier blobs to archive storage.
- tier
To Cold After Days Since Creation Greater Than This property is required. Number - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- tier
To Cold After Days Since Last Access Time Greater Than This property is required. Number - The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier
To Cold After Days Since Modification Greater Than This property is required. Number - The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
- tier
To Cool After Days Since Creation Greater Than This property is required. Number - Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
- tier
To Cool After Days Since Last Access Time Greater Than This property is required. Number - The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
- tier
To Cool After Days Since Modification Greater Than This property is required. Number - The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
GetPolicyRuleActionSnapshot
- Change
Tier To Archive After Days Since Creation This property is required. int - The age in days after creation to tier blob version to archive storage.
- Change
Tier To Cool After Days Since Creation This property is required. int - The age in days after creation to tier blob version to cool storage.
- Delete
After Days Since Creation Greater Than This property is required. int - The age in days after creation to delete the blob snapshot.
- Tier
To Archive After Days Since Last Tier Change Greater Than This property is required. int - The age in days after last tier change to the blobs to skip to be archived.
- Tier
To Cold After Days Since Creation Greater Than This property is required. int - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- Change
Tier To Archive After Days Since Creation This property is required. int - The age in days after creation to tier blob version to archive storage.
- Change
Tier To Cool After Days Since Creation This property is required. int - The age in days after creation to tier blob version to cool storage.
- Delete
After Days Since Creation Greater Than This property is required. int - The age in days after creation to delete the blob snapshot.
- Tier
To Archive After Days Since Last Tier Change Greater Than This property is required. int - The age in days after last tier change to the blobs to skip to be archived.
- Tier
To Cold After Days Since Creation Greater Than This property is required. int - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change
Tier To Archive After Days Since Creation This property is required. Integer - The age in days after creation to tier blob version to archive storage.
- change
Tier To Cool After Days Since Creation This property is required. Integer - The age in days after creation to tier blob version to cool storage.
- delete
After Days Since Creation Greater Than This property is required. Integer - The age in days after creation to delete the blob snapshot.
- tier
To Archive After Days Since Last Tier Change Greater Than This property is required. Integer - The age in days after last tier change to the blobs to skip to be archived.
- tier
To Cold After Days Since Creation Greater Than This property is required. Integer - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change
Tier To Archive After Days Since Creation This property is required. number - The age in days after creation to tier blob version to archive storage.
- change
Tier To Cool After Days Since Creation This property is required. number - The age in days after creation to tier blob version to cool storage.
- delete
After Days Since Creation Greater Than This property is required. number - The age in days after creation to delete the blob snapshot.
- tier
To Archive After Days Since Last Tier Change Greater Than This property is required. number - The age in days after last tier change to the blobs to skip to be archived.
- tier
To Cold After Days Since Creation Greater Than This property is required. number - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change_
tier_ to_ archive_ after_ days_ since_ creation This property is required. int - The age in days after creation to tier blob version to archive storage.
- change_
tier_ to_ cool_ after_ days_ since_ creation This property is required. int - The age in days after creation to tier blob version to cool storage.
- delete_
after_ days_ since_ creation_ greater_ than This property is required. int - The age in days after creation to delete the blob snapshot.
- tier_
to_ archive_ after_ days_ since_ last_ tier_ change_ greater_ than This property is required. int - The age in days after last tier change to the blobs to skip to be archived.
- tier_
to_ cold_ after_ days_ since_ creation_ greater_ than This property is required. int - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change
Tier To Archive After Days Since Creation This property is required. Number - The age in days after creation to tier blob version to archive storage.
- change
Tier To Cool After Days Since Creation This property is required. Number - The age in days after creation to tier blob version to cool storage.
- delete
After Days Since Creation Greater Than This property is required. Number - The age in days after creation to delete the blob snapshot.
- tier
To Archive After Days Since Last Tier Change Greater Than This property is required. Number - The age in days after last tier change to the blobs to skip to be archived.
- tier
To Cold After Days Since Creation Greater Than This property is required. Number - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
GetPolicyRuleActionVersion
- Change
Tier To Archive After Days Since Creation This property is required. int - The age in days after creation to tier blob version to archive storage.
- Change
Tier To Cool After Days Since Creation This property is required. int - The age in days after creation to tier blob version to cool storage.
- Delete
After Days Since Creation This property is required. int - The age in days after creation to delete the blob version.
- Tier
To Archive After Days Since Last Tier Change Greater Than This property is required. int - The age in days after last tier change to the blobs to skip to be archived.
- Tier
To Cold After Days Since Creation Greater Than This property is required. int - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- Change
Tier To Archive After Days Since Creation This property is required. int - The age in days after creation to tier blob version to archive storage.
- Change
Tier To Cool After Days Since Creation This property is required. int - The age in days after creation to tier blob version to cool storage.
- Delete
After Days Since Creation This property is required. int - The age in days after creation to delete the blob version.
- Tier
To Archive After Days Since Last Tier Change Greater Than This property is required. int - The age in days after last tier change to the blobs to skip to be archived.
- Tier
To Cold After Days Since Creation Greater Than This property is required. int - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change
Tier To Archive After Days Since Creation This property is required. Integer - The age in days after creation to tier blob version to archive storage.
- change
Tier To Cool After Days Since Creation This property is required. Integer - The age in days after creation to tier blob version to cool storage.
- delete
After Days Since Creation This property is required. Integer - The age in days after creation to delete the blob version.
- tier
To Archive After Days Since Last Tier Change Greater Than This property is required. Integer - The age in days after last tier change to the blobs to skip to be archived.
- tier
To Cold After Days Since Creation Greater Than This property is required. Integer - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change
Tier To Archive After Days Since Creation This property is required. number - The age in days after creation to tier blob version to archive storage.
- change
Tier To Cool After Days Since Creation This property is required. number - The age in days after creation to tier blob version to cool storage.
- delete
After Days Since Creation This property is required. number - The age in days after creation to delete the blob version.
- tier
To Archive After Days Since Last Tier Change Greater Than This property is required. number - The age in days after last tier change to the blobs to skip to be archived.
- tier
To Cold After Days Since Creation Greater Than This property is required. number - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change_
tier_ to_ archive_ after_ days_ since_ creation This property is required. int - The age in days after creation to tier blob version to archive storage.
- change_
tier_ to_ cool_ after_ days_ since_ creation This property is required. int - The age in days after creation to tier blob version to cool storage.
- delete_
after_ days_ since_ creation This property is required. int - The age in days after creation to delete the blob version.
- tier_
to_ archive_ after_ days_ since_ last_ tier_ change_ greater_ than This property is required. int - The age in days after last tier change to the blobs to skip to be archived.
- tier_
to_ cold_ after_ days_ since_ creation_ greater_ than This property is required. int - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
- change
Tier To Archive After Days Since Creation This property is required. Number - The age in days after creation to tier blob version to archive storage.
- change
Tier To Cool After Days Since Creation This property is required. Number - The age in days after creation to tier blob version to cool storage.
- delete
After Days Since Creation This property is required. Number - The age in days after creation to delete the blob version.
- tier
To Archive After Days Since Last Tier Change Greater Than This property is required. Number - The age in days after last tier change to the blobs to skip to be archived.
- tier
To Cold After Days Since Creation Greater Than This property is required. Number - Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
GetPolicyRuleFilter
- Blob
Types This property is required. List<string> - An array of predefined values. Valid options are
blockBlob
andappendBlob
. This property is required. List<GetPolicy 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 This property is required. List<string> - An array of strings for prefixes to be matched.
- Blob
Types This property is required. []string - An array of predefined values. Valid options are
blockBlob
andappendBlob
. This property is required. []GetPolicy 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 This property is required. []string - An array of strings for prefixes to be matched.
- blob
Types This property is required. List<String> - An array of predefined values. Valid options are
blockBlob
andappendBlob
. This property is required. List<GetPolicy 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 This property is required. List<String> - An array of strings for prefixes to be matched.
- blob
Types This property is required. string[] - An array of predefined values. Valid options are
blockBlob
andappendBlob
. This property is required. GetPolicy 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 This property is required. string[] - An array of strings for prefixes to be matched.
- blob_
types This property is required. Sequence[str] - An array of predefined values. Valid options are
blockBlob
andappendBlob
. This property is required. Sequence[GetPolicy 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 This property is required. Sequence[str] - An array of strings for prefixes to be matched.
- blob
Types This property is required. List<String> - An array of predefined values. Valid options are
blockBlob
andappendBlob
. This property is required. 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 This property is required. List<String> - An array of strings for prefixes to be matched.
GetPolicyRuleFilterMatchBlobIndexTag
- Name
This property is required. string - The filter tag name used for tag based filtering for blob objects.
- Operation
This property is required. string - The comparison operator which is used for object comparison and filtering. Possible value is
==
. Defaults to==
. - Value
This property is required. string - The filter tag value used for tag based filtering for blob objects.
- Name
This property is required. string - The filter tag name used for tag based filtering for blob objects.
- Operation
This property is required. string - The comparison operator which is used for object comparison and filtering. Possible value is
==
. Defaults to==
. - Value
This property is required. string - The filter tag value used for tag based filtering for blob objects.
- name
This property is required. String - The filter tag name used for tag based filtering for blob objects.
- operation
This property is required. String - The comparison operator which is used for object comparison and filtering. Possible value is
==
. Defaults to==
. - value
This property is required. String - The filter tag value used for tag based filtering for blob objects.
- name
This property is required. string - The filter tag name used for tag based filtering for blob objects.
- operation
This property is required. string - The comparison operator which is used for object comparison and filtering. Possible value is
==
. Defaults to==
. - value
This property is required. string - The filter tag value used for tag based filtering for blob objects.
- name
This property is required. str - The filter tag name used for tag based filtering for blob objects.
- operation
This property is required. str - The comparison operator which is used for object comparison and filtering. Possible value is
==
. Defaults to==
. - value
This property is required. str - The filter tag value used for tag based filtering for blob objects.
- name
This property is required. String - The filter tag name used for tag based filtering for blob objects.
- operation
This property is required. String - The comparison operator which is used for object comparison and filtering. Possible value is
==
. Defaults to==
. - value
This property is required. String - The filter tag value used for tag based filtering for blob objects.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.