azure-native.storage.getBlobInventoryPolicy
Gets the blob inventory policy associated with the specified storage account. API Version: 2021-02-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
- 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.
BlobInventoryPolicyFilterResponse
- 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.
BlobInventoryPolicyRuleResponse
- 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.
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.
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
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