This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.storage.getBlobInventoryPolicy
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets the blob inventory policy associated with the specified storage account. Azure REST API version: 2022-09-01.
Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01.
Using getBlobInventoryPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBlobInventoryPolicy(args: GetBlobInventoryPolicyArgs, opts?: InvokeOptions): Promise<GetBlobInventoryPolicyResult>
function getBlobInventoryPolicyOutput(args: GetBlobInventoryPolicyOutputArgs, opts?: InvokeOptions): Output<GetBlobInventoryPolicyResult>
def get_blob_inventory_policy(account_name: Optional[str] = None,
blob_inventory_policy_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBlobInventoryPolicyResult
def get_blob_inventory_policy_output(account_name: Optional[pulumi.Input[str]] = None,
blob_inventory_policy_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBlobInventoryPolicyResult]
func LookupBlobInventoryPolicy(ctx *Context, args *LookupBlobInventoryPolicyArgs, opts ...InvokeOption) (*LookupBlobInventoryPolicyResult, error)
func LookupBlobInventoryPolicyOutput(ctx *Context, args *LookupBlobInventoryPolicyOutputArgs, opts ...InvokeOption) LookupBlobInventoryPolicyResultOutput
> Note: This function is named LookupBlobInventoryPolicy
in the Go SDK.
public static class GetBlobInventoryPolicy
{
public static Task<GetBlobInventoryPolicyResult> InvokeAsync(GetBlobInventoryPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetBlobInventoryPolicyResult> Invoke(GetBlobInventoryPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBlobInventoryPolicyResult> getBlobInventoryPolicy(GetBlobInventoryPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:storage:getBlobInventoryPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
- Blob
Inventory stringPolicy Name - The name of the storage account blob inventory policy. It should always be 'default'
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- 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.
- Blob
Inventory stringPolicy Name - The name of the storage account blob inventory policy. It should always be 'default'
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- 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.
- blob
Inventory StringPolicy Name - The name of the storage account blob inventory policy. It should always be 'default'
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- 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.
- blob
Inventory stringPolicy Name - The name of the storage account blob inventory policy. It should always be 'default'
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- 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.
- blob_
inventory_ strpolicy_ name - The name of the storage account blob inventory policy. It should always be 'default'
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- 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.
- blob
Inventory StringPolicy Name - The name of the storage account blob inventory policy. It should always be 'default'
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
getBlobInventoryPolicy Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Modified stringTime - Returns the last modified date and time of the blob inventory policy.
- Name string
- The name of the resource
- Policy
Pulumi.
Azure Native. Storage. Outputs. Blob Inventory Policy Schema Response - The storage account blob inventory policy object. It is composed of policy rules.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Modified stringTime - Returns the last modified date and time of the blob inventory policy.
- Name string
- The name of the resource
- Policy
Blob
Inventory Policy Schema Response - The storage account blob inventory policy object. It is composed of policy rules.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified StringTime - Returns the last modified date and time of the blob inventory policy.
- name String
- The name of the resource
- policy
Blob
Inventory Policy Schema Response - The storage account blob inventory policy object. It is composed of policy rules.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified stringTime - Returns the last modified date and time of the blob inventory policy.
- name string
- The name of the resource
- policy
Blob
Inventory Policy Schema Response - The storage account blob inventory policy object. It is composed of policy rules.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last_
modified_ strtime - Returns the last modified date and time of the blob inventory policy.
- name str
- The name of the resource
- policy
Blob
Inventory Policy Schema Response - The storage account blob inventory policy object. It is composed of policy rules.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified StringTime - Returns the last modified date and time of the blob inventory policy.
- name String
- The name of the resource
- policy Property Map
- The storage account blob inventory policy object. It is composed of policy rules.
- 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
BlobInventoryPolicyDefinitionResponse
- Format string
- This is a required field, it specifies the format for the inventory files.
- Object
Type 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.
- Schema
Fields 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.
- Object
Type 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.
- Schema
Fields []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
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.
- object
Type 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.
- schema
Fields 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
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.
- object
Type 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.
- schema
Fields 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
Blob
Inventory 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
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.
- object
Type 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.
- schema
Fields 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.
BlobInventoryPolicyFilterResponse
- Blob
Types 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'.
- Exclude
Prefix List<string> - 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 List<string> - An array of strings with maximum 10 blob prefixes to be included in the inventory.
- Blob
Types []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'.
- Exclude
Prefix []string - 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 []string - An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blob
Types 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'.
- exclude
Prefix List<String> - An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- include
Blob 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.
- include
Deleted 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.
- include
Snapshots 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.
- prefix
Match List<String> - An array of strings with maximum 10 blob prefixes to be included in the inventory.
- blob
Types 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'.
- exclude
Prefix string[] - An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- include
Blob 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.
- include
Deleted 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.
- include
Snapshots 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.
- prefix
Match 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.
- blob
Types 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'.
- exclude
Prefix List<String> - An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
- include
Blob 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.
- include
Deleted 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.
- include
Snapshots 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.
- prefix
Match List<String> - An array of strings with maximum 10 blob prefixes to be included in the inventory.
BlobInventoryPolicyRuleResponse
- 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
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
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 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.
- 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
Blob
Inventory 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.
BlobInventoryPolicySchemaResponse
- 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
[]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 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
- 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
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
- 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[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
- 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
SystemDataResponse
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi