1. Packages
  2. Azure Native v1
  3. API Docs
  4. storage
  5. BlobInventoryPolicy
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.storage.BlobInventoryPolicy

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    The storage account blob inventory policy. API Version: 2021-02-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
            {
                Destination = "containerName",
                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",
                                },
                                IncludeBlobVersions = true,
                                IncludeSnapshots = true,
                                PrefixMatch = new[]
                                {
                                    "inventoryprefix1",
                                    "inventoryprefix2",
                                },
                            },
                        },
                        Enabled = true,
                        Name = "inventoryPolicyRule1",
                    },
                },
                Type = "Inventory",
            },
            ResourceGroupName = "res7687",
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storage.BlobInventoryPolicy;
    import com.pulumi.azurenative.storage.BlobInventoryPolicyArgs;
    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(Map.ofEntries(
                    Map.entry("destination", "containerName"),
                    Map.entry("enabled", true),
                    Map.entry("rules", Map.ofEntries(
                        Map.entry("definition", Map.of("filters", Map.ofEntries(
                            Map.entry("blobTypes",                         
                                "blockBlob",
                                "appendBlob",
                                "pageBlob"),
                            Map.entry("includeBlobVersions", true),
                            Map.entry("includeSnapshots", true),
                            Map.entry("prefixMatch",                         
                                "inventoryprefix1",
                                "inventoryprefix2")
                        ))),
                        Map.entry("enabled", true),
                        Map.entry("name", "inventoryPolicyRule1")
                    )),
                    Map.entry("type", "Inventory")
                ))
                .resourceGroupName("res7687")
                .build());
    
        }
    }
    
    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=azure_native.storage.BlobInventoryPolicySchemaResponseArgs(
            destination="containerName",
            enabled=True,
            rules=[{
                "definition": {
                    "filters": azure_native.storage.BlobInventoryPolicyFilterArgs(
                        blob_types=[
                            "blockBlob",
                            "appendBlob",
                            "pageBlob",
                        ],
                        include_blob_versions=True,
                        include_snapshots=True,
                        prefix_match=[
                            "inventoryprefix1",
                            "inventoryprefix2",
                        ],
                    ),
                },
                "enabled": True,
                "name": "inventoryPolicyRule1",
            }],
            type="Inventory",
        ),
        resource_group_name="res7687")
    
    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: {
            destination: "containerName",
            enabled: true,
            rules: [{
                definition: {
                    filters: {
                        blobTypes: [
                            "blockBlob",
                            "appendBlob",
                            "pageBlob",
                        ],
                        includeBlobVersions: true,
                        includeSnapshots: true,
                        prefixMatch: [
                            "inventoryprefix1",
                            "inventoryprefix2",
                        ],
                    },
                },
                enabled: true,
                name: "inventoryPolicyRule1",
            }],
            type: "Inventory",
        },
        resourceGroupName: "res7687",
    });
    
    resources:
      blobInventoryPolicy:
        type: azure-native:storage:BlobInventoryPolicy
        properties:
          accountName: sto9699
          blobInventoryPolicyName: default
          policy:
            destination: containerName
            enabled: true
            rules:
              - definition:
                  filters:
                    blobTypes:
                      - blockBlob
                      - appendBlob
                      - pageBlob
                    includeBlobVersions: true
                    includeSnapshots: true
                    prefixMatch:
                      - inventoryprefix1
                      - inventoryprefix2
                enabled: true
                name: inventoryPolicyRule1
            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 = 
        {
            { "destination", "string" },
            { "enabled", false },
            { "rules", new[]
            {
                
                {
                    { "definition", 
                    {
                        { "filters", 
                        {
                            { "blobTypes", new[]
                            {
                                "string",
                            } },
                            { "includeBlobVersions", false },
                            { "includeSnapshots", false },
                            { "prefixMatch", new[]
                            {
                                "string",
                            } },
                        } },
                    } },
                    { "enabled", false },
                    { "name", "string" },
                },
            } },
            { "type", "string" },
        },
        ResourceGroupName = "string",
        BlobInventoryPolicyName = "string",
    });
    
    example, err := storage.NewBlobInventoryPolicy(ctx, "blobInventoryPolicyResource", &storage.BlobInventoryPolicyArgs{
    	AccountName: "string",
    	Policy: map[string]interface{}{
    		"destination": "string",
    		"enabled":     false,
    		"rules": []map[string]interface{}{
    			map[string]interface{}{
    				"definition": map[string]interface{}{
    					"filters": map[string]interface{}{
    						"blobTypes": []string{
    							"string",
    						},
    						"includeBlobVersions": false,
    						"includeSnapshots":    false,
    						"prefixMatch": []string{
    							"string",
    						},
    					},
    				},
    				"enabled": false,
    				"name":    "string",
    			},
    		},
    		"type": "string",
    	},
    	ResourceGroupName:       "string",
    	BlobInventoryPolicyName: "string",
    })
    
    var blobInventoryPolicyResource = new BlobInventoryPolicy("blobInventoryPolicyResource", BlobInventoryPolicyArgs.builder()
        .accountName("string")
        .policy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .resourceGroupName("string")
        .blobInventoryPolicyName("string")
        .build());
    
    blob_inventory_policy_resource = azure_native.storage.BlobInventoryPolicy("blobInventoryPolicyResource",
        account_name=string,
        policy={
            destination: string,
            enabled: False,
            rules: [{
                definition: {
                    filters: {
                        blobTypes: [string],
                        includeBlobVersions: False,
                        includeSnapshots: False,
                        prefixMatch: [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: {
            destination: "string",
            enabled: false,
            rules: [{
                definition: {
                    filters: {
                        blobTypes: ["string"],
                        includeBlobVersions: false,
                        includeSnapshots: false,
                        prefixMatch: ["string"],
                    },
                },
                enabled: false,
                name: "string",
            }],
            type: "string",
        },
        resourceGroupName: "string",
        blobInventoryPolicyName: "string",
    });
    
    type: azure-native:storage:BlobInventoryPolicy
    properties:
        accountName: string
        blobInventoryPolicyName: string
        policy:
            destination: string
            enabled: false
            rules:
                - definition:
                    filters:
                        blobTypes:
                            - string
                        includeBlobVersions: false
                        includeSnapshots: false
                        prefixMatch:
                            - 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

    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.AzureNative.Storage.Inputs.BlobInventoryPolicySchema
    The storage account blob inventory policy object. It is composed of policy rules.
    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    BlobInventoryPolicyName string
    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 BlobInventoryPolicySchemaArgs
    The storage account blob inventory policy object. It is composed of policy rules.
    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    BlobInventoryPolicyName string
    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 BlobInventoryPolicySchema
    The storage account blob inventory policy object. It is composed of policy rules.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    blobInventoryPolicyName String
    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 BlobInventoryPolicySchema
    The storage account blob inventory policy object. It is composed of policy rules.
    resourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    blobInventoryPolicyName string
    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 BlobInventoryPolicySchemaArgs
    The storage account blob inventory policy object. It is composed of policy rules.
    resource_group_name str
    The name of the resource group within the user's subscription. The name is case insensitive.
    blob_inventory_policy_name str
    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.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    blobInventoryPolicyName String
    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.
    LastModifiedTime string
    Returns the last modified date and time of the blob inventory policy.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.Storage.Outputs.SystemDataResponse
    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.
    LastModifiedTime string
    Returns the last modified date and time of the blob inventory policy.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    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.
    lastModifiedTime String
    Returns the last modified date and time of the blob inventory policy.
    name String
    The name of the resource
    systemData SystemDataResponse
    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.
    lastModifiedTime string
    Returns the last modified date and time of the blob inventory policy.
    name string
    The name of the resource
    systemData SystemDataResponse
    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_time str
    Returns the last modified date and time of the blob inventory policy.
    name str
    The name of the resource
    system_data SystemDataResponse
    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.
    lastModifiedTime String
    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

    Filters BlobInventoryPolicyFilter
    An object that defines the filter set.
    filters BlobInventoryPolicyFilter
    An object that defines the filter set.
    filters BlobInventoryPolicyFilter
    An object that defines the filter set.
    filters BlobInventoryPolicyFilter
    An object that defines the filter set.
    filters Property Map
    An object that defines the filter set.

    BlobInventoryPolicyDefinitionResponse, BlobInventoryPolicyDefinitionResponseArgs

    Filters BlobInventoryPolicyFilterResponse
    An object that defines the filter set.
    filters BlobInventoryPolicyFilterResponse
    An object that defines the filter set.
    filters BlobInventoryPolicyFilterResponse
    An object that defines the filter set.
    filters BlobInventoryPolicyFilterResponse
    An object that defines the filter set.
    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.
    IncludeBlobVersions bool
    Includes blob versions in blob inventory when value set to true.
    IncludeSnapshots bool
    Includes blob snapshots in blob inventory when value set to true.
    PrefixMatch List<string>
    An array of strings for blob prefixes to be matched.
    BlobTypes []string
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    IncludeBlobVersions bool
    Includes blob versions in blob inventory when value set to true.
    IncludeSnapshots bool
    Includes blob snapshots in blob inventory when value set to true.
    PrefixMatch []string
    An array of strings for blob prefixes to be matched.
    blobTypes List<String>
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    includeBlobVersions Boolean
    Includes blob versions in blob inventory when value set to true.
    includeSnapshots Boolean
    Includes blob snapshots in blob inventory when value set to true.
    prefixMatch List<String>
    An array of strings for blob prefixes to be matched.
    blobTypes string[]
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    includeBlobVersions boolean
    Includes blob versions in blob inventory when value set to true.
    includeSnapshots boolean
    Includes blob snapshots in blob inventory when value set to true.
    prefixMatch string[]
    An array of strings for blob prefixes to be matched.
    blob_types Sequence[str]
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    include_blob_versions bool
    Includes blob versions in blob inventory when value set to true.
    include_snapshots bool
    Includes blob snapshots in blob inventory when value set to true.
    prefix_match Sequence[str]
    An array of strings for blob prefixes to be matched.
    blobTypes List<String>
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    includeBlobVersions Boolean
    Includes blob versions in blob inventory when value set to true.
    includeSnapshots Boolean
    Includes blob snapshots in blob inventory when value set to true.
    prefixMatch List<String>
    An array of strings for blob prefixes to be matched.

    BlobInventoryPolicyFilterResponse, BlobInventoryPolicyFilterResponseArgs

    BlobTypes List<string>
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    IncludeBlobVersions bool
    Includes blob versions in blob inventory when value set to true.
    IncludeSnapshots bool
    Includes blob snapshots in blob inventory when value set to true.
    PrefixMatch List<string>
    An array of strings for blob prefixes to be matched.
    BlobTypes []string
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    IncludeBlobVersions bool
    Includes blob versions in blob inventory when value set to true.
    IncludeSnapshots bool
    Includes blob snapshots in blob inventory when value set to true.
    PrefixMatch []string
    An array of strings for blob prefixes to be matched.
    blobTypes List<String>
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    includeBlobVersions Boolean
    Includes blob versions in blob inventory when value set to true.
    includeSnapshots Boolean
    Includes blob snapshots in blob inventory when value set to true.
    prefixMatch List<String>
    An array of strings for blob prefixes to be matched.
    blobTypes string[]
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    includeBlobVersions boolean
    Includes blob versions in blob inventory when value set to true.
    includeSnapshots boolean
    Includes blob snapshots in blob inventory when value set to true.
    prefixMatch string[]
    An array of strings for blob prefixes to be matched.
    blob_types Sequence[str]
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    include_blob_versions bool
    Includes blob versions in blob inventory when value set to true.
    include_snapshots bool
    Includes blob snapshots in blob inventory when value set to true.
    prefix_match Sequence[str]
    An array of strings for blob prefixes to be matched.
    blobTypes List<String>
    An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
    includeBlobVersions Boolean
    Includes blob versions in blob inventory when value set to true.
    includeSnapshots Boolean
    Includes blob snapshots in blob inventory when value set to true.
    prefixMatch List<String>
    An array of strings for blob prefixes to be matched.

    BlobInventoryPolicyRule, BlobInventoryPolicyRuleArgs

    Definition Pulumi.AzureNative.Storage.Inputs.BlobInventoryPolicyDefinition
    An object that defines the blob inventory policy rule.
    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 BlobInventoryPolicyDefinition
    An object that defines the blob inventory policy rule.
    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 BlobInventoryPolicyDefinition
    An object that defines the blob inventory policy rule.
    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 BlobInventoryPolicyDefinition
    An object that defines the blob inventory policy rule.
    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 BlobInventoryPolicyDefinition
    An object that defines the blob inventory policy rule.
    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.
    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.AzureNative.Storage.Inputs.BlobInventoryPolicyDefinitionResponse
    An object that defines the blob inventory policy rule.
    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 BlobInventoryPolicyDefinitionResponse
    An object that defines the blob inventory policy rule.
    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 BlobInventoryPolicyDefinitionResponse
    An object that defines the blob inventory policy rule.
    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 BlobInventoryPolicyDefinitionResponse
    An object that defines the blob inventory policy rule.
    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 BlobInventoryPolicyDefinitionResponse
    An object that defines the blob inventory policy rule.
    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.
    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

    Destination string
    Container name where blob inventory files are stored. Must be pre-created.
    Enabled bool
    Policy is enabled if set to true.
    Rules List<Pulumi.AzureNative.Storage.Inputs.BlobInventoryPolicyRule>
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    Type string | Pulumi.AzureNative.Storage.InventoryRuleType
    The valid value is Inventory
    Destination string
    Container name where blob inventory files are stored. Must be pre-created.
    Enabled bool
    Policy is enabled if set to true.
    Rules []BlobInventoryPolicyRule
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    Type string | InventoryRuleType
    The valid value is Inventory
    destination String
    Container name where blob inventory files are stored. Must be pre-created.
    enabled Boolean
    Policy is enabled if set to true.
    rules List<BlobInventoryPolicyRule>
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    type String | InventoryRuleType
    The valid value is Inventory
    destination string
    Container name where blob inventory files are stored. Must be pre-created.
    enabled boolean
    Policy is enabled if set to true.
    rules BlobInventoryPolicyRule[]
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    type string | InventoryRuleType
    The valid value is Inventory
    destination str
    Container name where blob inventory files are stored. Must be pre-created.
    enabled bool
    Policy is enabled if set to true.
    rules Sequence[BlobInventoryPolicyRule]
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    type str | InventoryRuleType
    The valid value is Inventory
    destination String
    Container name where blob inventory files are stored. Must be pre-created.
    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
    Container name where blob inventory files are stored. Must be pre-created.
    Enabled bool
    Policy is enabled if set to true.
    Rules List<Pulumi.AzureNative.Storage.Inputs.BlobInventoryPolicyRuleResponse>
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    Type string
    The valid value is Inventory
    Destination string
    Container name where blob inventory files are stored. Must be pre-created.
    Enabled bool
    Policy is enabled if set to true.
    Rules []BlobInventoryPolicyRuleResponse
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    Type string
    The valid value is Inventory
    destination String
    Container name where blob inventory files are stored. Must be pre-created.
    enabled Boolean
    Policy is enabled if set to true.
    rules List<BlobInventoryPolicyRuleResponse>
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    type String
    The valid value is Inventory
    destination string
    Container name where blob inventory files are stored. Must be pre-created.
    enabled boolean
    Policy is enabled if set to true.
    rules BlobInventoryPolicyRuleResponse[]
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    type string
    The valid value is Inventory
    destination str
    Container name where blob inventory files are stored. Must be pre-created.
    enabled bool
    Policy is enabled if set to true.
    rules Sequence[BlobInventoryPolicyRuleResponse]
    The storage account blob inventory policy rules. The rule is applied when it is enabled.
    type str
    The valid value is Inventory
    destination String
    Container name where blob inventory files are stored. Must be pre-created.
    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

    InventoryRuleType, InventoryRuleTypeArgs

    Inventory
    Inventory
    InventoryRuleTypeInventory
    Inventory
    Inventory
    Inventory
    Inventory
    Inventory
    INVENTORY
    Inventory
    "Inventory"
    Inventory

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi