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:
- 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.
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 Next Gen. Storage. Outputs. Blob Inventory Policy Schema Response - The storage account blob inventory policy object. It is composed of policy rules.
- System
Data Pulumi.Azure Next Gen. 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 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”
Supporting Types
BlobInventoryPolicyDefinitionResponse
- Filters
Pulumi.
Azure Next Gen. Storage. Inputs. Blob Inventory Policy Filter Response Args - 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 Args - 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 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.
BlobInventoryPolicyRuleResponse
- Definition
Pulumi.
Azure Next Gen. Storage. Inputs. Blob Inventory Policy Definition Response Args - 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 Args - 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.
Azure Next Gen. Storage. Inputs. Blob Inventory Policy Rule Response Args> - 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
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 Args] - The storage account blob inventory policy rules. The rule is applied when it is enabled.
- type str
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0