azure-native.storage.ManagementPolicy
Explore with Pulumi AI
The Get Storage Account ManagementPolicies operation response. API Version: 2021-02-01.
Example Usage
StorageAccountSetManagementPolicies
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
{
AccountName = "sto9699",
ManagementPolicyName = "default",
Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
{
Rules = new[]
{
new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
{
Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
{
Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
{
BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 1000,
},
TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 90,
},
TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 30,
},
},
Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 30,
},
},
},
Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
{
BlobTypes = new[]
{
"blockBlob",
},
PrefixMatch = new[]
{
"olcmtestcontainer1",
},
},
},
Enabled = true,
Name = "olcmtest1",
Type = "Lifecycle",
},
new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
{
Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
{
Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
{
BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 1000,
},
TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 90,
},
TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 30,
},
},
},
Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
{
BlobIndexMatch = new[]
{
new AzureNative.Storage.Inputs.TagFilterArgs
{
Name = "tag1",
Op = "==",
Value = "val1",
},
new AzureNative.Storage.Inputs.TagFilterArgs
{
Name = "tag2",
Op = "==",
Value = "val2",
},
},
BlobTypes = new[]
{
"blockBlob",
},
PrefixMatch = new[]
{
"olcmtestcontainer2",
},
},
},
Enabled = true,
Name = "olcmtest2",
Type = "Lifecycle",
},
},
},
ResourceGroupName = "res7687",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.ManagementPolicy;
import com.pulumi.azurenative.storage.ManagementPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()
.accountName("sto9699")
.managementPolicyName("default")
.policy(Map.of("rules",
Map.ofEntries(
Map.entry("definition", Map.ofEntries(
Map.entry("actions", Map.ofEntries(
Map.entry("baseBlob", Map.ofEntries(
Map.entry("delete", Map.of("daysAfterModificationGreaterThan", 1000)),
Map.entry("tierToArchive", Map.of("daysAfterModificationGreaterThan", 90)),
Map.entry("tierToCool", Map.of("daysAfterModificationGreaterThan", 30))
)),
Map.entry("snapshot", Map.of("delete", Map.of("daysAfterCreationGreaterThan", 30)))
)),
Map.entry("filters", Map.ofEntries(
Map.entry("blobTypes", "blockBlob"),
Map.entry("prefixMatch", "olcmtestcontainer1")
))
)),
Map.entry("enabled", true),
Map.entry("name", "olcmtest1"),
Map.entry("type", "Lifecycle")
),
Map.ofEntries(
Map.entry("definition", Map.ofEntries(
Map.entry("actions", Map.of("baseBlob", Map.ofEntries(
Map.entry("delete", Map.of("daysAfterModificationGreaterThan", 1000)),
Map.entry("tierToArchive", Map.of("daysAfterModificationGreaterThan", 90)),
Map.entry("tierToCool", Map.of("daysAfterModificationGreaterThan", 30))
))),
Map.entry("filters", Map.ofEntries(
Map.entry("blobIndexMatch",
Map.ofEntries(
Map.entry("name", "tag1"),
Map.entry("op", "=="),
Map.entry("value", "val1")
),
Map.ofEntries(
Map.entry("name", "tag2"),
Map.entry("op", "=="),
Map.entry("value", "val2")
)),
Map.entry("blobTypes", "blockBlob"),
Map.entry("prefixMatch", "olcmtestcontainer2")
))
)),
Map.entry("enabled", true),
Map.entry("name", "olcmtest2"),
Map.entry("type", "Lifecycle")
)))
.resourceGroupName("res7687")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
account_name="sto9699",
management_policy_name="default",
policy=azure_native.storage.ManagementPolicySchemaResponseArgs(
rules=[
{
"definition": {
"actions": {
"baseBlob": {
"delete": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=1000,
),
"tierToArchive": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=90,
),
"tierToCool": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=30,
),
},
"snapshot": {
"delete": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=30,
),
},
},
"filters": azure_native.storage.ManagementPolicyFilterArgs(
blob_types=["blockBlob"],
prefix_match=["olcmtestcontainer1"],
),
},
"enabled": True,
"name": "olcmtest1",
"type": "Lifecycle",
},
{
"definition": {
"actions": {
"baseBlob": {
"delete": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=1000,
),
"tierToArchive": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=90,
),
"tierToCool": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=30,
),
},
},
"filters": {
"blobIndexMatch": [
azure_native.storage.TagFilterArgs(
name="tag1",
op="==",
value="val1",
),
azure_native.storage.TagFilterArgs(
name="tag2",
op="==",
value="val2",
),
],
"blobTypes": ["blockBlob"],
"prefixMatch": ["olcmtestcontainer2"],
},
},
"enabled": True,
"name": "olcmtest2",
"type": "Lifecycle",
},
],
),
resource_group_name="res7687")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
accountName: "sto9699",
managementPolicyName: "default",
policy: {
rules: [
{
definition: {
actions: {
baseBlob: {
"delete": {
daysAfterModificationGreaterThan: 1000,
},
tierToArchive: {
daysAfterModificationGreaterThan: 90,
},
tierToCool: {
daysAfterModificationGreaterThan: 30,
},
},
snapshot: {
"delete": {
daysAfterCreationGreaterThan: 30,
},
},
},
filters: {
blobTypes: ["blockBlob"],
prefixMatch: ["olcmtestcontainer1"],
},
},
enabled: true,
name: "olcmtest1",
type: "Lifecycle",
},
{
definition: {
actions: {
baseBlob: {
"delete": {
daysAfterModificationGreaterThan: 1000,
},
tierToArchive: {
daysAfterModificationGreaterThan: 90,
},
tierToCool: {
daysAfterModificationGreaterThan: 30,
},
},
},
filters: {
blobIndexMatch: [
{
name: "tag1",
op: "==",
value: "val1",
},
{
name: "tag2",
op: "==",
value: "val2",
},
],
blobTypes: ["blockBlob"],
prefixMatch: ["olcmtestcontainer2"],
},
},
enabled: true,
name: "olcmtest2",
type: "Lifecycle",
},
],
},
resourceGroupName: "res7687",
});
resources:
managementPolicy:
type: azure-native:storage:ManagementPolicy
properties:
accountName: sto9699
managementPolicyName: default
policy:
rules:
- definition:
actions:
baseBlob:
delete:
daysAfterModificationGreaterThan: 1000
tierToArchive:
daysAfterModificationGreaterThan: 90
tierToCool:
daysAfterModificationGreaterThan: 30
snapshot:
delete:
daysAfterCreationGreaterThan: 30
filters:
blobTypes:
- blockBlob
prefixMatch:
- olcmtestcontainer1
enabled: true
name: olcmtest1
type: Lifecycle
- definition:
actions:
baseBlob:
delete:
daysAfterModificationGreaterThan: 1000
tierToArchive:
daysAfterModificationGreaterThan: 90
tierToCool:
daysAfterModificationGreaterThan: 30
filters:
blobIndexMatch:
- name: tag1
op: ==
value: val1
- name: tag2
op: ==
value: val2
blobTypes:
- blockBlob
prefixMatch:
- olcmtestcontainer2
enabled: true
name: olcmtest2
type: Lifecycle
resourceGroupName: res7687
StorageAccountSetManagementPolicyForBlockAndAppendBlobs
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
{
AccountName = "sto9699",
ManagementPolicyName = "default",
Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
{
Rules = new[]
{
new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
{
Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
{
Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
{
BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 90,
},
},
Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 90,
},
},
Version = new AzureNative.Storage.Inputs.ManagementPolicyVersionArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 90,
},
},
},
Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
{
BlobTypes = new[]
{
"blockBlob",
"appendBlob",
},
PrefixMatch = new[]
{
"olcmtestcontainer1",
},
},
},
Enabled = true,
Name = "olcmtest1",
Type = "Lifecycle",
},
},
},
ResourceGroupName = "res7687",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.ManagementPolicy;
import com.pulumi.azurenative.storage.ManagementPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()
.accountName("sto9699")
.managementPolicyName("default")
.policy(Map.of("rules", Map.ofEntries(
Map.entry("definition", Map.ofEntries(
Map.entry("actions", Map.ofEntries(
Map.entry("baseBlob", Map.of("delete", Map.of("daysAfterModificationGreaterThan", 90))),
Map.entry("snapshot", Map.of("delete", Map.of("daysAfterCreationGreaterThan", 90))),
Map.entry("version", Map.of("delete", Map.of("daysAfterCreationGreaterThan", 90)))
)),
Map.entry("filters", Map.ofEntries(
Map.entry("blobTypes",
"blockBlob",
"appendBlob"),
Map.entry("prefixMatch", "olcmtestcontainer1")
))
)),
Map.entry("enabled", true),
Map.entry("name", "olcmtest1"),
Map.entry("type", "Lifecycle")
)))
.resourceGroupName("res7687")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
account_name="sto9699",
management_policy_name="default",
policy=azure_native.storage.ManagementPolicySchemaResponseArgs(
rules=[{
"definition": {
"actions": {
"baseBlob": {
"delete": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=90,
),
},
"snapshot": {
"delete": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=90,
),
},
"version": {
"delete": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=90,
),
},
},
"filters": azure_native.storage.ManagementPolicyFilterArgs(
blob_types=[
"blockBlob",
"appendBlob",
],
prefix_match=["olcmtestcontainer1"],
),
},
"enabled": True,
"name": "olcmtest1",
"type": "Lifecycle",
}],
),
resource_group_name="res7687")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
accountName: "sto9699",
managementPolicyName: "default",
policy: {
rules: [{
definition: {
actions: {
baseBlob: {
"delete": {
daysAfterModificationGreaterThan: 90,
},
},
snapshot: {
"delete": {
daysAfterCreationGreaterThan: 90,
},
},
version: {
"delete": {
daysAfterCreationGreaterThan: 90,
},
},
},
filters: {
blobTypes: [
"blockBlob",
"appendBlob",
],
prefixMatch: ["olcmtestcontainer1"],
},
},
enabled: true,
name: "olcmtest1",
type: "Lifecycle",
}],
},
resourceGroupName: "res7687",
});
resources:
managementPolicy:
type: azure-native:storage:ManagementPolicy
properties:
accountName: sto9699
managementPolicyName: default
policy:
rules:
- definition:
actions:
baseBlob:
delete:
daysAfterModificationGreaterThan: 90
snapshot:
delete:
daysAfterCreationGreaterThan: 90
version:
delete:
daysAfterCreationGreaterThan: 90
filters:
blobTypes:
- blockBlob
- appendBlob
prefixMatch:
- olcmtestcontainer1
enabled: true
name: olcmtest1
type: Lifecycle
resourceGroupName: res7687
StorageAccountSetManagementPolicyWithSnapshotAndVersion
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
{
AccountName = "sto9699",
ManagementPolicyName = "default",
Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
{
Rules = new[]
{
new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
{
Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
{
Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
{
BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 1000,
},
TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 90,
},
TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterModificationGreaterThan = 30,
},
},
Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 1000,
},
TierToArchive = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 90,
},
TierToCool = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 30,
},
},
Version = new AzureNative.Storage.Inputs.ManagementPolicyVersionArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 1000,
},
TierToArchive = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 90,
},
TierToCool = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 30,
},
},
},
Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
{
BlobTypes = new[]
{
"blockBlob",
},
PrefixMatch = new[]
{
"olcmtestcontainer1",
},
},
},
Enabled = true,
Name = "olcmtest1",
Type = "Lifecycle",
},
},
},
ResourceGroupName = "res7687",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.ManagementPolicy;
import com.pulumi.azurenative.storage.ManagementPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()
.accountName("sto9699")
.managementPolicyName("default")
.policy(Map.of("rules", Map.ofEntries(
Map.entry("definition", Map.ofEntries(
Map.entry("actions", Map.ofEntries(
Map.entry("baseBlob", Map.ofEntries(
Map.entry("delete", Map.of("daysAfterModificationGreaterThan", 1000)),
Map.entry("tierToArchive", Map.of("daysAfterModificationGreaterThan", 90)),
Map.entry("tierToCool", Map.of("daysAfterModificationGreaterThan", 30))
)),
Map.entry("snapshot", Map.ofEntries(
Map.entry("delete", Map.of("daysAfterCreationGreaterThan", 1000)),
Map.entry("tierToArchive", Map.of("daysAfterCreationGreaterThan", 90)),
Map.entry("tierToCool", Map.of("daysAfterCreationGreaterThan", 30))
)),
Map.entry("version", Map.ofEntries(
Map.entry("delete", Map.of("daysAfterCreationGreaterThan", 1000)),
Map.entry("tierToArchive", Map.of("daysAfterCreationGreaterThan", 90)),
Map.entry("tierToCool", Map.of("daysAfterCreationGreaterThan", 30))
))
)),
Map.entry("filters", Map.ofEntries(
Map.entry("blobTypes", "blockBlob"),
Map.entry("prefixMatch", "olcmtestcontainer1")
))
)),
Map.entry("enabled", true),
Map.entry("name", "olcmtest1"),
Map.entry("type", "Lifecycle")
)))
.resourceGroupName("res7687")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
account_name="sto9699",
management_policy_name="default",
policy=azure_native.storage.ManagementPolicySchemaResponseArgs(
rules=[{
"definition": {
"actions": {
"baseBlob": {
"delete": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=1000,
),
"tierToArchive": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=90,
),
"tierToCool": azure_native.storage.DateAfterModificationArgs(
days_after_modification_greater_than=30,
),
},
"snapshot": {
"delete": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=1000,
),
"tierToArchive": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=90,
),
"tierToCool": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=30,
),
},
"version": {
"delete": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=1000,
),
"tierToArchive": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=90,
),
"tierToCool": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=30,
),
},
},
"filters": azure_native.storage.ManagementPolicyFilterArgs(
blob_types=["blockBlob"],
prefix_match=["olcmtestcontainer1"],
),
},
"enabled": True,
"name": "olcmtest1",
"type": "Lifecycle",
}],
),
resource_group_name="res7687")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
accountName: "sto9699",
managementPolicyName: "default",
policy: {
rules: [{
definition: {
actions: {
baseBlob: {
"delete": {
daysAfterModificationGreaterThan: 1000,
},
tierToArchive: {
daysAfterModificationGreaterThan: 90,
},
tierToCool: {
daysAfterModificationGreaterThan: 30,
},
},
snapshot: {
"delete": {
daysAfterCreationGreaterThan: 1000,
},
tierToArchive: {
daysAfterCreationGreaterThan: 90,
},
tierToCool: {
daysAfterCreationGreaterThan: 30,
},
},
version: {
"delete": {
daysAfterCreationGreaterThan: 1000,
},
tierToArchive: {
daysAfterCreationGreaterThan: 90,
},
tierToCool: {
daysAfterCreationGreaterThan: 30,
},
},
},
filters: {
blobTypes: ["blockBlob"],
prefixMatch: ["olcmtestcontainer1"],
},
},
enabled: true,
name: "olcmtest1",
type: "Lifecycle",
}],
},
resourceGroupName: "res7687",
});
resources:
managementPolicy:
type: azure-native:storage:ManagementPolicy
properties:
accountName: sto9699
managementPolicyName: default
policy:
rules:
- definition:
actions:
baseBlob:
delete:
daysAfterModificationGreaterThan: 1000
tierToArchive:
daysAfterModificationGreaterThan: 90
tierToCool:
daysAfterModificationGreaterThan: 30
snapshot:
delete:
daysAfterCreationGreaterThan: 1000
tierToArchive:
daysAfterCreationGreaterThan: 90
tierToCool:
daysAfterCreationGreaterThan: 30
version:
delete:
daysAfterCreationGreaterThan: 1000
tierToArchive:
daysAfterCreationGreaterThan: 90
tierToCool:
daysAfterCreationGreaterThan: 30
filters:
blobTypes:
- blockBlob
prefixMatch:
- olcmtestcontainer1
enabled: true
name: olcmtest1
type: Lifecycle
resourceGroupName: res7687
StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managementPolicy = new AzureNative.Storage.ManagementPolicy("managementPolicy", new()
{
AccountName = "sto9699",
ManagementPolicyName = "default",
Policy = new AzureNative.Storage.Inputs.ManagementPolicySchemaArgs
{
Rules = new[]
{
new AzureNative.Storage.Inputs.ManagementPolicyRuleArgs
{
Definition = new AzureNative.Storage.Inputs.ManagementPolicyDefinitionArgs
{
Actions = new AzureNative.Storage.Inputs.ManagementPolicyActionArgs
{
BaseBlob = new AzureNative.Storage.Inputs.ManagementPolicyBaseBlobArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterLastAccessTimeGreaterThan = 1000,
},
EnableAutoTierToHotFromCool = true,
TierToArchive = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterLastAccessTimeGreaterThan = 90,
},
TierToCool = new AzureNative.Storage.Inputs.DateAfterModificationArgs
{
DaysAfterLastAccessTimeGreaterThan = 30,
},
},
Snapshot = new AzureNative.Storage.Inputs.ManagementPolicySnapShotArgs
{
Delete = new AzureNative.Storage.Inputs.DateAfterCreationArgs
{
DaysAfterCreationGreaterThan = 30,
},
},
},
Filters = new AzureNative.Storage.Inputs.ManagementPolicyFilterArgs
{
BlobTypes = new[]
{
"blockBlob",
},
PrefixMatch = new[]
{
"olcmtestcontainer",
},
},
},
Enabled = true,
Name = "olcmtest",
Type = "Lifecycle",
},
},
},
ResourceGroupName = "res7687",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.ManagementPolicy;
import com.pulumi.azurenative.storage.ManagementPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var managementPolicy = new ManagementPolicy("managementPolicy", ManagementPolicyArgs.builder()
.accountName("sto9699")
.managementPolicyName("default")
.policy(Map.of("rules", Map.ofEntries(
Map.entry("definition", Map.ofEntries(
Map.entry("actions", Map.ofEntries(
Map.entry("baseBlob", Map.ofEntries(
Map.entry("delete", Map.of("daysAfterLastAccessTimeGreaterThan", 1000)),
Map.entry("enableAutoTierToHotFromCool", true),
Map.entry("tierToArchive", Map.of("daysAfterLastAccessTimeGreaterThan", 90)),
Map.entry("tierToCool", Map.of("daysAfterLastAccessTimeGreaterThan", 30))
)),
Map.entry("snapshot", Map.of("delete", Map.of("daysAfterCreationGreaterThan", 30)))
)),
Map.entry("filters", Map.ofEntries(
Map.entry("blobTypes", "blockBlob"),
Map.entry("prefixMatch", "olcmtestcontainer")
))
)),
Map.entry("enabled", true),
Map.entry("name", "olcmtest"),
Map.entry("type", "Lifecycle")
)))
.resourceGroupName("res7687")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
management_policy = azure_native.storage.ManagementPolicy("managementPolicy",
account_name="sto9699",
management_policy_name="default",
policy=azure_native.storage.ManagementPolicySchemaResponseArgs(
rules=[{
"definition": {
"actions": {
"baseBlob": {
"delete": azure_native.storage.DateAfterModificationArgs(
days_after_last_access_time_greater_than=1000,
),
"enableAutoTierToHotFromCool": True,
"tierToArchive": azure_native.storage.DateAfterModificationArgs(
days_after_last_access_time_greater_than=90,
),
"tierToCool": azure_native.storage.DateAfterModificationArgs(
days_after_last_access_time_greater_than=30,
),
},
"snapshot": {
"delete": azure_native.storage.DateAfterCreationArgs(
days_after_creation_greater_than=30,
),
},
},
"filters": azure_native.storage.ManagementPolicyFilterArgs(
blob_types=["blockBlob"],
prefix_match=["olcmtestcontainer"],
),
},
"enabled": True,
"name": "olcmtest",
"type": "Lifecycle",
}],
),
resource_group_name="res7687")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managementPolicy = new azure_native.storage.ManagementPolicy("managementPolicy", {
accountName: "sto9699",
managementPolicyName: "default",
policy: {
rules: [{
definition: {
actions: {
baseBlob: {
"delete": {
daysAfterLastAccessTimeGreaterThan: 1000,
},
enableAutoTierToHotFromCool: true,
tierToArchive: {
daysAfterLastAccessTimeGreaterThan: 90,
},
tierToCool: {
daysAfterLastAccessTimeGreaterThan: 30,
},
},
snapshot: {
"delete": {
daysAfterCreationGreaterThan: 30,
},
},
},
filters: {
blobTypes: ["blockBlob"],
prefixMatch: ["olcmtestcontainer"],
},
},
enabled: true,
name: "olcmtest",
type: "Lifecycle",
}],
},
resourceGroupName: "res7687",
});
resources:
managementPolicy:
type: azure-native:storage:ManagementPolicy
properties:
accountName: sto9699
managementPolicyName: default
policy:
rules:
- definition:
actions:
baseBlob:
delete:
daysAfterLastAccessTimeGreaterThan: 1000
enableAutoTierToHotFromCool: true
tierToArchive:
daysAfterLastAccessTimeGreaterThan: 90
tierToCool:
daysAfterLastAccessTimeGreaterThan: 30
snapshot:
delete:
daysAfterCreationGreaterThan: 30
filters:
blobTypes:
- blockBlob
prefixMatch:
- olcmtestcontainer
enabled: true
name: olcmtest
type: Lifecycle
resourceGroupName: res7687
Create ManagementPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementPolicy(name: string, args: ManagementPolicyArgs, opts?: CustomResourceOptions);
@overload
def ManagementPolicy(resource_name: str,
args: ManagementPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
policy: Optional[ManagementPolicySchemaArgs] = None,
resource_group_name: Optional[str] = None,
management_policy_name: Optional[str] = None)
func NewManagementPolicy(ctx *Context, name string, args ManagementPolicyArgs, opts ...ResourceOption) (*ManagementPolicy, error)
public ManagementPolicy(string name, ManagementPolicyArgs args, CustomResourceOptions? opts = null)
public ManagementPolicy(String name, ManagementPolicyArgs args)
public ManagementPolicy(String name, ManagementPolicyArgs args, CustomResourceOptions options)
type: azure-native:storage:ManagementPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ManagementPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ManagementPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ManagementPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var managementPolicyResource = new AzureNative.Storage.ManagementPolicy("managementPolicyResource", new()
{
AccountName = "string",
Policy =
{
{ "rules", new[]
{
{
{ "definition",
{
{ "actions",
{
{ "baseBlob",
{
{ "delete",
{
{ "daysAfterLastAccessTimeGreaterThan", 0 },
{ "daysAfterModificationGreaterThan", 0 },
} },
{ "enableAutoTierToHotFromCool", false },
{ "tierToArchive",
{
{ "daysAfterLastAccessTimeGreaterThan", 0 },
{ "daysAfterModificationGreaterThan", 0 },
} },
{ "tierToCool",
{
{ "daysAfterLastAccessTimeGreaterThan", 0 },
{ "daysAfterModificationGreaterThan", 0 },
} },
} },
{ "snapshot",
{
{ "delete",
{
{ "daysAfterCreationGreaterThan", 0 },
} },
{ "tierToArchive",
{
{ "daysAfterCreationGreaterThan", 0 },
} },
{ "tierToCool",
{
{ "daysAfterCreationGreaterThan", 0 },
} },
} },
{ "version",
{
{ "delete",
{
{ "daysAfterCreationGreaterThan", 0 },
} },
{ "tierToArchive",
{
{ "daysAfterCreationGreaterThan", 0 },
} },
{ "tierToCool",
{
{ "daysAfterCreationGreaterThan", 0 },
} },
} },
} },
{ "filters",
{
{ "blobTypes", new[]
{
"string",
} },
{ "blobIndexMatch", new[]
{
{
{ "name", "string" },
{ "op", "string" },
{ "value", "string" },
},
} },
{ "prefixMatch", new[]
{
"string",
} },
} },
} },
{ "name", "string" },
{ "type", "string" },
{ "enabled", false },
},
} },
},
ResourceGroupName = "string",
ManagementPolicyName = "string",
});
example, err := storage.NewManagementPolicy(ctx, "managementPolicyResource", &storage.ManagementPolicyArgs{
AccountName: "string",
Policy: map[string]interface{}{
"rules": []map[string]interface{}{
map[string]interface{}{
"definition": map[string]interface{}{
"actions": map[string]interface{}{
"baseBlob": map[string]interface{}{
"delete": map[string]interface{}{
"daysAfterLastAccessTimeGreaterThan": 0,
"daysAfterModificationGreaterThan": 0,
},
"enableAutoTierToHotFromCool": false,
"tierToArchive": map[string]interface{}{
"daysAfterLastAccessTimeGreaterThan": 0,
"daysAfterModificationGreaterThan": 0,
},
"tierToCool": map[string]interface{}{
"daysAfterLastAccessTimeGreaterThan": 0,
"daysAfterModificationGreaterThan": 0,
},
},
"snapshot": map[string]interface{}{
"delete": map[string]interface{}{
"daysAfterCreationGreaterThan": 0,
},
"tierToArchive": map[string]interface{}{
"daysAfterCreationGreaterThan": 0,
},
"tierToCool": map[string]interface{}{
"daysAfterCreationGreaterThan": 0,
},
},
"version": map[string]interface{}{
"delete": map[string]interface{}{
"daysAfterCreationGreaterThan": 0,
},
"tierToArchive": map[string]interface{}{
"daysAfterCreationGreaterThan": 0,
},
"tierToCool": map[string]interface{}{
"daysAfterCreationGreaterThan": 0,
},
},
},
"filters": map[string]interface{}{
"blobTypes": []string{
"string",
},
"blobIndexMatch": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"op": "string",
"value": "string",
},
},
"prefixMatch": []string{
"string",
},
},
},
"name": "string",
"type": "string",
"enabled": false,
},
},
},
ResourceGroupName: "string",
ManagementPolicyName: "string",
})
var managementPolicyResource = new ManagementPolicy("managementPolicyResource", ManagementPolicyArgs.builder()
.accountName("string")
.policy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.managementPolicyName("string")
.build());
management_policy_resource = azure_native.storage.ManagementPolicy("managementPolicyResource",
account_name=string,
policy={
rules: [{
definition: {
actions: {
baseBlob: {
delete: {
daysAfterLastAccessTimeGreaterThan: 0,
daysAfterModificationGreaterThan: 0,
},
enableAutoTierToHotFromCool: False,
tierToArchive: {
daysAfterLastAccessTimeGreaterThan: 0,
daysAfterModificationGreaterThan: 0,
},
tierToCool: {
daysAfterLastAccessTimeGreaterThan: 0,
daysAfterModificationGreaterThan: 0,
},
},
snapshot: {
delete: {
daysAfterCreationGreaterThan: 0,
},
tierToArchive: {
daysAfterCreationGreaterThan: 0,
},
tierToCool: {
daysAfterCreationGreaterThan: 0,
},
},
version: {
delete: {
daysAfterCreationGreaterThan: 0,
},
tierToArchive: {
daysAfterCreationGreaterThan: 0,
},
tierToCool: {
daysAfterCreationGreaterThan: 0,
},
},
},
filters: {
blobTypes: [string],
blobIndexMatch: [{
name: string,
op: string,
value: string,
}],
prefixMatch: [string],
},
},
name: string,
type: string,
enabled: False,
}],
},
resource_group_name=string,
management_policy_name=string)
const managementPolicyResource = new azure_native.storage.ManagementPolicy("managementPolicyResource", {
accountName: "string",
policy: {
rules: [{
definition: {
actions: {
baseBlob: {
"delete": {
daysAfterLastAccessTimeGreaterThan: 0,
daysAfterModificationGreaterThan: 0,
},
enableAutoTierToHotFromCool: false,
tierToArchive: {
daysAfterLastAccessTimeGreaterThan: 0,
daysAfterModificationGreaterThan: 0,
},
tierToCool: {
daysAfterLastAccessTimeGreaterThan: 0,
daysAfterModificationGreaterThan: 0,
},
},
snapshot: {
"delete": {
daysAfterCreationGreaterThan: 0,
},
tierToArchive: {
daysAfterCreationGreaterThan: 0,
},
tierToCool: {
daysAfterCreationGreaterThan: 0,
},
},
version: {
"delete": {
daysAfterCreationGreaterThan: 0,
},
tierToArchive: {
daysAfterCreationGreaterThan: 0,
},
tierToCool: {
daysAfterCreationGreaterThan: 0,
},
},
},
filters: {
blobTypes: ["string"],
blobIndexMatch: [{
name: "string",
op: "string",
value: "string",
}],
prefixMatch: ["string"],
},
},
name: "string",
type: "string",
enabled: false,
}],
},
resourceGroupName: "string",
managementPolicyName: "string",
});
type: azure-native:storage:ManagementPolicy
properties:
accountName: string
managementPolicyName: string
policy:
rules:
- definition:
actions:
baseBlob:
delete:
daysAfterLastAccessTimeGreaterThan: 0
daysAfterModificationGreaterThan: 0
enableAutoTierToHotFromCool: false
tierToArchive:
daysAfterLastAccessTimeGreaterThan: 0
daysAfterModificationGreaterThan: 0
tierToCool:
daysAfterLastAccessTimeGreaterThan: 0
daysAfterModificationGreaterThan: 0
snapshot:
delete:
daysAfterCreationGreaterThan: 0
tierToArchive:
daysAfterCreationGreaterThan: 0
tierToCool:
daysAfterCreationGreaterThan: 0
version:
delete:
daysAfterCreationGreaterThan: 0
tierToArchive:
daysAfterCreationGreaterThan: 0
tierToCool:
daysAfterCreationGreaterThan: 0
filters:
blobIndexMatch:
- name: string
op: string
value: string
blobTypes:
- string
prefixMatch:
- string
enabled: false
name: string
type: string
resourceGroupName: string
ManagementPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ManagementPolicy resource accepts the following input properties:
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Policy
Pulumi.
Azure Native. Storage. Inputs. Management Policy Schema - The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Management
Policy stringName - The name of the Storage Account Management Policy. It should always be 'default'
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Policy
Management
Policy Schema Args - The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Management
Policy stringName - The name of the Storage Account Management Policy. It should always be 'default'
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy
Management
Policy Schema - The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- management
Policy StringName - The name of the Storage Account Management Policy. It should always be 'default'
- account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy
Management
Policy Schema - The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- management
Policy stringName - The name of the Storage Account Management Policy. It should always be 'default'
- account_
name str - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy
Management
Policy Schema Args - The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- management_
policy_ strname - The name of the Storage Account Management Policy. It should always be 'default'
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy Property Map
- The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- management
Policy StringName - The name of the Storage Account Management Policy. It should always be 'default'
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - Returns the date and time the ManagementPolicies was last modified.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - Returns the date and time the ManagementPolicies was last modified.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - Returns the date and time the ManagementPolicies was last modified.
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringTime - Returns the date and time the ManagementPolicies was last modified.
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strtime - Returns the date and time the ManagementPolicies was last modified.
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - Returns the date and time the ManagementPolicies was last modified.
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
DateAfterCreation, DateAfterCreationArgs
- Days
After doubleCreation Greater Than - Value indicating the age in days after creation
- Days
After float64Creation Greater Than - Value indicating the age in days after creation
- days
After DoubleCreation Greater Than - Value indicating the age in days after creation
- days
After numberCreation Greater Than - Value indicating the age in days after creation
- days_
after_ floatcreation_ greater_ than - Value indicating the age in days after creation
- days
After NumberCreation Greater Than - Value indicating the age in days after creation
DateAfterCreationResponse, DateAfterCreationResponseArgs
- Days
After doubleCreation Greater Than - Value indicating the age in days after creation
- Days
After float64Creation Greater Than - Value indicating the age in days after creation
- days
After DoubleCreation Greater Than - Value indicating the age in days after creation
- days
After numberCreation Greater Than - Value indicating the age in days after creation
- days_
after_ floatcreation_ greater_ than - Value indicating the age in days after creation
- days
After NumberCreation Greater Than - Value indicating the age in days after creation
DateAfterModification, DateAfterModificationArgs
- Days
After doubleLast Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- Days
After doubleModification Greater Than - Value indicating the age in days after last modification
- Days
After float64Last Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- Days
After float64Modification Greater Than - Value indicating the age in days after last modification
- days
After DoubleLast Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- days
After DoubleModification Greater Than - Value indicating the age in days after last modification
- days
After numberLast Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- days
After numberModification Greater Than - Value indicating the age in days after last modification
- days_
after_ floatlast_ access_ time_ greater_ than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- days_
after_ floatmodification_ greater_ than - Value indicating the age in days after last modification
- days
After NumberLast Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- days
After NumberModification Greater Than - Value indicating the age in days after last modification
DateAfterModificationResponse, DateAfterModificationResponseArgs
- Days
After doubleLast Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- Days
After doubleModification Greater Than - Value indicating the age in days after last modification
- Days
After float64Last Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- Days
After float64Modification Greater Than - Value indicating the age in days after last modification
- days
After DoubleLast Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- days
After DoubleModification Greater Than - Value indicating the age in days after last modification
- days
After numberLast Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- days
After numberModification Greater Than - Value indicating the age in days after last modification
- days_
after_ floatlast_ access_ time_ greater_ than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- days_
after_ floatmodification_ greater_ than - Value indicating the age in days after last modification
- days
After NumberLast Access Time Greater Than - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy
- days
After NumberModification Greater Than - Value indicating the age in days after last modification
ManagementPolicyAction, ManagementPolicyActionArgs
- Base
Blob Pulumi.Azure Native. Storage. Inputs. Management Policy Base Blob - The management policy action for base blob
- Snapshot
Pulumi.
Azure Native. Storage. Inputs. Management Policy Snap Shot - The management policy action for snapshot
- Version
Pulumi.
Azure Native. Storage. Inputs. Management Policy Version - The management policy action for version
- Base
Blob ManagementPolicy Base Blob - The management policy action for base blob
- Snapshot
Management
Policy Snap Shot - The management policy action for snapshot
- Version
Management
Policy Version - The management policy action for version
- base
Blob ManagementPolicy Base Blob - The management policy action for base blob
- snapshot
Management
Policy Snap Shot - The management policy action for snapshot
- version
Management
Policy Version - The management policy action for version
- base
Blob ManagementPolicy Base Blob - The management policy action for base blob
- snapshot
Management
Policy Snap Shot - The management policy action for snapshot
- version
Management
Policy Version - The management policy action for version
- base_
blob ManagementPolicy Base Blob - The management policy action for base blob
- snapshot
Management
Policy Snap Shot - The management policy action for snapshot
- version
Management
Policy Version - The management policy action for version
- base
Blob Property Map - The management policy action for base blob
- snapshot Property Map
- The management policy action for snapshot
- version Property Map
- The management policy action for version
ManagementPolicyActionResponse, ManagementPolicyActionResponseArgs
- Base
Blob Pulumi.Azure Native. Storage. Inputs. Management Policy Base Blob Response - The management policy action for base blob
- Snapshot
Pulumi.
Azure Native. Storage. Inputs. Management Policy Snap Shot Response - The management policy action for snapshot
- Version
Pulumi.
Azure Native. Storage. Inputs. Management Policy Version Response - The management policy action for version
- Base
Blob ManagementPolicy Base Blob Response - The management policy action for base blob
- Snapshot
Management
Policy Snap Shot Response - The management policy action for snapshot
- Version
Management
Policy Version Response - The management policy action for version
- base
Blob ManagementPolicy Base Blob Response - The management policy action for base blob
- snapshot
Management
Policy Snap Shot Response - The management policy action for snapshot
- version
Management
Policy Version Response - The management policy action for version
- base
Blob ManagementPolicy Base Blob Response - The management policy action for base blob
- snapshot
Management
Policy Snap Shot Response - The management policy action for snapshot
- version
Management
Policy Version Response - The management policy action for version
- base_
blob ManagementPolicy Base Blob Response - The management policy action for base blob
- snapshot
Management
Policy Snap Shot Response - The management policy action for snapshot
- version
Management
Policy Version Response - The management policy action for version
- base
Blob Property Map - The management policy action for base blob
- snapshot Property Map
- The management policy action for snapshot
- version Property Map
- The management policy action for version
ManagementPolicyBaseBlob, ManagementPolicyBaseBlobArgs
- Delete
Pulumi.
Azure Native. Storage. Inputs. Date After Modification - The function to delete the blob
- Enable
Auto boolTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- Tier
To Pulumi.Archive Azure Native. Storage. Inputs. Date After Modification - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- Tier
To Pulumi.Cool Azure Native. Storage. Inputs. Date After Modification - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- Delete
Date
After Modification - The function to delete the blob
- Enable
Auto boolTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- Tier
To DateArchive After Modification - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- Tier
To DateCool After Modification - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- delete
Date
After Modification - The function to delete the blob
- enable
Auto BooleanTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- tier
To DateArchive After Modification - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- tier
To DateCool After Modification - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- delete
Date
After Modification - The function to delete the blob
- enable
Auto booleanTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- tier
To DateArchive After Modification - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- tier
To DateCool After Modification - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- delete
Date
After Modification - The function to delete the blob
- enable_
auto_ booltier_ to_ hot_ from_ cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- tier_
to_ Datearchive After Modification - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- tier_
to_ Datecool After Modification - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- delete Property Map
- The function to delete the blob
- enable
Auto BooleanTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- tier
To Property MapArchive - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- tier
To Property MapCool - The function to tier blobs to cool storage. Support blobs currently at Hot tier
ManagementPolicyBaseBlobResponse, ManagementPolicyBaseBlobResponseArgs
- Delete
Pulumi.
Azure Native. Storage. Inputs. Date After Modification Response - The function to delete the blob
- Enable
Auto boolTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- Tier
To Pulumi.Archive Azure Native. Storage. Inputs. Date After Modification Response - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- Tier
To Pulumi.Cool Azure Native. Storage. Inputs. Date After Modification Response - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- Delete
Date
After Modification Response - The function to delete the blob
- Enable
Auto boolTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- Tier
To DateArchive After Modification Response - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- Tier
To DateCool After Modification Response - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- delete
Date
After Modification Response - The function to delete the blob
- enable
Auto BooleanTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- tier
To DateArchive After Modification Response - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- tier
To DateCool After Modification Response - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- delete
Date
After Modification Response - The function to delete the blob
- enable
Auto booleanTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- tier
To DateArchive After Modification Response - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- tier
To DateCool After Modification Response - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- delete
Date
After Modification Response - The function to delete the blob
- enable_
auto_ booltier_ to_ hot_ from_ cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- tier_
to_ Datearchive After Modification Response - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- tier_
to_ Datecool After Modification Response - The function to tier blobs to cool storage. Support blobs currently at Hot tier
- delete Property Map
- The function to delete the blob
- enable
Auto BooleanTier To Hot From Cool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
- tier
To Property MapArchive - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
- tier
To Property MapCool - The function to tier blobs to cool storage. Support blobs currently at Hot tier
ManagementPolicyDefinition, ManagementPolicyDefinitionArgs
- Actions
Pulumi.
Azure Native. Storage. Inputs. Management Policy Action - An object that defines the action set.
- Filters
Pulumi.
Azure Native. Storage. Inputs. Management Policy Filter - An object that defines the filter set.
- Actions
Management
Policy Action - An object that defines the action set.
- Filters
Management
Policy Filter - An object that defines the filter set.
- actions
Management
Policy Action - An object that defines the action set.
- filters
Management
Policy Filter - An object that defines the filter set.
- actions
Management
Policy Action - An object that defines the action set.
- filters
Management
Policy Filter - An object that defines the filter set.
- actions
Management
Policy Action - An object that defines the action set.
- filters
Management
Policy Filter - An object that defines the filter set.
- actions Property Map
- An object that defines the action set.
- filters Property Map
- An object that defines the filter set.
ManagementPolicyDefinitionResponse, ManagementPolicyDefinitionResponseArgs
- Actions
Pulumi.
Azure Native. Storage. Inputs. Management Policy Action Response - An object that defines the action set.
- Filters
Pulumi.
Azure Native. Storage. Inputs. Management Policy Filter Response - An object that defines the filter set.
- Actions
Management
Policy Action Response - An object that defines the action set.
- Filters
Management
Policy Filter Response - An object that defines the filter set.
- actions
Management
Policy Action Response - An object that defines the action set.
- filters
Management
Policy Filter Response - An object that defines the filter set.
- actions
Management
Policy Action Response - An object that defines the action set.
- filters
Management
Policy Filter Response - An object that defines the filter set.
- actions
Management
Policy Action Response - An object that defines the action set.
- filters
Management
Policy Filter Response - An object that defines the filter set.
- actions Property Map
- An object that defines the action set.
- filters Property Map
- An object that defines the filter set.
ManagementPolicyFilter, ManagementPolicyFilterArgs
- Blob
Types List<string> - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- Blob
Index List<Pulumi.Match Azure Native. Storage. Inputs. Tag Filter> - An array of blob index tag based filters, there can be at most 10 tag filters
- Prefix
Match List<string> - An array of strings for prefixes to be match.
- Blob
Types []string - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- Blob
Index []TagMatch Filter - An array of blob index tag based filters, there can be at most 10 tag filters
- Prefix
Match []string - An array of strings for prefixes to be match.
- blob
Types List<String> - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- blob
Index List<TagMatch Filter> - An array of blob index tag based filters, there can be at most 10 tag filters
- prefix
Match List<String> - An array of strings for prefixes to be match.
- blob
Types string[] - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- blob
Index TagMatch Filter[] - An array of blob index tag based filters, there can be at most 10 tag filters
- prefix
Match string[] - An array of strings for prefixes to be match.
- blob_
types Sequence[str] - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- blob_
index_ Sequence[Tagmatch Filter] - An array of blob index tag based filters, there can be at most 10 tag filters
- prefix_
match Sequence[str] - An array of strings for prefixes to be match.
- blob
Types List<String> - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- blob
Index List<Property Map>Match - An array of blob index tag based filters, there can be at most 10 tag filters
- prefix
Match List<String> - An array of strings for prefixes to be match.
ManagementPolicyFilterResponse, ManagementPolicyFilterResponseArgs
- Blob
Types List<string> - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- Blob
Index List<Pulumi.Match Azure Native. Storage. Inputs. Tag Filter Response> - An array of blob index tag based filters, there can be at most 10 tag filters
- Prefix
Match List<string> - An array of strings for prefixes to be match.
- Blob
Types []string - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- Blob
Index []TagMatch Filter Response - An array of blob index tag based filters, there can be at most 10 tag filters
- Prefix
Match []string - An array of strings for prefixes to be match.
- blob
Types List<String> - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- blob
Index List<TagMatch Filter Response> - An array of blob index tag based filters, there can be at most 10 tag filters
- prefix
Match List<String> - An array of strings for prefixes to be match.
- blob
Types string[] - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- blob
Index TagMatch Filter Response[] - An array of blob index tag based filters, there can be at most 10 tag filters
- prefix
Match string[] - An array of strings for prefixes to be match.
- blob_
types Sequence[str] - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- blob_
index_ Sequence[Tagmatch Filter Response] - An array of blob index tag based filters, there can be at most 10 tag filters
- prefix_
match Sequence[str] - An array of strings for prefixes to be match.
- blob
Types List<String> - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
- blob
Index List<Property Map>Match - An array of blob index tag based filters, there can be at most 10 tag filters
- prefix
Match List<String> - An array of strings for prefixes to be match.
ManagementPolicyRule, ManagementPolicyRuleArgs
- Definition
Pulumi.
Azure Native. Storage. Inputs. Management Policy Definition - An object that defines the Lifecycle rule.
- Name string
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- Type
string | Pulumi.
Azure Native. Storage. Rule Type - The valid value is Lifecycle
- Enabled bool
- Rule is enabled if set to true.
- Definition
Management
Policy Definition - An object that defines the Lifecycle rule.
- Name string
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- Type
string | Rule
Type - The valid value is Lifecycle
- Enabled bool
- Rule is enabled if set to true.
- definition
Management
Policy Definition - An object that defines the Lifecycle rule.
- name String
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- type
String | Rule
Type - The valid value is Lifecycle
- enabled Boolean
- Rule is enabled if set to true.
- definition
Management
Policy Definition - An object that defines the Lifecycle rule.
- name string
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- type
string | Rule
Type - The valid value is Lifecycle
- enabled boolean
- Rule is enabled if set to true.
- definition
Management
Policy Definition - An object that defines the Lifecycle rule.
- name str
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- type
str | Rule
Type - The valid value is Lifecycle
- enabled bool
- Rule is enabled if set to true.
- definition Property Map
- An object that defines the Lifecycle rule.
- name String
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- type String | "Lifecycle"
- The valid value is Lifecycle
- enabled Boolean
- Rule is enabled if set to true.
ManagementPolicyRuleResponse, ManagementPolicyRuleResponseArgs
- Definition
Pulumi.
Azure Native. Storage. Inputs. Management Policy Definition Response - An object that defines the Lifecycle rule.
- Name string
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- Type string
- The valid value is Lifecycle
- Enabled bool
- Rule is enabled if set to true.
- Definition
Management
Policy Definition Response - An object that defines the Lifecycle rule.
- Name string
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- Type string
- The valid value is Lifecycle
- Enabled bool
- Rule is enabled if set to true.
- definition
Management
Policy Definition Response - An object that defines the Lifecycle rule.
- name String
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- type String
- The valid value is Lifecycle
- enabled Boolean
- Rule is enabled if set to true.
- definition
Management
Policy Definition Response - An object that defines the Lifecycle rule.
- name string
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- type string
- The valid value is Lifecycle
- enabled boolean
- Rule is enabled if set to true.
- definition
Management
Policy Definition Response - An object that defines the Lifecycle rule.
- name str
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- type str
- The valid value is Lifecycle
- enabled bool
- Rule is enabled if set to true.
- definition Property Map
- An object that defines the Lifecycle rule.
- name String
- A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
- type String
- The valid value is Lifecycle
- enabled Boolean
- Rule is enabled if set to true.
ManagementPolicySchema, ManagementPolicySchemaArgs
- Rules
List<Pulumi.
Azure Native. Storage. Inputs. Management Policy Rule> - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- Rules
[]Management
Policy Rule - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- rules
List<Management
Policy Rule> - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- rules
Management
Policy Rule[] - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- rules
Sequence[Management
Policy Rule] - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- rules List<Property Map>
- The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
ManagementPolicySchemaResponse, ManagementPolicySchemaResponseArgs
- Rules
List<Pulumi.
Azure Native. Storage. Inputs. Management Policy Rule Response> - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- Rules
[]Management
Policy Rule Response - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- rules
List<Management
Policy Rule Response> - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- rules
Management
Policy Rule Response[] - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- rules
Sequence[Management
Policy Rule Response] - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- rules List<Property Map>
- The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
ManagementPolicySnapShot, ManagementPolicySnapShotArgs
- Delete
Pulumi.
Azure Native. Storage. Inputs. Date After Creation - The function to delete the blob snapshot
- Tier
To Pulumi.Archive Azure Native. Storage. Inputs. Date After Creation - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- Tier
To Pulumi.Cool Azure Native. Storage. Inputs. Date After Creation - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- Delete
Date
After Creation - The function to delete the blob snapshot
- Tier
To DateArchive After Creation - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- Tier
To DateCool After Creation - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- delete
Date
After Creation - The function to delete the blob snapshot
- tier
To DateArchive After Creation - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- tier
To DateCool After Creation - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- delete
Date
After Creation - The function to delete the blob snapshot
- tier
To DateArchive After Creation - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- tier
To DateCool After Creation - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- delete
Date
After Creation - The function to delete the blob snapshot
- tier_
to_ Datearchive After Creation - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- tier_
to_ Datecool After Creation - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- delete Property Map
- The function to delete the blob snapshot
- tier
To Property MapArchive - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- tier
To Property MapCool - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
ManagementPolicySnapShotResponse, ManagementPolicySnapShotResponseArgs
- Delete
Pulumi.
Azure Native. Storage. Inputs. Date After Creation Response - The function to delete the blob snapshot
- Tier
To Pulumi.Archive Azure Native. Storage. Inputs. Date After Creation Response - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- Tier
To Pulumi.Cool Azure Native. Storage. Inputs. Date After Creation Response - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- Delete
Date
After Creation Response - The function to delete the blob snapshot
- Tier
To DateArchive After Creation Response - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- Tier
To DateCool After Creation Response - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- delete
Date
After Creation Response - The function to delete the blob snapshot
- tier
To DateArchive After Creation Response - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- tier
To DateCool After Creation Response - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- delete
Date
After Creation Response - The function to delete the blob snapshot
- tier
To DateArchive After Creation Response - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- tier
To DateCool After Creation Response - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- delete
Date
After Creation Response - The function to delete the blob snapshot
- tier_
to_ Datearchive After Creation Response - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- tier_
to_ Datecool After Creation Response - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
- delete Property Map
- The function to delete the blob snapshot
- tier
To Property MapArchive - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier
- tier
To Property MapCool - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier
ManagementPolicyVersion, ManagementPolicyVersionArgs
- Delete
Pulumi.
Azure Native. Storage. Inputs. Date After Creation - The function to delete the blob version
- Tier
To Pulumi.Archive Azure Native. Storage. Inputs. Date After Creation - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- Tier
To Pulumi.Cool Azure Native. Storage. Inputs. Date After Creation - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- Delete
Date
After Creation - The function to delete the blob version
- Tier
To DateArchive After Creation - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- Tier
To DateCool After Creation - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- delete
Date
After Creation - The function to delete the blob version
- tier
To DateArchive After Creation - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- tier
To DateCool After Creation - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- delete
Date
After Creation - The function to delete the blob version
- tier
To DateArchive After Creation - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- tier
To DateCool After Creation - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- delete
Date
After Creation - The function to delete the blob version
- tier_
to_ Datearchive After Creation - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- tier_
to_ Datecool After Creation - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- delete Property Map
- The function to delete the blob version
- tier
To Property MapArchive - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- tier
To Property MapCool - The function to tier blob version to cool storage. Support blob version currently at Hot tier
ManagementPolicyVersionResponse, ManagementPolicyVersionResponseArgs
- Delete
Pulumi.
Azure Native. Storage. Inputs. Date After Creation Response - The function to delete the blob version
- Tier
To Pulumi.Archive Azure Native. Storage. Inputs. Date After Creation Response - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- Tier
To Pulumi.Cool Azure Native. Storage. Inputs. Date After Creation Response - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- Delete
Date
After Creation Response - The function to delete the blob version
- Tier
To DateArchive After Creation Response - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- Tier
To DateCool After Creation Response - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- delete
Date
After Creation Response - The function to delete the blob version
- tier
To DateArchive After Creation Response - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- tier
To DateCool After Creation Response - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- delete
Date
After Creation Response - The function to delete the blob version
- tier
To DateArchive After Creation Response - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- tier
To DateCool After Creation Response - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- delete
Date
After Creation Response - The function to delete the blob version
- tier_
to_ Datearchive After Creation Response - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- tier_
to_ Datecool After Creation Response - The function to tier blob version to cool storage. Support blob version currently at Hot tier
- delete Property Map
- The function to delete the blob version
- tier
To Property MapArchive - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier
- tier
To Property MapCool - The function to tier blob version to cool storage. Support blob version currently at Hot tier
RuleType, RuleTypeArgs
- Lifecycle
- Lifecycle
- Rule
Type Lifecycle - Lifecycle
- Lifecycle
- Lifecycle
- Lifecycle
- Lifecycle
- LIFECYCLE
- Lifecycle
- "Lifecycle"
- Lifecycle
TagFilter, TagFilterArgs
- Name string
- This is the filter tag name, it can have 1 - 128 characters
- Op string
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- Value string
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- Name string
- This is the filter tag name, it can have 1 - 128 characters
- Op string
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- Value string
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- name String
- This is the filter tag name, it can have 1 - 128 characters
- op String
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- value String
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- name string
- This is the filter tag name, it can have 1 - 128 characters
- op string
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- value string
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- name str
- This is the filter tag name, it can have 1 - 128 characters
- op str
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- value str
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- name String
- This is the filter tag name, it can have 1 - 128 characters
- op String
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- value String
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
TagFilterResponse, TagFilterResponseArgs
- Name string
- This is the filter tag name, it can have 1 - 128 characters
- Op string
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- Value string
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- Name string
- This is the filter tag name, it can have 1 - 128 characters
- Op string
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- Value string
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- name String
- This is the filter tag name, it can have 1 - 128 characters
- op String
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- value String
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- name string
- This is the filter tag name, it can have 1 - 128 characters
- op string
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- value string
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- name str
- This is the filter tag name, it can have 1 - 128 characters
- op str
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- value str
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
- name String
- This is the filter tag name, it can have 1 - 128 characters
- op String
- This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported
- value String
- This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storage:ManagementPolicy DefaultManagementPolicy /subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0