azure-native.storage.BlobInventoryPolicy
Explore with Pulumi AI
The storage account blob inventory policy. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-02-01.
Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01, 2024-01-01.
Example Usage
StorageAccountSetBlobInventoryPolicy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var blobInventoryPolicy = new AzureNative.Storage.BlobInventoryPolicy("blobInventoryPolicy", new()
    {
        AccountName = "sto9699",
        BlobInventoryPolicyName = "default",
        Policy = new AzureNative.Storage.Inputs.BlobInventoryPolicySchemaArgs
        {
            Enabled = true,
            Rules = new[]
            {
                new AzureNative.Storage.Inputs.BlobInventoryPolicyRuleArgs
                {
                    Definition = new AzureNative.Storage.Inputs.BlobInventoryPolicyDefinitionArgs
                    {
                        Filters = new AzureNative.Storage.Inputs.BlobInventoryPolicyFilterArgs
                        {
                            BlobTypes = new[]
                            {
                                "blockBlob",
                                "appendBlob",
                                "pageBlob",
                            },
                            ExcludePrefix = new[]
                            {
                                "excludeprefix1",
                                "excludeprefix2",
                            },
                            IncludeBlobVersions = true,
                            IncludeSnapshots = true,
                            PrefixMatch = new[]
                            {
                                "inventoryprefix1",
                                "inventoryprefix2",
                            },
                        },
                        Format = AzureNative.Storage.Format.Csv,
                        ObjectType = AzureNative.Storage.ObjectType.Blob,
                        Schedule = AzureNative.Storage.Schedule.Daily,
                        SchemaFields = new[]
                        {
                            "Name",
                            "Creation-Time",
                            "Last-Modified",
                            "Content-Length",
                            "Content-MD5",
                            "BlobType",
                            "AccessTier",
                            "AccessTierChangeTime",
                            "Snapshot",
                            "VersionId",
                            "IsCurrentVersion",
                            "Metadata",
                        },
                    },
                    Destination = "container1",
                    Enabled = true,
                    Name = "inventoryPolicyRule1",
                },
                new AzureNative.Storage.Inputs.BlobInventoryPolicyRuleArgs
                {
                    Definition = new AzureNative.Storage.Inputs.BlobInventoryPolicyDefinitionArgs
                    {
                        Format = AzureNative.Storage.Format.Parquet,
                        ObjectType = AzureNative.Storage.ObjectType.Container,
                        Schedule = AzureNative.Storage.Schedule.Weekly,
                        SchemaFields = new[]
                        {
                            "Name",
                            "Last-Modified",
                            "Metadata",
                            "LeaseStatus",
                            "LeaseState",
                            "LeaseDuration",
                            "PublicAccess",
                            "HasImmutabilityPolicy",
                            "HasLegalHold",
                        },
                    },
                    Destination = "container2",
                    Enabled = true,
                    Name = "inventoryPolicyRule2",
                },
            },
            Type = AzureNative.Storage.InventoryRuleType.Inventory,
        },
        ResourceGroupName = "res7687",
    });
});
package main
import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewBlobInventoryPolicy(ctx, "blobInventoryPolicy", &storage.BlobInventoryPolicyArgs{
			AccountName:             pulumi.String("sto9699"),
			BlobInventoryPolicyName: pulumi.String("default"),
			Policy: &storage.BlobInventoryPolicySchemaArgs{
				Enabled: pulumi.Bool(true),
				Rules: storage.BlobInventoryPolicyRuleArray{
					&storage.BlobInventoryPolicyRuleArgs{
						Definition: &storage.BlobInventoryPolicyDefinitionArgs{
							Filters: &storage.BlobInventoryPolicyFilterArgs{
								BlobTypes: pulumi.StringArray{
									pulumi.String("blockBlob"),
									pulumi.String("appendBlob"),
									pulumi.String("pageBlob"),
								},
								ExcludePrefix: pulumi.StringArray{
									pulumi.String("excludeprefix1"),
									pulumi.String("excludeprefix2"),
								},
								IncludeBlobVersions: pulumi.Bool(true),
								IncludeSnapshots:    pulumi.Bool(true),
								PrefixMatch: pulumi.StringArray{
									pulumi.String("inventoryprefix1"),
									pulumi.String("inventoryprefix2"),
								},
							},
							Format:     pulumi.String(storage.FormatCsv),
							ObjectType: pulumi.String(storage.ObjectTypeBlob),
							Schedule:   pulumi.String(storage.ScheduleDaily),
							SchemaFields: pulumi.StringArray{
								pulumi.String("Name"),
								pulumi.String("Creation-Time"),
								pulumi.String("Last-Modified"),
								pulumi.String("Content-Length"),
								pulumi.String("Content-MD5"),
								pulumi.String("BlobType"),
								pulumi.String("AccessTier"),
								pulumi.String("AccessTierChangeTime"),
								pulumi.String("Snapshot"),
								pulumi.String("VersionId"),
								pulumi.String("IsCurrentVersion"),
								pulumi.String("Metadata"),
							},
						},
						Destination: pulumi.String("container1"),
						Enabled:     pulumi.Bool(true),
						Name:        pulumi.String("inventoryPolicyRule1"),
					},
					&storage.BlobInventoryPolicyRuleArgs{
						Definition: &storage.BlobInventoryPolicyDefinitionArgs{
							Format:     pulumi.String(storage.FormatParquet),
							ObjectType: pulumi.String(storage.ObjectTypeContainer),
							Schedule:   pulumi.String(storage.ScheduleWeekly),
							SchemaFields: pulumi.StringArray{
								pulumi.String("Name"),
								pulumi.String("Last-Modified"),
								pulumi.String("Metadata"),
								pulumi.String("LeaseStatus"),
								pulumi.String("LeaseState"),
								pulumi.String("LeaseDuration"),
								pulumi.String("PublicAccess"),
								pulumi.String("HasImmutabilityPolicy"),
								pulumi.String("HasLegalHold"),
							},
						},
						Destination: pulumi.String("container2"),
						Enabled:     pulumi.Bool(true),
						Name:        pulumi.String("inventoryPolicyRule2"),
					},
				},
				Type: pulumi.String(storage.InventoryRuleTypeInventory),
			},
			ResourceGroupName: pulumi.String("res7687"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.BlobInventoryPolicy;
import com.pulumi.azurenative.storage.BlobInventoryPolicyArgs;
import com.pulumi.azurenative.storage.inputs.BlobInventoryPolicySchemaArgs;
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 blobInventoryPolicy = new BlobInventoryPolicy("blobInventoryPolicy", BlobInventoryPolicyArgs.builder()
            .accountName("sto9699")
            .blobInventoryPolicyName("default")
            .policy(BlobInventoryPolicySchemaArgs.builder()
                .enabled(true)
                .rules(                
                    BlobInventoryPolicyRuleArgs.builder()
                        .definition(BlobInventoryPolicyDefinitionArgs.builder()
                            .filters(BlobInventoryPolicyFilterArgs.builder()
                                .blobTypes(                                
                                    "blockBlob",
                                    "appendBlob",
                                    "pageBlob")
                                .excludePrefix(                                
                                    "excludeprefix1",
                                    "excludeprefix2")
                                .includeBlobVersions(true)
                                .includeSnapshots(true)
                                .prefixMatch(                                
                                    "inventoryprefix1",
                                    "inventoryprefix2")
                                .build())
                            .format("Csv")
                            .objectType("Blob")
                            .schedule("Daily")
                            .schemaFields(                            
                                "Name",
                                "Creation-Time",
                                "Last-Modified",
                                "Content-Length",
                                "Content-MD5",
                                "BlobType",
                                "AccessTier",
                                "AccessTierChangeTime",
                                "Snapshot",
                                "VersionId",
                                "IsCurrentVersion",
                                "Metadata")
                            .build())
                        .destination("container1")
                        .enabled(true)
                        .name("inventoryPolicyRule1")
                        .build(),
                    BlobInventoryPolicyRuleArgs.builder()
                        .definition(BlobInventoryPolicyDefinitionArgs.builder()
                            .format("Parquet")
                            .objectType("Container")
                            .schedule("Weekly")
                            .schemaFields(                            
                                "Name",
                                "Last-Modified",
                                "Metadata",
                                "LeaseStatus",
                                "LeaseState",
                                "LeaseDuration",
                                "PublicAccess",
                                "HasImmutabilityPolicy",
                                "HasLegalHold")
                            .build())
                        .destination("container2")
                        .enabled(true)
                        .name("inventoryPolicyRule2")
                        .build())
                .type("Inventory")
                .build())
            .resourceGroupName("res7687")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const blobInventoryPolicy = new azure_native.storage.BlobInventoryPolicy("blobInventoryPolicy", {
    accountName: "sto9699",
    blobInventoryPolicyName: "default",
    policy: {
        enabled: true,
        rules: [
            {
                definition: {
                    filters: {
                        blobTypes: [
                            "blockBlob",
                            "appendBlob",
                            "pageBlob",
                        ],
                        excludePrefix: [
                            "excludeprefix1",
                            "excludeprefix2",
                        ],
                        includeBlobVersions: true,
                        includeSnapshots: true,
                        prefixMatch: [
                            "inventoryprefix1",
                            "inventoryprefix2",
                        ],
                    },
                    format: azure_native.storage.Format.Csv,
                    objectType: azure_native.storage.ObjectType.Blob,
                    schedule: azure_native.storage.Schedule.Daily,
                    schemaFields: [
                        "Name",
                        "Creation-Time",
                        "Last-Modified",
                        "Content-Length",
                        "Content-MD5",
                        "BlobType",
                        "AccessTier",
                        "AccessTierChangeTime",
                        "Snapshot",
                        "VersionId",
                        "IsCurrentVersion",
                        "Metadata",
                    ],
                },
                destination: "container1",
                enabled: true,
                name: "inventoryPolicyRule1",
            },
            {
                definition: {
                    format: azure_native.storage.Format.Parquet,
                    objectType: azure_native.storage.ObjectType.Container,
                    schedule: azure_native.storage.Schedule.Weekly,
                    schemaFields: [
                        "Name",
                        "Last-Modified",
                        "Metadata",
                        "LeaseStatus",
                        "LeaseState",
                        "LeaseDuration",
                        "PublicAccess",
                        "HasImmutabilityPolicy",
                        "HasLegalHold",
                    ],
                },
                destination: "container2",
                enabled: true,
                name: "inventoryPolicyRule2",
            },
        ],
        type: azure_native.storage.InventoryRuleType.Inventory,
    },
    resourceGroupName: "res7687",
});
import pulumi
import pulumi_azure_native as azure_native
blob_inventory_policy = azure_native.storage.BlobInventoryPolicy("blobInventoryPolicy",
    account_name="sto9699",
    blob_inventory_policy_name="default",
    policy={
        "enabled": True,
        "rules": [
            {
                "definition": {
                    "filters": {
                        "blob_types": [
                            "blockBlob",
                            "appendBlob",
                            "pageBlob",
                        ],
                        "exclude_prefix": [
                            "excludeprefix1",
                            "excludeprefix2",
                        ],
                        "include_blob_versions": True,
                        "include_snapshots": True,
                        "prefix_match": [
                            "inventoryprefix1",
                            "inventoryprefix2",
                        ],
                    },
                    "format": azure_native.storage.Format.CSV,
                    "object_type": azure_native.storage.ObjectType.BLOB,
                    "schedule": azure_native.storage.Schedule.DAILY,
                    "schema_fields": [
                        "Name",
                        "Creation-Time",
                        "Last-Modified",
                        "Content-Length",
                        "Content-MD5",
                        "BlobType",
                        "AccessTier",
                        "AccessTierChangeTime",
                        "Snapshot",
                        "VersionId",
                        "IsCurrentVersion",
                        "Metadata",
                    ],
                },
                "destination": "container1",
                "enabled": True,
                "name": "inventoryPolicyRule1",
            },
            {
                "definition": {
                    "format": azure_native.storage.Format.PARQUET,
                    "object_type": azure_native.storage.ObjectType.CONTAINER,
                    "schedule": azure_native.storage.Schedule.WEEKLY,
                    "schema_fields": [
                        "Name",
                        "Last-Modified",
                        "Metadata",
                        "LeaseStatus",
                        "LeaseState",
                        "LeaseDuration",
                        "PublicAccess",
                        "HasImmutabilityPolicy",
                        "HasLegalHold",
                    ],
                },
                "destination": "container2",
                "enabled": True,
                "name": "inventoryPolicyRule2",
            },
        ],
        "type": azure_native.storage.InventoryRuleType.INVENTORY,
    },
    resource_group_name="res7687")
resources:
  blobInventoryPolicy:
    type: azure-native:storage:BlobInventoryPolicy
    properties:
      accountName: sto9699
      blobInventoryPolicyName: default
      policy:
        enabled: true
        rules:
          - definition:
              filters:
                blobTypes:
                  - blockBlob
                  - appendBlob
                  - pageBlob
                excludePrefix:
                  - excludeprefix1
                  - excludeprefix2
                includeBlobVersions: true
                includeSnapshots: true
                prefixMatch:
                  - inventoryprefix1
                  - inventoryprefix2
              format: Csv
              objectType: Blob
              schedule: Daily
              schemaFields:
                - Name
                - Creation-Time
                - Last-Modified
                - Content-Length
                - Content-MD5
                - BlobType
                - AccessTier
                - AccessTierChangeTime
                - Snapshot
                - VersionId
                - IsCurrentVersion
                - Metadata
            destination: container1
            enabled: true
            name: inventoryPolicyRule1
          - definition:
              format: Parquet
              objectType: Container
              schedule: Weekly
              schemaFields:
                - Name
                - Last-Modified
                - Metadata
                - LeaseStatus
                - LeaseState
                - LeaseDuration
                - PublicAccess
                - HasImmutabilityPolicy
                - HasLegalHold
            destination: container2
            enabled: true
            name: inventoryPolicyRule2
        type: Inventory
      resourceGroupName: res7687
StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var blobInventoryPolicy = new AzureNative.Storage.BlobInventoryPolicy("blobInventoryPolicy", new()
    {
        AccountName = "sto9699",
        BlobInventoryPolicyName = "default",
        Policy = new AzureNative.Storage.Inputs.BlobInventoryPolicySchemaArgs
        {
            Enabled = true,
            Rules = new[]
            {
                new AzureNative.Storage.Inputs.BlobInventoryPolicyRuleArgs
                {
                    Definition = new AzureNative.Storage.Inputs.BlobInventoryPolicyDefinitionArgs
                    {
                        Filters = new AzureNative.Storage.Inputs.BlobInventoryPolicyFilterArgs
                        {
                            BlobTypes = new[]
                            {
                                "blockBlob",
                                "appendBlob",
                                "pageBlob",
                            },
                            ExcludePrefix = new[]
                            {
                                "excludeprefix1",
                                "excludeprefix2",
                            },
                            IncludeBlobVersions = true,
                            IncludeDeleted = true,
                            IncludeSnapshots = true,
                            PrefixMatch = new[]
                            {
                                "inventoryprefix1",
                                "inventoryprefix2",
                            },
                        },
                        Format = AzureNative.Storage.Format.Csv,
                        ObjectType = AzureNative.Storage.ObjectType.Blob,
                        Schedule = AzureNative.Storage.Schedule.Daily,
                        SchemaFields = new[]
                        {
                            "Name",
                            "Creation-Time",
                            "Last-Modified",
                            "Content-Length",
                            "Content-MD5",
                            "BlobType",
                            "AccessTier",
                            "AccessTierChangeTime",
                            "Snapshot",
                            "VersionId",
                            "IsCurrentVersion",
                            "ContentType",
                            "ContentEncoding",
                            "ContentLanguage",
                            "ContentCRC64",
                            "CacheControl",
                            "Metadata",
                            "DeletionId",
                            "Deleted",
                            "DeletedTime",
                            "RemainingRetentionDays",
                        },
                    },
                    Destination = "container1",
                    Enabled = true,
                    Name = "inventoryPolicyRule1",
                },
                new AzureNative.Storage.Inputs.BlobInventoryPolicyRuleArgs
                {
                    Definition = new AzureNative.Storage.Inputs.BlobInventoryPolicyDefinitionArgs
                    {
                        Format = AzureNative.Storage.Format.Parquet,
                        ObjectType = AzureNative.Storage.ObjectType.Container,
                        Schedule = AzureNative.Storage.Schedule.Weekly,
                        SchemaFields = new[]
                        {
                            "Name",
                            "Last-Modified",
                            "Metadata",
                            "LeaseStatus",
                            "LeaseState",
                            "LeaseDuration",
                            "PublicAccess",
                            "HasImmutabilityPolicy",
                            "HasLegalHold",
                            "Etag",
                            "DefaultEncryptionScope",
                            "DenyEncryptionScopeOverride",
                            "ImmutableStorageWithVersioningEnabled",
                            "Deleted",
                            "Version",
                            "DeletedTime",
                            "RemainingRetentionDays",
                        },
                    },
                    Destination = "container2",
                    Enabled = true,
                    Name = "inventoryPolicyRule2",
                },
            },
            Type = AzureNative.Storage.InventoryRuleType.Inventory,
        },
        ResourceGroupName = "res7687",
    });
});
package main
import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewBlobInventoryPolicy(ctx, "blobInventoryPolicy", &storage.BlobInventoryPolicyArgs{
			AccountName:             pulumi.String("sto9699"),
			BlobInventoryPolicyName: pulumi.String("default"),
			Policy: &storage.BlobInventoryPolicySchemaArgs{
				Enabled: pulumi.Bool(true),
				Rules: storage.BlobInventoryPolicyRuleArray{
					&storage.BlobInventoryPolicyRuleArgs{
						Definition: &storage.BlobInventoryPolicyDefinitionArgs{
							Filters: &storage.BlobInventoryPolicyFilterArgs{
								BlobTypes: pulumi.StringArray{
									pulumi.String("blockBlob"),
									pulumi.String("appendBlob"),
									pulumi.String("pageBlob"),
								},
								ExcludePrefix: pulumi.StringArray{
									pulumi.String("excludeprefix1"),
									pulumi.String("excludeprefix2"),
								},
								IncludeBlobVersions: pulumi.Bool(true),
								IncludeDeleted:      pulumi.Bool(true),
								IncludeSnapshots:    pulumi.Bool(true),
								PrefixMatch: pulumi.StringArray{
									pulumi.String("inventoryprefix1"),
									pulumi.String("inventoryprefix2"),
								},
							},
							Format:     pulumi.String(storage.FormatCsv),
							ObjectType: pulumi.String(storage.ObjectTypeBlob),
							Schedule:   pulumi.String(storage.ScheduleDaily),
							SchemaFields: pulumi.StringArray{
								pulumi.String("Name"),
								pulumi.String("Creation-Time"),
								pulumi.String("Last-Modified"),
								pulumi.String("Content-Length"),
								pulumi.String("Content-MD5"),
								pulumi.String("BlobType"),
								pulumi.String("AccessTier"),
								pulumi.String("AccessTierChangeTime"),
								pulumi.String("Snapshot"),
								pulumi.String("VersionId"),
								pulumi.String("IsCurrentVersion"),
								pulumi.String("ContentType"),
								pulumi.String("ContentEncoding"),
								pulumi.String("ContentLanguage"),
								pulumi.String("ContentCRC64"),
								pulumi.String("CacheControl"),
								pulumi.String("Metadata"),
								pulumi.String("DeletionId"),
								pulumi.String("Deleted"),
								pulumi.String("DeletedTime"),
								pulumi.String("RemainingRetentionDays"),
							},
						},
						Destination: pulumi.String("container1"),
						Enabled:     pulumi.Bool(true),
						Name:        pulumi.String("inventoryPolicyRule1"),
					},
					&storage.BlobInventoryPolicyRuleArgs{
						Definition: &storage.BlobInventoryPolicyDefinitionArgs{
							Format:     pulumi.String(storage.FormatParquet),
							ObjectType: pulumi.String(storage.ObjectTypeContainer),
							Schedule:   pulumi.String(storage.ScheduleWeekly),
							SchemaFields: pulumi.StringArray{
								pulumi.String("Name"),
								pulumi.String("Last-Modified"),
								pulumi.String("Metadata"),
								pulumi.String("LeaseStatus"),
								pulumi.String("LeaseState"),
								pulumi.String("LeaseDuration"),
								pulumi.String("PublicAccess"),
								pulumi.String("HasImmutabilityPolicy"),
								pulumi.String("HasLegalHold"),
								pulumi.String("Etag"),
								pulumi.String("DefaultEncryptionScope"),
								pulumi.String("DenyEncryptionScopeOverride"),
								pulumi.String("ImmutableStorageWithVersioningEnabled"),
								pulumi.String("Deleted"),
								pulumi.String("Version"),
								pulumi.String("DeletedTime"),
								pulumi.String("RemainingRetentionDays"),
							},
						},
						Destination: pulumi.String("container2"),
						Enabled:     pulumi.Bool(true),
						Name:        pulumi.String("inventoryPolicyRule2"),
					},
				},
				Type: pulumi.String(storage.InventoryRuleTypeInventory),
			},
			ResourceGroupName: pulumi.String("res7687"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.BlobInventoryPolicy;
import com.pulumi.azurenative.storage.BlobInventoryPolicyArgs;
import com.pulumi.azurenative.storage.inputs.BlobInventoryPolicySchemaArgs;
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 blobInventoryPolicy = new BlobInventoryPolicy("blobInventoryPolicy", BlobInventoryPolicyArgs.builder()
            .accountName("sto9699")
            .blobInventoryPolicyName("default")
            .policy(BlobInventoryPolicySchemaArgs.builder()
                .enabled(true)
                .rules(                
                    BlobInventoryPolicyRuleArgs.builder()
                        .definition(BlobInventoryPolicyDefinitionArgs.builder()
                            .filters(BlobInventoryPolicyFilterArgs.builder()
                                .blobTypes(                                
                                    "blockBlob",
                                    "appendBlob",
                                    "pageBlob")
                                .excludePrefix(                                
                                    "excludeprefix1",
                                    "excludeprefix2")
                                .includeBlobVersions(true)
                                .includeDeleted(true)
                                .includeSnapshots(true)
                                .prefixMatch(                                
                                    "inventoryprefix1",
                                    "inventoryprefix2")
                                .build())
                            .format("Csv")
                            .objectType("Blob")
                            .schedule("Daily")
                            .schemaFields(                            
                                "Name",
                                "Creation-Time",
                                "Last-Modified",
                                "Content-Length",
                                "Content-MD5",
                                "BlobType",
                                "AccessTier",
                                "AccessTierChangeTime",
                                "Snapshot",
                                "VersionId",
                                "IsCurrentVersion",
                                "ContentType",
                                "ContentEncoding",
                                "ContentLanguage",
                                "ContentCRC64",
                                "CacheControl",
                                "Metadata",
                                "DeletionId",
                                "Deleted",
                                "DeletedTime",
                                "RemainingRetentionDays")
                            .build())
                        .destination("container1")
                        .enabled(true)
                        .name("inventoryPolicyRule1")
                        .build(),
                    BlobInventoryPolicyRuleArgs.builder()
                        .definition(BlobInventoryPolicyDefinitionArgs.builder()
                            .format("Parquet")
                            .objectType("Container")
                            .schedule("Weekly")
                            .schemaFields(                            
                                "Name",
                                "Last-Modified",
                                "Metadata",
                                "LeaseStatus",
                                "LeaseState",
                                "LeaseDuration",
                                "PublicAccess",
                                "HasImmutabilityPolicy",
                                "HasLegalHold",
                                "Etag",
                                "DefaultEncryptionScope",
                                "DenyEncryptionScopeOverride",
                                "ImmutableStorageWithVersioningEnabled",
                                "Deleted",
                                "Version",
                                "DeletedTime",
                                "RemainingRetentionDays")
                            .build())
                        .destination("container2")
                        .enabled(true)
                        .name("inventoryPolicyRule2")
                        .build())
                .type("Inventory")
                .build())
            .resourceGroupName("res7687")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const blobInventoryPolicy = new azure_native.storage.BlobInventoryPolicy("blobInventoryPolicy", {
    accountName: "sto9699",
    blobInventoryPolicyName: "default",
    policy: {
        enabled: true,
        rules: [
            {
                definition: {
                    filters: {
                        blobTypes: [
                            "blockBlob",
                            "appendBlob",
                            "pageBlob",
                        ],
                        excludePrefix: [
                            "excludeprefix1",
                            "excludeprefix2",
                        ],
                        includeBlobVersions: true,
                        includeDeleted: true,
                        includeSnapshots: true,
                        prefixMatch: [
                            "inventoryprefix1",
                            "inventoryprefix2",
                        ],
                    },
                    format: azure_native.storage.Format.Csv,
                    objectType: azure_native.storage.ObjectType.Blob,
                    schedule: azure_native.storage.Schedule.Daily,
                    schemaFields: [
                        "Name",
                        "Creation-Time",
                        "Last-Modified",
                        "Content-Length",
                        "Content-MD5",
                        "BlobType",
                        "AccessTier",
                        "AccessTierChangeTime",
                        "Snapshot",
                        "VersionId",
                        "IsCurrentVersion",
                        "ContentType",
                        "ContentEncoding",
                        "ContentLanguage",
                        "ContentCRC64",
                        "CacheControl",
                        "Metadata",
                        "DeletionId",
                        "Deleted",
                        "DeletedTime",
                        "RemainingRetentionDays",
                    ],
                },
                destination: "container1",
                enabled: true,
                name: "inventoryPolicyRule1",
            },
            {
                definition: {
                    format: azure_native.storage.Format.Parquet,
                    objectType: azure_native.storage.ObjectType.Container,
                    schedule: azure_native.storage.Schedule.Weekly,
                    schemaFields: [
                        "Name",
                        "Last-Modified",
                        "Metadata",
                        "LeaseStatus",
                        "LeaseState",
                        "LeaseDuration",
                        "PublicAccess",
                        "HasImmutabilityPolicy",
                        "HasLegalHold",
                        "Etag",
                        "DefaultEncryptionScope",
                        "DenyEncryptionScopeOverride",
                        "ImmutableStorageWithVersioningEnabled",
                        "Deleted",
                        "Version",
                        "DeletedTime",
                        "RemainingRetentionDays",
                    ],
                },
                destination: "container2",
                enabled: true,
                name: "inventoryPolicyRule2",
            },
        ],
        type: azure_native.storage.InventoryRuleType.Inventory,
    },
    resourceGroupName: "res7687",
});
import pulumi
import pulumi_azure_native as azure_native
blob_inventory_policy = azure_native.storage.BlobInventoryPolicy("blobInventoryPolicy",
    account_name="sto9699",
    blob_inventory_policy_name="default",
    policy={
        "enabled": True,
        "rules": [
            {
                "definition": {
                    "filters": {
                        "blob_types": [
                            "blockBlob",
                            "appendBlob",
                            "pageBlob",
                        ],
                        "exclude_prefix": [
                            "excludeprefix1",
                            "excludeprefix2",
                        ],
                        "include_blob_versions": True,
                        "include_deleted": True,
                        "include_snapshots": True,
                        "prefix_match": [
                            "inventoryprefix1",
                            "inventoryprefix2",
                        ],
                    },
                    "format": azure_native.storage.Format.CSV,
                    "object_type": azure_native.storage.ObjectType.BLOB,
                    "schedule": azure_native.storage.Schedule.DAILY,
                    "schema_fields": [
                        "Name",
                        "Creation-Time",
                        "Last-Modified",
                        "Content-Length",
                        "Content-MD5",
                        "BlobType",
                        "AccessTier",
                        "AccessTierChangeTime",
                        "Snapshot",
                        "VersionId",
                        "IsCurrentVersion",
                        "ContentType",
                        "ContentEncoding",
                        "ContentLanguage",
                        "ContentCRC64",
                        "CacheControl",
                        "Metadata",
                        "DeletionId",
                        "Deleted",
                        "DeletedTime",
                        "RemainingRetentionDays",
                    ],
                },
                "destination": "container1",
                "enabled": True,
                "name": "inventoryPolicyRule1",
            },
            {
                "definition": {
                    "format": azure_native.storage.Format.PARQUET,
                    "object_type": azure_native.storage.ObjectType.CONTAINER,
                    "schedule": azure_native.storage.Schedule.WEEKLY,
                    "schema_fields": [
                        "Name",
                        "Last-Modified",
                        "Metadata",
                        "LeaseStatus",
                        "LeaseState",
                        "LeaseDuration",
                        "PublicAccess",
                        "HasImmutabilityPolicy",
                        "HasLegalHold",
                        "Etag",
                        "DefaultEncryptionScope",
                        "DenyEncryptionScopeOverride",
                        "ImmutableStorageWithVersioningEnabled",
                        "Deleted",
                        "Version",
                        "DeletedTime",
                        "RemainingRetentionDays",
                    ],
                },
                "destination": "container2",
                "enabled": True,
                "name": "inventoryPolicyRule2",
            },
        ],
        "type": azure_native.storage.InventoryRuleType.INVENTORY,
    },
    resource_group_name="res7687")
resources:
  blobInventoryPolicy:
    type: azure-native:storage:BlobInventoryPolicy
    properties:
      accountName: sto9699
      blobInventoryPolicyName: default
      policy:
        enabled: true
        rules:
          - definition:
              filters:
                blobTypes:
                  - blockBlob
                  - appendBlob
                  - pageBlob
                excludePrefix:
                  - excludeprefix1
                  - excludeprefix2
                includeBlobVersions: true
                includeDeleted: true
                includeSnapshots: true
                prefixMatch:
                  - inventoryprefix1
                  - inventoryprefix2
              format: Csv
              objectType: Blob
              schedule: Daily
              schemaFields:
                - Name
                - Creation-Time
                - Last-Modified
                - Content-Length
                - Content-MD5
                - BlobType
                - AccessTier
                - AccessTierChangeTime
                - Snapshot
                - VersionId
                - IsCurrentVersion
                - ContentType
                - ContentEncoding
                - ContentLanguage
                - ContentCRC64
                - CacheControl
                - Metadata
                - DeletionId
                - Deleted
                - DeletedTime
                - RemainingRetentionDays
            destination: container1
            enabled: true
            name: inventoryPolicyRule1
          - definition:
              format: Parquet
              objectType: Container
              schedule: Weekly
              schemaFields:
                - Name
                - Last-Modified
                - Metadata
                - LeaseStatus
                - LeaseState
                - LeaseDuration
                - PublicAccess
                - HasImmutabilityPolicy
                - HasLegalHold
                - Etag
                - DefaultEncryptionScope
                - DenyEncryptionScopeOverride
                - ImmutableStorageWithVersioningEnabled
                - Deleted
                - Version
                - DeletedTime
                - RemainingRetentionDays
            destination: container2
            enabled: true
            name: inventoryPolicyRule2
        type: Inventory
      resourceGroupName: res7687
StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var blobInventoryPolicy = new AzureNative.Storage.BlobInventoryPolicy("blobInventoryPolicy", new()
    {
        AccountName = "sto9699",
        BlobInventoryPolicyName = "default",
        Policy = new AzureNative.Storage.Inputs.BlobInventoryPolicySchemaArgs
        {
            Enabled = true,
            Rules = new[]
            {
                new AzureNative.Storage.Inputs.BlobInventoryPolicyRuleArgs
                {
                    Definition = new AzureNative.Storage.Inputs.BlobInventoryPolicyDefinitionArgs
                    {
                        Filters = new AzureNative.Storage.Inputs.BlobInventoryPolicyFilterArgs
                        {
                            BlobTypes = new[]
                            {
                                "blockBlob",
                                "appendBlob",
                                "pageBlob",
                            },
                            ExcludePrefix = new[]
                            {
                                "excludeprefix1",
                                "excludeprefix2",
                            },
                            IncludeBlobVersions = true,
                            IncludeDeleted = true,
                            IncludeSnapshots = true,
                            PrefixMatch = new[]
                            {
                                "inventoryprefix1",
                                "inventoryprefix2",
                            },
                        },
                        Format = AzureNative.Storage.Format.Csv,
                        ObjectType = AzureNative.Storage.ObjectType.Blob,
                        Schedule = AzureNative.Storage.Schedule.Daily,
                        SchemaFields = new[]
                        {
                            "Name",
                            "Creation-Time",
                            "Last-Modified",
                            "Content-Length",
                            "Content-MD5",
                            "BlobType",
                            "AccessTier",
                            "AccessTierChangeTime",
                            "Snapshot",
                            "VersionId",
                            "IsCurrentVersion",
                            "Tags",
                            "ContentType",
                            "ContentEncoding",
                            "ContentLanguage",
                            "ContentCRC64",
                            "CacheControl",
                            "Metadata",
                            "Deleted",
                            "RemainingRetentionDays",
                        },
                    },
                    Destination = "container1",
                    Enabled = true,
                    Name = "inventoryPolicyRule1",
                },
                new AzureNative.Storage.Inputs.BlobInventoryPolicyRuleArgs
                {
                    Definition = new AzureNative.Storage.Inputs.BlobInventoryPolicyDefinitionArgs
                    {
                        Format = AzureNative.Storage.Format.Parquet,
                        ObjectType = AzureNative.Storage.ObjectType.Container,
                        Schedule = AzureNative.Storage.Schedule.Weekly,
                        SchemaFields = new[]
                        {
                            "Name",
                            "Last-Modified",
                            "Metadata",
                            "LeaseStatus",
                            "LeaseState",
                            "LeaseDuration",
                            "PublicAccess",
                            "HasImmutabilityPolicy",
                            "HasLegalHold",
                            "Etag",
                            "DefaultEncryptionScope",
                            "DenyEncryptionScopeOverride",
                            "ImmutableStorageWithVersioningEnabled",
                            "Deleted",
                            "Version",
                            "DeletedTime",
                            "RemainingRetentionDays",
                        },
                    },
                    Destination = "container2",
                    Enabled = true,
                    Name = "inventoryPolicyRule2",
                },
            },
            Type = AzureNative.Storage.InventoryRuleType.Inventory,
        },
        ResourceGroupName = "res7687",
    });
});
package main
import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewBlobInventoryPolicy(ctx, "blobInventoryPolicy", &storage.BlobInventoryPolicyArgs{
			AccountName:             pulumi.String("sto9699"),
			BlobInventoryPolicyName: pulumi.String("default"),
			Policy: &storage.BlobInventoryPolicySchemaArgs{
				Enabled: pulumi.Bool(true),
				Rules: storage.BlobInventoryPolicyRuleArray{
					&storage.BlobInventoryPolicyRuleArgs{
						Definition: &storage.BlobInventoryPolicyDefinitionArgs{
							Filters: &storage.BlobInventoryPolicyFilterArgs{
								BlobTypes: pulumi.StringArray{
									pulumi.String("blockBlob"),
									pulumi.String("appendBlob"),
									pulumi.String("pageBlob"),
								},
								ExcludePrefix: pulumi.StringArray{
									pulumi.String("excludeprefix1"),
									pulumi.String("excludeprefix2"),
								},
								IncludeBlobVersions: pulumi.Bool(true),
								IncludeDeleted:      pulumi.Bool(true),
								IncludeSnapshots:    pulumi.Bool(true),
								PrefixMatch: pulumi.StringArray{
									pulumi.String("inventoryprefix1"),
									pulumi.String("inventoryprefix2"),
								},
							},
							Format:     pulumi.String(storage.FormatCsv),
							ObjectType: pulumi.String(storage.ObjectTypeBlob),
							Schedule:   pulumi.String(storage.ScheduleDaily),
							SchemaFields: pulumi.StringArray{
								pulumi.String("Name"),
								pulumi.String("Creation-Time"),
								pulumi.String("Last-Modified"),
								pulumi.String("Content-Length"),
								pulumi.String("Content-MD5"),
								pulumi.String("BlobType"),
								pulumi.String("AccessTier"),
								pulumi.String("AccessTierChangeTime"),
								pulumi.String("Snapshot"),
								pulumi.String("VersionId"),
								pulumi.String("IsCurrentVersion"),
								pulumi.String("Tags"),
								pulumi.String("ContentType"),
								pulumi.String("ContentEncoding"),
								pulumi.String("ContentLanguage"),
								pulumi.String("ContentCRC64"),
								pulumi.String("CacheControl"),
								pulumi.String("Metadata"),
								pulumi.String("Deleted"),
								pulumi.String("RemainingRetentionDays"),
							},
						},
						Destination: pulumi.String("container1"),
						Enabled:     pulumi.Bool(true),
						Name:        pulumi.String("inventoryPolicyRule1"),
					},
					&storage.BlobInventoryPolicyRuleArgs{
						Definition: &storage.BlobInventoryPolicyDefinitionArgs{
							Format:     pulumi.String(storage.FormatParquet),
							ObjectType: pulumi.String(storage.ObjectTypeContainer),
							Schedule:   pulumi.String(storage.ScheduleWeekly),
							SchemaFields: pulumi.StringArray{
								pulumi.String("Name"),
								pulumi.String("Last-Modified"),
								pulumi.String("Metadata"),
								pulumi.String("LeaseStatus"),
								pulumi.String("LeaseState"),
								pulumi.String("LeaseDuration"),
								pulumi.String("PublicAccess"),
								pulumi.String("HasImmutabilityPolicy"),
								pulumi.String("HasLegalHold"),
								pulumi.String("Etag"),
								pulumi.String("DefaultEncryptionScope"),
								pulumi.String("DenyEncryptionScopeOverride"),
								pulumi.String("ImmutableStorageWithVersioningEnabled"),
								pulumi.String("Deleted"),
								pulumi.String("Version"),
								pulumi.String("DeletedTime"),
								pulumi.String("RemainingRetentionDays"),
							},
						},
						Destination: pulumi.String("container2"),
						Enabled:     pulumi.Bool(true),
						Name:        pulumi.String("inventoryPolicyRule2"),
					},
				},
				Type: pulumi.String(storage.InventoryRuleTypeInventory),
			},
			ResourceGroupName: pulumi.String("res7687"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.BlobInventoryPolicy;
import com.pulumi.azurenative.storage.BlobInventoryPolicyArgs;
import com.pulumi.azurenative.storage.inputs.BlobInventoryPolicySchemaArgs;
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 blobInventoryPolicy = new BlobInventoryPolicy("blobInventoryPolicy", BlobInventoryPolicyArgs.builder()
            .accountName("sto9699")
            .blobInventoryPolicyName("default")
            .policy(BlobInventoryPolicySchemaArgs.builder()
                .enabled(true)
                .rules(                
                    BlobInventoryPolicyRuleArgs.builder()
                        .definition(BlobInventoryPolicyDefinitionArgs.builder()
                            .filters(BlobInventoryPolicyFilterArgs.builder()
                                .blobTypes(                                
                                    "blockBlob",
                                    "appendBlob",
                                    "pageBlob")
                                .excludePrefix(                                
                                    "excludeprefix1",
                                    "excludeprefix2")
                                .includeBlobVersions(true)
                                .includeDeleted(true)
                                .includeSnapshots(true)
                                .prefixMatch(                                
                                    "inventoryprefix1",
                                    "inventoryprefix2")
                                .build())
                            .format("Csv")
                            .objectType("Blob")
                            .schedule("Daily")
                            .schemaFields(                            
                                "Name",
                                "Creation-Time",
                                "Last-Modified",
                                "Content-Length",
                                "Content-MD5",
                                "BlobType",
                                "AccessTier",
                                "AccessTierChangeTime",
                                "Snapshot",
                                "VersionId",
                                "IsCurrentVersion",
                                "Tags",
                                "ContentType",
                                "ContentEncoding",
                                "ContentLanguage",
                                "ContentCRC64",
                                "CacheControl",
                                "Metadata",
                                "Deleted",
                                "RemainingRetentionDays")
                            .build())
                        .destination("container1")
                        .enabled(true)
                        .name("inventoryPolicyRule1")
                        .build(),
                    BlobInventoryPolicyRuleArgs.builder()
                        .definition(BlobInventoryPolicyDefinitionArgs.builder()
                            .format("Parquet")
                            .objectType("Container")
                            .schedule("Weekly")
                            .schemaFields(                            
                                "Name",
                                "Last-Modified",
                                "Metadata",
                                "LeaseStatus",
                                "LeaseState",
                                "LeaseDuration",
                                "PublicAccess",
                                "HasImmutabilityPolicy",
                                "HasLegalHold",
                                "Etag",
                                "DefaultEncryptionScope",
                                "DenyEncryptionScopeOverride",
                                "ImmutableStorageWithVersioningEnabled",
                                "Deleted",
                                "Version",
                                "DeletedTime",
                                "RemainingRetentionDays")
                            .build())
                        .destination("container2")
                        .enabled(true)
                        .name("inventoryPolicyRule2")
                        .build())
                .type("Inventory")
                .build())
            .resourceGroupName("res7687")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const blobInventoryPolicy = new azure_native.storage.BlobInventoryPolicy("blobInventoryPolicy", {
    accountName: "sto9699",
    blobInventoryPolicyName: "default",
    policy: {
        enabled: true,
        rules: [
            {
                definition: {
                    filters: {
                        blobTypes: [
                            "blockBlob",
                            "appendBlob",
                            "pageBlob",
                        ],
                        excludePrefix: [
                            "excludeprefix1",
                            "excludeprefix2",
                        ],
                        includeBlobVersions: true,
                        includeDeleted: true,
                        includeSnapshots: true,
                        prefixMatch: [
                            "inventoryprefix1",
                            "inventoryprefix2",
                        ],
                    },
                    format: azure_native.storage.Format.Csv,
                    objectType: azure_native.storage.ObjectType.Blob,
                    schedule: azure_native.storage.Schedule.Daily,
                    schemaFields: [
                        "Name",
                        "Creation-Time",
                        "Last-Modified",
                        "Content-Length",
                        "Content-MD5",
                        "BlobType",
                        "AccessTier",
                        "AccessTierChangeTime",
                        "Snapshot",
                        "VersionId",
                        "IsCurrentVersion",
                        "Tags",
                        "ContentType",
                        "ContentEncoding",
                        "ContentLanguage",
                        "ContentCRC64",
                        "CacheControl",
                        "Metadata",
                        "Deleted",
                        "RemainingRetentionDays",
                    ],
                },
                destination: "container1",
                enabled: true,
                name: "inventoryPolicyRule1",
            },
            {
                definition: {
                    format: azure_native.storage.Format.Parquet,
                    objectType: azure_native.storage.ObjectType.Container,
                    schedule: azure_native.storage.Schedule.Weekly,
                    schemaFields: [
                        "Name",
                        "Last-Modified",
                        "Metadata",
                        "LeaseStatus",
                        "LeaseState",
                        "LeaseDuration",
                        "PublicAccess",
                        "HasImmutabilityPolicy",
                        "HasLegalHold",
                        "Etag",
                        "DefaultEncryptionScope",
                        "DenyEncryptionScopeOverride",
                        "ImmutableStorageWithVersioningEnabled",
                        "Deleted",
                        "Version",
                        "DeletedTime",
                        "RemainingRetentionDays",
                    ],
                },
                destination: "container2",
                enabled: true,
                name: "inventoryPolicyRule2",
            },
        ],
        type: azure_native.storage.InventoryRuleType.Inventory,
    },
    resourceGroupName: "res7687",
});
import pulumi
import pulumi_azure_native as azure_native
blob_inventory_policy = azure_native.storage.BlobInventoryPolicy("blobInventoryPolicy",
    account_name="sto9699",
    blob_inventory_policy_name="default",
    policy={
        "enabled": True,
        "rules": [
            {
                "definition": {
                    "filters": {
                        "blob_types": [
                            "blockBlob",
                            "appendBlob",
                            "pageBlob",
                        ],
                        "exclude_prefix": [
                            "excludeprefix1",
                            "excludeprefix2",
                        ],
                        "include_blob_versions": True,
                        "include_deleted": True,
                        "include_snapshots": True,
                        "prefix_match": [
                            "inventoryprefix1",
                            "inventoryprefix2",
                        ],
                    },
                    "format": azure_native.storage.Format.CSV,
                    "object_type": azure_native.storage.ObjectType.BLOB,
                    "schedule": azure_native.storage.Schedule.DAILY,
                    "schema_fields": [
                        "Name",
                        "Creation-Time",
                        "Last-Modified",
                        "Content-Length",
                        "Content-MD5",
                        "BlobType",
                        "AccessTier",
                        "AccessTierChangeTime",
                        "Snapshot",
                        "VersionId",
                        "IsCurrentVersion",
                        "Tags",
                        "ContentType",
                        "ContentEncoding",
                        "ContentLanguage",
                        "ContentCRC64",
                        "CacheControl",
                        "Metadata",
                        "Deleted",
                        "RemainingRetentionDays",
                    ],
                },
                "destination": "container1",
                "enabled": True,
                "name": "inventoryPolicyRule1",
            },
            {
                "definition": {
                    "format": azure_native.storage.Format.PARQUET,
                    "object_type": azure_native.storage.ObjectType.CONTAINER,
                    "schedule": azure_native.storage.Schedule.WEEKLY,
                    "schema_fields": [
                        "Name",
                        "Last-Modified",
                        "Metadata",
                        "LeaseStatus",
                        "LeaseState",
                        "LeaseDuration",
                        "PublicAccess",
                        "HasImmutabilityPolicy",
                        "HasLegalHold",
                        "Etag",
                        "DefaultEncryptionScope",
                        "DenyEncryptionScopeOverride",
                        "ImmutableStorageWithVersioningEnabled",
                        "Deleted",
                        "Version",
                        "DeletedTime",
                        "RemainingRetentionDays",
                    ],
                },
                "destination": "container2",
                "enabled": True,
                "name": "inventoryPolicyRule2",
            },
        ],
        "type": azure_native.storage.InventoryRuleType.INVENTORY,
    },
    resource_group_name="res7687")
resources:
  blobInventoryPolicy:
    type: azure-native:storage:BlobInventoryPolicy
    properties:
      accountName: sto9699
      blobInventoryPolicyName: default
      policy:
        enabled: true
        rules:
          - definition:
              filters:
                blobTypes:
                  - blockBlob
                  - appendBlob
                  - pageBlob
                excludePrefix:
                  - excludeprefix1
                  - excludeprefix2
                includeBlobVersions: true
                includeDeleted: true
                includeSnapshots: true
                prefixMatch:
                  - inventoryprefix1
                  - inventoryprefix2
              format: Csv
              objectType: Blob
              schedule: Daily
              schemaFields:
                - Name
                - Creation-Time
                - Last-Modified
                - Content-Length
                - Content-MD5
                - BlobType
                - AccessTier
                - AccessTierChangeTime
                - Snapshot
                - VersionId
                - IsCurrentVersion
                - Tags
                - ContentType
                - ContentEncoding
                - ContentLanguage
                - ContentCRC64
                - CacheControl
                - Metadata
                - Deleted
                - RemainingRetentionDays
            destination: container1
            enabled: true
            name: inventoryPolicyRule1
          - definition:
              format: Parquet
              objectType: Container
              schedule: Weekly
              schemaFields:
                - Name
                - Last-Modified
                - Metadata
                - LeaseStatus
                - LeaseState
                - LeaseDuration
                - PublicAccess
                - HasImmutabilityPolicy
                - HasLegalHold
                - Etag
                - DefaultEncryptionScope
                - DenyEncryptionScopeOverride
                - ImmutableStorageWithVersioningEnabled
                - Deleted
                - Version
                - DeletedTime
                - RemainingRetentionDays
            destination: container2
            enabled: true
            name: inventoryPolicyRule2
        type: Inventory
      resourceGroupName: res7687
Create BlobInventoryPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BlobInventoryPolicy(name: string, args: BlobInventoryPolicyArgs, opts?: CustomResourceOptions);@overload
def BlobInventoryPolicy(resource_name: str,
                        args: BlobInventoryPolicyArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def BlobInventoryPolicy(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        account_name: Optional[str] = None,
                        policy: Optional[BlobInventoryPolicySchemaArgs] = None,
                        resource_group_name: Optional[str] = None,
                        blob_inventory_policy_name: Optional[str] = None)func NewBlobInventoryPolicy(ctx *Context, name string, args BlobInventoryPolicyArgs, opts ...ResourceOption) (*BlobInventoryPolicy, error)public BlobInventoryPolicy(string name, BlobInventoryPolicyArgs args, CustomResourceOptions? opts = null)
public BlobInventoryPolicy(String name, BlobInventoryPolicyArgs args)
public BlobInventoryPolicy(String name, BlobInventoryPolicyArgs args, CustomResourceOptions options)
type: azure-native:storage:BlobInventoryPolicy
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 BlobInventoryPolicyArgs
- 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 BlobInventoryPolicyArgs
- 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 BlobInventoryPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BlobInventoryPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BlobInventoryPolicyArgs
- 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 blobInventoryPolicyResource = new AzureNative.Storage.BlobInventoryPolicy("blobInventoryPolicyResource", new()
{
    AccountName = "string",
    Policy = new AzureNative.Storage.Inputs.BlobInventoryPolicySchemaArgs
    {
        Enabled = false,
        Rules = new[]
        {
            new AzureNative.Storage.Inputs.BlobInventoryPolicyRuleArgs
            {
                Definition = new AzureNative.Storage.Inputs.BlobInventoryPolicyDefinitionArgs
                {
                    Format = "string",
                    ObjectType = "string",
                    Schedule = "string",
                    SchemaFields = new[]
                    {
                        "string",
                    },
                    Filters = new AzureNative.Storage.Inputs.BlobInventoryPolicyFilterArgs
                    {
                        BlobTypes = new[]
                        {
                            "string",
                        },
                        ExcludePrefix = new[]
                        {
                            "string",
                        },
                        IncludeBlobVersions = false,
                        IncludeDeleted = false,
                        IncludeSnapshots = false,
                        PrefixMatch = new[]
                        {
                            "string",
                        },
                    },
                },
                Destination = "string",
                Enabled = false,
                Name = "string",
            },
        },
        Type = "string",
    },
    ResourceGroupName = "string",
    BlobInventoryPolicyName = "string",
});
example, err := storage.NewBlobInventoryPolicy(ctx, "blobInventoryPolicyResource", &storage.BlobInventoryPolicyArgs{
	AccountName: pulumi.String("string"),
	Policy: &storage.BlobInventoryPolicySchemaArgs{
		Enabled: pulumi.Bool(false),
		Rules: storage.BlobInventoryPolicyRuleArray{
			&storage.BlobInventoryPolicyRuleArgs{
				Definition: &storage.BlobInventoryPolicyDefinitionArgs{
					Format:     pulumi.String("string"),
					ObjectType: pulumi.String("string"),
					Schedule:   pulumi.String("string"),
					SchemaFields: pulumi.StringArray{
						pulumi.String("string"),
					},
					Filters: &storage.BlobInventoryPolicyFilterArgs{
						BlobTypes: pulumi.StringArray{
							pulumi.String("string"),
						},
						ExcludePrefix: pulumi.StringArray{
							pulumi.String("string"),
						},
						IncludeBlobVersions: pulumi.Bool(false),
						IncludeDeleted:      pulumi.Bool(false),
						IncludeSnapshots:    pulumi.Bool(false),
						PrefixMatch: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
				Destination: pulumi.String("string"),
				Enabled:     pulumi.Bool(false),
				Name:        pulumi.String("string"),
			},
		},
		Type: pulumi.String("string"),
	},
	ResourceGroupName:       pulumi.String("string"),
	BlobInventoryPolicyName: pulumi.String("string"),
})
var blobInventoryPolicyResource = new BlobInventoryPolicy("blobInventoryPolicyResource", BlobInventoryPolicyArgs.builder()
    .accountName("string")
    .policy(BlobInventoryPolicySchemaArgs.builder()
        .enabled(false)
        .rules(BlobInventoryPolicyRuleArgs.builder()
            .definition(BlobInventoryPolicyDefinitionArgs.builder()
                .format("string")
                .objectType("string")
                .schedule("string")
                .schemaFields("string")
                .filters(BlobInventoryPolicyFilterArgs.builder()
                    .blobTypes("string")
                    .excludePrefix("string")
                    .includeBlobVersions(false)
                    .includeDeleted(false)
                    .includeSnapshots(false)
                    .prefixMatch("string")
                    .build())
                .build())
            .destination("string")
            .enabled(false)
            .name("string")
            .build())
        .type("string")
        .build())
    .resourceGroupName("string")
    .blobInventoryPolicyName("string")
    .build());
blob_inventory_policy_resource = azure_native.storage.BlobInventoryPolicy("blobInventoryPolicyResource",
    account_name="string",
    policy={
        "enabled": False,
        "rules": [{
            "definition": {
                "format": "string",
                "object_type": "string",
                "schedule": "string",
                "schema_fields": ["string"],
                "filters": {
                    "blob_types": ["string"],
                    "exclude_prefix": ["string"],
                    "include_blob_versions": False,
                    "include_deleted": False,
                    "include_snapshots": False,
                    "prefix_match": ["string"],
                },
            },
            "destination": "string",
            "enabled": False,
            "name": "string",
        }],
        "type": "string",
    },
    resource_group_name="string",
    blob_inventory_policy_name="string")
const blobInventoryPolicyResource = new azure_native.storage.BlobInventoryPolicy("blobInventoryPolicyResource", {
    accountName: "string",
    policy: {
        enabled: false,
        rules: [{
            definition: {
                format: "string",
                objectType: "string",
                schedule: "string",
                schemaFields: ["string"],
                filters: {
                    blobTypes: ["string"],
                    excludePrefix: ["string"],
                    includeBlobVersions: false,
                    includeDeleted: false,
                    includeSnapshots: false,
                    prefixMatch: ["string"],
                },
            },
            destination: "string",
            enabled: false,
            name: "string",
        }],
        type: "string",
    },
    resourceGroupName: "string",
    blobInventoryPolicyName: "string",
});
type: azure-native:storage:BlobInventoryPolicy
properties:
    accountName: string
    blobInventoryPolicyName: string
    policy:
        enabled: false
        rules:
            - definition:
                filters:
                    blobTypes:
                        - string
                    excludePrefix:
                        - string
                    includeBlobVersions: false
                    includeDeleted: false
                    includeSnapshots: false
                    prefixMatch:
                        - string
                format: string
                objectType: string
                schedule: string
                schemaFields:
                    - string
              destination: string
              enabled: false
              name: string
        type: string
    resourceGroupName: string
BlobInventoryPolicy 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 BlobInventoryPolicy resource accepts the following input properties:
- AccountName string
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Policy
Pulumi.Azure Native. Storage. Inputs. Blob Inventory Policy Schema 
- The storage account blob inventory policy object. It is composed of policy rules.
- ResourceGroup stringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- BlobInventory stringPolicy Name 
- The name of the storage account blob inventory policy. It should always be 'default'
- AccountName string
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Policy
BlobInventory Policy Schema Args 
- The storage account blob inventory policy object. It is composed of policy rules.
- ResourceGroup stringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- BlobInventory stringPolicy Name 
- The name of the storage account blob inventory policy. It should always be 'default'
- accountName String
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy
BlobInventory Policy Schema 
- The storage account blob inventory policy object. It is composed of policy rules.
- resourceGroup StringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- blobInventory StringPolicy Name 
- The name of the storage account blob inventory policy. It should always be 'default'
- accountName string
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy
BlobInventory Policy Schema 
- The storage account blob inventory policy object. It is composed of policy rules.
- resourceGroup stringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- blobInventory stringPolicy Name 
- The name of the storage account blob inventory 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
BlobInventory Policy Schema Args 
- The storage account blob inventory policy object. It is composed of policy rules.
- resource_group_ strname 
- The name of the resource group within the user's subscription. The name is case insensitive.
- blob_inventory_ strpolicy_ name 
- The name of the storage account blob inventory policy. It should always be 'default'
- accountName String
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy Property Map
- The storage account blob inventory policy object. It is composed of policy rules.
- resourceGroup StringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- blobInventory StringPolicy Name 
- The name of the storage account blob inventory policy. It should always be 'default'
Outputs
All input properties are implicitly available as output properties. Additionally, the BlobInventoryPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- LastModified stringTime 
- Returns the last modified date and time of the blob inventory policy.
- Name string
- The name of the resource
- SystemData Pulumi.Azure Native. Storage. Outputs. System Data Response 
- Metadata pertaining to creation and last modification 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.
- LastModified stringTime 
- Returns the last modified date and time of the blob inventory policy.
- Name string
- The name of the resource
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification 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.
- lastModified StringTime 
- Returns the last modified date and time of the blob inventory policy.
- name String
- The name of the resource
- systemData SystemData Response 
- Metadata pertaining to creation and last modification 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.
- lastModified stringTime 
- Returns the last modified date and time of the blob inventory policy.
- name string
- The name of the resource
- systemData SystemData Response 
- Metadata pertaining to creation and last modification 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 last modified date and time of the blob inventory policy.
- name str
- The name of the resource
- system_data SystemData Response 
- Metadata pertaining to creation and last modification 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.
- lastModified StringTime 
- Returns the last modified date and time of the blob inventory policy.
- name String
- The name of the resource
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
BlobInventoryPolicyDefinition, BlobInventoryPolicyDefinitionArgs        
- Format
string | Pulumi.Azure Native. Storage. Format 
- This is a required field, it specifies the format for the inventory files.
- ObjectType string | Pulumi.Azure Native. Storage. Object Type 
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- Schedule
string | Pulumi.Azure Native. Storage. Schedule 
- This is a required field. This field is used to schedule an inventory formation.
- SchemaFields List<string>
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- Filters
Pulumi.Azure Native. Storage. Inputs. Blob Inventory Policy Filter 
- An object that defines the filter set.
- Format string | Format
- This is a required field, it specifies the format for the inventory files.
- ObjectType string | ObjectType 
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- Schedule string | Schedule
- This is a required field. This field is used to schedule an inventory formation.
- SchemaFields []string
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- Filters
BlobInventory Policy Filter 
- An object that defines the filter set.
- format String | Format
- This is a required field, it specifies the format for the inventory files.
- objectType String | ObjectType 
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- schedule String | Schedule
- This is a required field. This field is used to schedule an inventory formation.
- schemaFields List<String>
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- filters
BlobInventory Policy Filter 
- An object that defines the filter set.
- format string | Format
- This is a required field, it specifies the format for the inventory files.
- objectType string | ObjectType 
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- schedule string | Schedule
- This is a required field. This field is used to schedule an inventory formation.
- schemaFields string[]
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- filters
BlobInventory Policy Filter 
- An object that defines the filter set.
- format str | Format
- This is a required field, it specifies the format for the inventory files.
- object_type str | ObjectType 
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- schedule str | Schedule
- This is a required field. This field is used to schedule an inventory formation.
- schema_fields Sequence[str]
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- filters
BlobInventory Policy Filter 
- An object that defines the filter set.
- format String | "Csv" | "Parquet"
- This is a required field, it specifies the format for the inventory files.
- objectType String | "Blob" | "Container"
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- schedule String | "Daily" | "Weekly"
- This is a required field. This field is used to schedule an inventory formation.
- schemaFields List<String>
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- filters Property Map
- An object that defines the filter set.
BlobInventoryPolicyDefinitionResponse, BlobInventoryPolicyDefinitionResponseArgs          
- Format string
- This is a required field, it specifies the format for the inventory files.
- ObjectType string
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- Schedule string
- This is a required field. This field is used to schedule an inventory formation.
- SchemaFields List<string>
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- Filters
Pulumi.Azure Native. Storage. Inputs. Blob Inventory Policy Filter Response 
- An object that defines the filter set.
- Format string
- This is a required field, it specifies the format for the inventory files.
- ObjectType string
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- Schedule string
- This is a required field. This field is used to schedule an inventory formation.
- SchemaFields []string
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- Filters
BlobInventory Policy Filter Response 
- An object that defines the filter set.
- format String
- This is a required field, it specifies the format for the inventory files.
- objectType String
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- schedule String
- This is a required field. This field is used to schedule an inventory formation.
- schemaFields List<String>
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- filters
BlobInventory Policy Filter Response 
- An object that defines the filter set.
- format string
- This is a required field, it specifies the format for the inventory files.
- objectType string
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- schedule string
- This is a required field. This field is used to schedule an inventory formation.
- schemaFields string[]
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- filters
BlobInventory Policy Filter Response 
- An object that defines the filter set.
- format str
- This is a required field, it specifies the format for the inventory files.
- object_type str
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- schedule str
- This is a required field. This field is used to schedule an inventory formation.
- schema_fields Sequence[str]
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- filters
BlobInventory Policy Filter Response 
- An object that defines the filter set.
- format String
- This is a required field, it specifies the format for the inventory files.
- objectType String
- This is a required field. This field specifies the scope of the inventory created either at the blob or container level.
- schedule String
- This is a required field. This field is used to schedule an inventory formation.
- schemaFields List<String>
- This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.
- filters Property Map
- An object that defines the filter set.
BlobInventoryPolicyFilter, BlobInventoryPolicyFilterArgs        
- BlobTypes List<string>
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- ExcludePrefix List<string>
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- IncludeBlob boolVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- IncludeDeleted bool
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- IncludeSnapshots bool
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- PrefixMatch List<string>
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- BlobTypes []string
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- ExcludePrefix []string
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- IncludeBlob boolVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- IncludeDeleted bool
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- IncludeSnapshots bool
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- PrefixMatch []string
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blobTypes List<String>
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- excludePrefix List<String>
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- includeBlob BooleanVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- includeDeleted Boolean
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- includeSnapshots Boolean
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- prefixMatch List<String>
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blobTypes string[]
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- excludePrefix string[]
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- includeBlob booleanVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- includeDeleted boolean
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- includeSnapshots boolean
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- prefixMatch string[]
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blob_types Sequence[str]
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- exclude_prefix Sequence[str]
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- include_blob_ boolversions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- include_deleted bool
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- include_snapshots bool
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- prefix_match Sequence[str]
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blobTypes List<String>
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- excludePrefix List<String>
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- includeBlob BooleanVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- includeDeleted Boolean
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- includeSnapshots Boolean
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- prefixMatch List<String>
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
BlobInventoryPolicyFilterResponse, BlobInventoryPolicyFilterResponseArgs          
- BlobTypes List<string>
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- ExcludePrefix List<string>
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- IncludeBlob boolVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- IncludeDeleted bool
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- IncludeSnapshots bool
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- PrefixMatch List<string>
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- BlobTypes []string
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- ExcludePrefix []string
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- IncludeBlob boolVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- IncludeDeleted bool
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- IncludeSnapshots bool
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- PrefixMatch []string
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blobTypes List<String>
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- excludePrefix List<String>
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- includeBlob BooleanVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- includeDeleted Boolean
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- includeSnapshots Boolean
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- prefixMatch List<String>
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blobTypes string[]
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- excludePrefix string[]
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- includeBlob booleanVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- includeDeleted boolean
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- includeSnapshots boolean
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- prefixMatch string[]
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blob_types Sequence[str]
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- exclude_prefix Sequence[str]
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- include_blob_ boolversions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- include_deleted bool
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- include_snapshots bool
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- prefix_match Sequence[str]
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blobTypes List<String>
- An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.
- excludePrefix List<String>
- An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- includeBlob BooleanVersions 
- Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded.
- includeDeleted Boolean
- For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded.
- includeSnapshots Boolean
- Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded.
- prefixMatch List<String>
- An array of strings with maximum 10 blob prefixes to be included in the inventory.
BlobInventoryPolicyRule, BlobInventoryPolicyRuleArgs        
- Definition
Pulumi.Azure Native. Storage. Inputs. Blob Inventory Policy Definition 
- An object that defines the blob inventory policy rule.
- Destination string
- Container name where blob inventory files are stored. Must be pre-created.
- Enabled bool
- Rule is enabled when set to true.
- 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.
- Definition
BlobInventory Policy Definition 
- An object that defines the blob inventory policy rule.
- Destination string
- Container name where blob inventory files are stored. Must be pre-created.
- Enabled bool
- Rule is enabled when set to true.
- 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.
- definition
BlobInventory Policy Definition 
- An object that defines the blob inventory policy rule.
- destination String
- Container name where blob inventory files are stored. Must be pre-created.
- enabled Boolean
- Rule is enabled when set to true.
- 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.
- definition
BlobInventory Policy Definition 
- An object that defines the blob inventory policy rule.
- destination string
- Container name where blob inventory files are stored. Must be pre-created.
- enabled boolean
- Rule is enabled when set to true.
- 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.
- definition
BlobInventory Policy Definition 
- An object that defines the blob inventory policy rule.
- destination str
- Container name where blob inventory files are stored. Must be pre-created.
- enabled bool
- Rule is enabled when set to true.
- 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.
- definition Property Map
- An object that defines the blob inventory policy rule.
- destination String
- Container name where blob inventory files are stored. Must be pre-created.
- enabled Boolean
- Rule is enabled when set to true.
- 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.
BlobInventoryPolicyRuleResponse, BlobInventoryPolicyRuleResponseArgs          
- Definition
Pulumi.Azure Native. Storage. Inputs. Blob Inventory Policy Definition Response 
- An object that defines the blob inventory policy rule.
- Destination string
- Container name where blob inventory files are stored. Must be pre-created.
- Enabled bool
- Rule is enabled when set to true.
- 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.
- Definition
BlobInventory Policy Definition Response 
- An object that defines the blob inventory policy rule.
- Destination string
- Container name where blob inventory files are stored. Must be pre-created.
- Enabled bool
- Rule is enabled when set to true.
- 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.
- definition
BlobInventory Policy Definition Response 
- An object that defines the blob inventory policy rule.
- destination String
- Container name where blob inventory files are stored. Must be pre-created.
- enabled Boolean
- Rule is enabled when set to true.
- 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.
- definition
BlobInventory Policy Definition Response 
- An object that defines the blob inventory policy rule.
- destination string
- Container name where blob inventory files are stored. Must be pre-created.
- enabled boolean
- Rule is enabled when set to true.
- 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.
- definition
BlobInventory Policy Definition Response 
- An object that defines the blob inventory policy rule.
- destination str
- Container name where blob inventory files are stored. Must be pre-created.
- enabled bool
- Rule is enabled when set to true.
- 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.
- definition Property Map
- An object that defines the blob inventory policy rule.
- destination String
- Container name where blob inventory files are stored. Must be pre-created.
- enabled Boolean
- Rule is enabled when set to true.
- 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.
BlobInventoryPolicySchema, BlobInventoryPolicySchemaArgs        
- Enabled bool
- Policy is enabled if set to true.
- Rules
List<Pulumi.Azure Native. Storage. Inputs. Blob Inventory Policy Rule> 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- Type
string | Pulumi.Azure Native. Storage. Inventory Rule Type 
- The valid value is Inventory
- Enabled bool
- Policy is enabled if set to true.
- Rules
[]BlobInventory Policy Rule 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- Type
string | InventoryRule Type 
- The valid value is Inventory
- enabled Boolean
- Policy is enabled if set to true.
- rules
List<BlobInventory Policy Rule> 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type
String | InventoryRule Type 
- The valid value is Inventory
- enabled boolean
- Policy is enabled if set to true.
- rules
BlobInventory Policy Rule[] 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type
string | InventoryRule Type 
- The valid value is Inventory
- enabled bool
- Policy is enabled if set to true.
- rules
Sequence[BlobInventory Policy Rule] 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type
str | InventoryRule Type 
- The valid value is Inventory
- enabled Boolean
- Policy is enabled if set to true.
- rules List<Property Map>
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type String | "Inventory"
- The valid value is Inventory
BlobInventoryPolicySchemaResponse, BlobInventoryPolicySchemaResponseArgs          
- Destination string
- Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'
- Enabled bool
- Policy is enabled if set to true.
- Rules
List<Pulumi.Azure Native. Storage. Inputs. Blob Inventory Policy Rule Response> 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- Type string
- The valid value is Inventory
- Destination string
- Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'
- Enabled bool
- Policy is enabled if set to true.
- Rules
[]BlobInventory Policy Rule Response 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- Type string
- The valid value is Inventory
- destination String
- Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'
- enabled Boolean
- Policy is enabled if set to true.
- rules
List<BlobInventory Policy Rule Response> 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type String
- The valid value is Inventory
- destination string
- Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'
- enabled boolean
- Policy is enabled if set to true.
- rules
BlobInventory Policy Rule Response[] 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type string
- The valid value is Inventory
- destination str
- Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'
- enabled bool
- Policy is enabled if set to true.
- rules
Sequence[BlobInventory Policy Rule Response] 
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type str
- The valid value is Inventory
- destination String
- Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'
- enabled Boolean
- Policy is enabled if set to true.
- rules List<Property Map>
- The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type String
- The valid value is Inventory
Format, FormatArgs  
- Csv
- Csv
- Parquet
- Parquet
- FormatCsv 
- Csv
- FormatParquet 
- Parquet
- Csv
- Csv
- Parquet
- Parquet
- Csv
- Csv
- Parquet
- Parquet
- CSV
- Csv
- PARQUET
- Parquet
- "Csv"
- Csv
- "Parquet"
- Parquet
InventoryRuleType, InventoryRuleTypeArgs      
- Inventory
- Inventory
- InventoryRule Type Inventory 
- Inventory
- Inventory
- Inventory
- Inventory
- Inventory
- INVENTORY
- Inventory
- "Inventory"
- Inventory
ObjectType, ObjectTypeArgs    
- Blob
- Blob
- Container
- Container
- ObjectType Blob 
- Blob
- ObjectType Container 
- Container
- Blob
- Blob
- Container
- Container
- Blob
- Blob
- Container
- Container
- BLOB
- Blob
- CONTAINER
- Container
- "Blob"
- Blob
- "Container"
- Container
Schedule, ScheduleArgs  
- Daily
- Daily
- Weekly
- Weekly
- ScheduleDaily 
- Daily
- ScheduleWeekly 
- Weekly
- Daily
- Daily
- Weekly
- Weekly
- Daily
- Daily
- Weekly
- Weekly
- DAILY
- Daily
- WEEKLY
- Weekly
- "Daily"
- Daily
- "Weekly"
- Weekly
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storage:BlobInventoryPolicy DefaultInventoryPolicy /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0