azure-native.storage.BlobInventoryPolicy
Explore with Pulumi AI
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:
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Policy
Pulumi.
Azure Native. Storage. Inputs. Blob Inventory Policy Schema - The storage account blob inventory policy object. It is composed of policy rules.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Blob
Inventory stringPolicy Name - The name of the storage account blob inventory policy. It should always be 'default'
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Policy
Blob
Inventory Policy Schema Args - The storage account blob inventory policy object. It is composed of policy rules.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Blob
Inventory stringPolicy Name - The name of the storage account blob inventory policy. It should always be 'default'
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy
Blob
Inventory Policy Schema - The storage account blob inventory policy object. It is composed of policy rules.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- blob
Inventory StringPolicy Name - The name of the storage account blob inventory policy. It should always be 'default'
- account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy
Blob
Inventory Policy Schema - The storage account blob inventory policy object. It is composed of policy rules.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- blob
Inventory 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
Blob
Inventory 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'
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- policy Property Map
- The storage account blob inventory policy object. It is composed of policy rules.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- blob
Inventory 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.
- Last
Modified stringTime - Returns the last modified date and time of the blob inventory policy.
- Name string
- The name of the resource
- System
Data 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.
- Last
Modified stringTime - Returns the last modified date and time of the blob inventory policy.
- Name string
- The name of the resource
- System
Data 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.
- last
Modified StringTime - Returns the last modified date and time of the blob inventory policy.
- name String
- The name of the resource
- system
Data 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.
- last
Modified stringTime - Returns the last modified date and time of the blob inventory policy.
- name string
- The name of the resource
- system
Data 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.
- last
Modified StringTime - Returns the last modified date and time of the blob inventory policy.
- name String
- The name of the resource
- system
Data 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
Pulumi.
Azure Native. Storage. Inputs. Blob Inventory Policy Filter - An object that defines the filter set.
- Filters
Blob
Inventory Policy Filter - An object that defines the filter set.
- filters
Blob
Inventory Policy Filter - An object that defines the filter set.
- filters
Blob
Inventory Policy Filter - An object that defines the filter set.
- filters
Blob
Inventory Policy Filter - An object that defines the filter set.
- filters Property Map
- An object that defines the filter set.
BlobInventoryPolicyDefinitionResponse, BlobInventoryPolicyDefinitionResponseArgs
- Filters
Pulumi.
Azure Native. Storage. Inputs. Blob Inventory Policy Filter Response - An object that defines the filter set.
- Filters
Blob
Inventory Policy Filter Response - An object that defines the filter set.
- filters
Blob
Inventory Policy Filter Response - An object that defines the filter set.
- filters
Blob
Inventory Policy Filter Response - An object that defines the filter set.
- filters
Blob
Inventory Policy Filter Response - An object that defines the filter set.
- filters Property Map
- An object that defines the filter set.
BlobInventoryPolicyFilter, BlobInventoryPolicyFilterArgs
- Blob
Types List<string> - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- Include
Blob boolVersions - 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 List<string> - An array of strings for blob prefixes to be matched.
- Blob
Types []string - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- Include
Blob boolVersions - 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 []string - An array of strings for blob prefixes to be matched.
- blob
Types List<String> - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- include
Blob BooleanVersions - Includes blob versions in blob inventory when value set to true.
- include
Snapshots Boolean - Includes blob snapshots in blob inventory when value set to true.
- prefix
Match List<String> - An array of strings for blob prefixes to be matched.
- blob
Types string[] - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- include
Blob booleanVersions - Includes blob versions in blob inventory when value set to true.
- include
Snapshots boolean - Includes blob snapshots in blob inventory when value set to true.
- prefix
Match 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_ boolversions - 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.
- blob
Types List<String> - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- include
Blob BooleanVersions - Includes blob versions in blob inventory when value set to true.
- include
Snapshots Boolean - Includes blob snapshots in blob inventory when value set to true.
- prefix
Match List<String> - An array of strings for blob prefixes to be matched.
BlobInventoryPolicyFilterResponse, BlobInventoryPolicyFilterResponseArgs
- Blob
Types List<string> - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- Include
Blob boolVersions - 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 List<string> - An array of strings for blob prefixes to be matched.
- Blob
Types []string - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- Include
Blob boolVersions - 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 []string - An array of strings for blob prefixes to be matched.
- blob
Types List<String> - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- include
Blob BooleanVersions - Includes blob versions in blob inventory when value set to true.
- include
Snapshots Boolean - Includes blob snapshots in blob inventory when value set to true.
- prefix
Match List<String> - An array of strings for blob prefixes to be matched.
- blob
Types string[] - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- include
Blob booleanVersions - Includes blob versions in blob inventory when value set to true.
- include
Snapshots boolean - Includes blob snapshots in blob inventory when value set to true.
- prefix
Match 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_ boolversions - 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.
- blob
Types List<String> - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
- include
Blob BooleanVersions - Includes blob versions in blob inventory when value set to true.
- include
Snapshots Boolean - Includes blob snapshots in blob inventory when value set to true.
- prefix
Match List<String> - An array of strings for blob prefixes to be matched.
BlobInventoryPolicyRule, BlobInventoryPolicyRuleArgs
- Definition
Pulumi.
Azure Native. Storage. Inputs. Blob Inventory Policy Definition - 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
Blob
Inventory Policy Definition - 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
Blob
Inventory Policy Definition - 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
Blob
Inventory Policy Definition - 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
Blob
Inventory Policy Definition - 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.
Azure Native. Storage. Inputs. Blob Inventory Policy Definition Response - 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
Blob
Inventory Policy Definition Response - 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
Blob
Inventory Policy Definition Response - 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
Blob
Inventory Policy Definition Response - 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
Blob
Inventory Policy Definition Response - 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.
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
- Destination string
- Container name where blob inventory files are stored. Must be pre-created.
- Enabled bool
- Policy is enabled if set to true.
- Rules
[]Blob
Inventory Policy Rule - The storage account blob inventory policy rules. The rule is applied when it is enabled.
- Type
string | Inventory
Rule Type - 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<Blob
Inventory Policy Rule> - The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type
String | Inventory
Rule Type - 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
Blob
Inventory Policy Rule[] - The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type
string | Inventory
Rule Type - 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[Blob
Inventory Policy Rule] - The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type
str | Inventory
Rule Type - 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.
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
- Container name where blob inventory files are stored. Must be pre-created.
- Enabled bool
- Policy is enabled if set to true.
- Rules
[]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
- Container name where blob inventory files are stored. Must be pre-created.
- enabled Boolean
- Policy is enabled if set to true.
- rules
List<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
- Container name where blob inventory files are stored. Must be pre-created.
- enabled boolean
- Policy is enabled if set to true.
- rules
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 str
- Container name where blob inventory files are stored. Must be pre-created.
- enabled bool
- Policy is enabled if set to true.
- rules
Sequence[Blob
Inventory 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
- 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
- Inventory
Rule Type Inventory - Inventory
- Inventory
- Inventory
- Inventory
- Inventory
- INVENTORY
- Inventory
- "Inventory"
- Inventory
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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/{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