Skip to main content

storage_task_assignments_instances_report

Creates, updates, deletes, gets or lists a storage_task_assignments_instances_report resource.

Overview

Namestorage_task_assignments_instances_report
TypeResource
Idazure.storage.storage_task_assignments_instances_report

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
finishTimestringEnd time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators _.
objectFailedCountstringTotal number of objects where task operation failed when was attempted. Filter options such as objectFailedCount eq 0 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators _.
objectsOperatedOnCountstringTotal number of objects that meet the storage tasks condition and were operated upon. Filter options such as objectsOperatedOnCount ge 100 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators _.
objectsSucceededCountstringTotal number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount gt 150 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators _.
objectsTargetedCountstringTotal number of objects that meet the condition as defined in the storage task assignment execution context. Filter options such as objectsTargetedCount gt 50 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators _.
runResultstringRepresents the overall result of the execution for the run instance. Known values are: "Succeeded" and "Failed". (Succeeded, Failed)
runStatusEnumstringRepresents the status of the execution. Known values are: "InProgress" and "Finished". (InProgress, Finished)
runStatusErrorstringWell known Azure Storage error code that represents the error encountered during execution of the run instance.
startTimestringStart time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators _.
storageAccountIdstringRepresents the Storage Account Id where the storage task definition was applied and executed.
summaryReportPathstringFull path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
taskAssignmentIdstringRepresents the Storage Task Assignment Id associated with the storage task that provided an execution context.
taskIdstringStorage Task Arm Id.
taskVersionstringStorage Task Version.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_group_name, account_name, subscription_id$maxpagesize, $filterFetch the report summary of all the storage task assignments and instances in an account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_namestringThe 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. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$filterstringOptional. When specified, it can be used to query using reporting properties. See Constructing Filter Strings _ for details. Default value is None.
$maxpagesizeinteger

SELECT examples

Fetch the report summary of all the storage task assignments and instances in an account.

SELECT
id,
name,
finishTime,
objectFailedCount,
objectsOperatedOnCount,
objectsSucceededCount,
objectsTargetedCount,
runResult,
runStatusEnum,
runStatusError,
startTime,
storageAccountId,
summaryReportPath,
systemData,
taskAssignmentId,
taskId,
taskVersion,
type
FROM azure.storage.storage_task_assignments_instances_report
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $maxpagesize = '{{ $maxpagesize }}'
AND $filter = '{{ $filter }}'
;