{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-storage-accounts/json-schema/azure-storage-accounts-storage-task-report-summary-schema.json",
  "title": "StorageTaskReportSummary",
  "description": "Fetch Storage Tasks Run Summary.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-storage-accounts-storagetaskassignments-api-openapi.yml#/components/schemas/StorageTaskReportSummary",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The StorageTaskReportInstance items on this page",
      "items": {
        "$ref": "#/$defs/StorageTaskReportInstance"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "RunResult": {
      "type": "string",
      "description": "Represents the overall result of the execution for the run instance",
      "enum": [
        "Succeeded",
        "Failed"
      ],
      "x-ms-enum": {
        "name": "RunResult",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed"
          }
        ]
      },
      "readOnly": true
    },
    "RunStatusEnum": {
      "type": "string",
      "description": "Represents the status of the execution.",
      "enum": [
        "InProgress",
        "Finished"
      ],
      "x-ms-enum": {
        "name": "RunStatusEnum",
        "modelAsString": true,
        "values": [
          {
            "name": "InProgress",
            "value": "InProgress"
          },
          {
            "name": "Finished",
            "value": "Finished"
          }
        ]
      }
    },
    "StorageTaskReportInstance": {
      "type": "object",
      "description": "Storage Tasks run report instance",
      "properties": {
        "properties": {
          "$ref": "#/$defs/StorageTaskReportProperties",
          "description": "Storage task execution report for a run instance."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "StorageTaskReportProperties": {
      "type": "object",
      "description": "Storage task execution report for a run instance.",
      "properties": {
        "taskAssignmentId": {
          "type": "string",
          "format": "arm-id",
          "description": "Represents the Storage Task Assignment Id associated with the storage task that provided an execution context.",
          "readOnly": true,
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments"
              }
            ]
          }
        },
        "storageAccountId": {
          "type": "string",
          "format": "arm-id",
          "description": "Represents the Storage Account Id where the storage task definition was applied and executed.",
          "readOnly": true,
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Storage/storageAccounts"
              }
            ]
          }
        },
        "startTime": {
          "type": "string",
          "description": "Start 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",
          "readOnly": true
        },
        "finishTime": {
          "type": "string",
          "description": "End 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",
          "readOnly": true
        },
        "objectsTargetedCount": {
          "type": "string",
          "description": "Total 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",
          "readOnly": true
        },
        "objectsOperatedOnCount": {
          "type": "string",
          "description": "Total 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",
          "readOnly": true
        },
        "objectFailedCount": {
          "type": "string",
          "description": "Total 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",
          "readOnly": true
        },
        "objectsSucceededCount": {
          "type": "string",
          "description": "Total 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",
          "readOnly": true
        },
        "runStatusError": {
          "type": "string",
          "description": "Well known Azure Storage error code that represents the error encountered during execution of the run instance.",
          "readOnly": true
        },
        "runStatusEnum": {
          "$ref": "#/$defs/RunStatusEnum",
          "description": "Represents the status of the execution.",
          "readOnly": true
        },
        "summaryReportPath": {
          "type": "string",
          "description": "Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account.",
          "readOnly": true
        },
        "taskId": {
          "type": "string",
          "format": "arm-id",
          "description": "Storage Task Arm Id.",
          "readOnly": true,
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.StorageActions/storageTasks"
              }
            ]
          }
        },
        "taskVersion": {
          "type": "string",
          "description": "Storage Task Version",
          "readOnly": true
        },
        "runResult": {
          "$ref": "#/$defs/RunResult",
          "description": "Represents the overall result of the execution for the run instance",
          "readOnly": true
        }
      }
    }
  }
}