Use Pulumi's new import command to generate code from existing cloud resources. Learn More

GetBlobInventoryPolicy

Using GetBlobInventoryPolicy

function getBlobInventoryPolicy(args: GetBlobInventoryPolicyArgs, opts?: InvokeOptions): Promise<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
func LookupBlobInventoryPolicy(ctx *Context, args *LookupBlobInventoryPolicyArgs, opts ...InvokeOption) (*LookupBlobInventoryPolicyResult, error)

Note: This function is named LookupBlobInventoryPolicy in the Go SDK.

public static class GetBlobInventoryPolicy {
    public static Task<GetBlobInventoryPolicyResult> InvokeAsync(GetBlobInventoryPolicyArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

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.
BlobInventoryPolicyName string
The name of the storage account blob inventory policy. It should always be ‘default’
ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
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.
BlobInventoryPolicyName string
The name of the storage account blob inventory policy. It should always be ‘default’
ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
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.
blobInventoryPolicyName string
The name of the storage account blob inventory policy. It should always be ‘default’
resourceGroupName string
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_policy_name str
The name of the storage account blob inventory policy. It should always be ‘default’
resource_group_name str
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}
LastModifiedTime string
Returns the last modified date and time of the blob inventory policy.
Name string
The name of the resource
Policy Pulumi.AzureNextGen.Storage.Outputs.BlobInventoryPolicySchemaResponse
The storage account blob inventory policy object. It is composed of policy rules.
SystemData Pulumi.AzureNextGen.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
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
LastModifiedTime string
Returns the last modified date and time of the blob inventory policy.
Name string
The name of the resource
Policy BlobInventoryPolicySchemaResponse
The storage account blob inventory policy object. It is composed of policy rules.
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
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
lastModifiedTime string
Returns the last modified date and time of the blob inventory policy.
name string
The name of the resource
policy BlobInventoryPolicySchemaResponse
The storage account blob inventory policy object. It is composed of policy rules.
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
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
last_modified_time str
Returns the last modified date and time of the blob inventory policy.
name str
The name of the resource
policy BlobInventoryPolicySchemaResponse
The storage account blob inventory policy object. It is composed of policy rules.
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”

Supporting Types

BlobInventoryPolicyDefinitionResponse

Filters Pulumi.AzureNextGen.Storage.Inputs.BlobInventoryPolicyFilterResponseArgs
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 BlobInventoryPolicyFilterResponseArgs
An object that defines the filter set.

BlobInventoryPolicyFilterResponse

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 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.

BlobInventoryPolicyRuleResponse

Definition Pulumi.AzureNextGen.Storage.Inputs.BlobInventoryPolicyDefinitionResponseArgs
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 BlobInventoryPolicyDefinitionResponseArgs
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.

BlobInventoryPolicySchemaResponse

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.AzureNextGen.Storage.Inputs.BlobInventoryPolicyRuleResponseArgs>
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 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[BlobInventoryPolicyRuleResponseArgs]
The storage account blob inventory policy rules. The rule is applied when it is enabled.
type str
The valid value is Inventory

SystemDataResponse

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 type of identity that last modified the resource.
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 type of identity that last modified the resource.
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 type of identity that last modified the resource.
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 type of identity that last modified the resource.
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.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-nextgen
License
Apache-2.0