Microsoft.Storage (stable:2024-01-01)

2025/03/03 • 9 updated methods

StorageAccounts_Failover (updated)
Description A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
Reference Link ¶

⚶ Changes

{
  "#id": "StorageAccounts_Failover",
  "Description": {
    "new": "A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance",
    "old": "A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance"
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
failoverType: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
ManagementPolicies_Get (updated)
Description Gets the managementpolicy associated with the specified storage account.
Reference Link ¶

⚶ Changes

{
  "#id": "ManagementPolicies_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "policy",
            "Description": {
              "new": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.",
              "old": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts."
            },
            "$properties": [
              {
                "#name": "rules",
                "Description": {
                  "new": "The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.",
                  "old": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
managementPolicyName: string ,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
policy:
{
rules:
[
{
enabled: boolean ,
name: string ,
type: enum ,
definition:
{
actions:
{
baseBlob:
{
tierToCool:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToCold:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToHot:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
delete:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
enableAutoTierToHotFromCool: boolean ,
}
,
snapshot:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
version:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
}
,
filters:
{
prefixMatch:
[
string ,
]
,
blobTypes:
[
string ,
]
,
blobIndexMatch:
[
{
name: string ,
op: string ,
value: string ,
}
,
]
,
}
,
}
,
}
,
]
,
}
,
}
,
}
ManagementPolicies_CreateOrUpdate (updated)
Description Sets the managementpolicy to the specified storage account.
Reference Link ¶

⚶ Changes

{
  "#id": "ManagementPolicies_CreateOrUpdate",
  "$parameters": {
    "properties": {
      "$properties": {
        "properties": [
          {
            "#name": "policy",
            "Description": {
              "new": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.",
              "old": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts."
            },
            "$properties": [
              {
                "#name": "rules",
                "Description": {
                  "new": "The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.",
                  "old": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts."
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "policy",
            "Description": {
              "new": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.",
              "old": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts."
            },
            "$properties": [
              {
                "#name": "rules",
                "Description": {
                  "new": "The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.",
                  "old": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
managementPolicyName: string ,
properties:
{
properties:
{
lastModifiedTime: string ,
policy:
{
rules:
[
{
enabled: boolean ,
name: string ,
type: enum ,
definition:
{
actions:
{
baseBlob:
{
tierToCool:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToCold:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToHot:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
delete:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
enableAutoTierToHotFromCool: boolean ,
}
,
snapshot:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
version:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
}
,
filters:
{
prefixMatch:
[
string ,
]
,
blobTypes:
[
string ,
]
,
blobIndexMatch:
[
{
name: string ,
op: string ,
value: string ,
}
,
]
,
}
,
}
,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
policy:
{
rules:
[
{
enabled: boolean ,
name: string ,
type: enum ,
definition:
{
actions:
{
baseBlob:
{
tierToCool:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToCold:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToHot:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
delete:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
enableAutoTierToHotFromCool: boolean ,
}
,
snapshot:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
version:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
}
,
filters:
{
prefixMatch:
[
string ,
]
,
blobTypes:
[
string ,
]
,
blobIndexMatch:
[
{
name: string ,
op: string ,
value: string ,
}
,
]
,
}
,
}
,
}
,
]
,
}
,
}
,
}
StorageTaskAssignments_Create (updated)
Description Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
Reference Link ¶

⚶ Changes

{
  "#id": "StorageTaskAssignments_Create",
  "$parameters": {
    "parameters": {
      "$properties": {
        "properties": [
          {
            "runStatus": [
              {
                "#name": "startTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "finishTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsTargetedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsOperatedOnCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectFailedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsSucceededCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "runStatus": [
              {
                "#name": "startTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "finishTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsTargetedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsOperatedOnCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectFailedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsSucceededCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "runStatus": [
              {
                "#name": "startTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "finishTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsTargetedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsOperatedOnCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectFailedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsSucceededCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
storageTaskAssignmentName: string ,
parameters:
{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignments_Update (updated)
Description Update storage task assignment properties
Reference Link ¶

⚶ Changes

{
  "#id": "StorageTaskAssignments_Update",
  "$parameters": {
    "parameters": {
      "$properties": {
        "properties": [
          {
            "runStatus": [
              {
                "#name": "startTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "finishTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsTargetedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsOperatedOnCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectFailedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsSucceededCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "runStatus": [
              {
                "#name": "startTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "finishTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsTargetedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsOperatedOnCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectFailedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsSucceededCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
storageTaskAssignmentName: string ,
parameters:
{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignments_Get (updated)
Description Get the storage task assignment properties
Reference Link ¶

⚶ Changes

{
  "#id": "StorageTaskAssignments_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "runStatus": [
              {
                "#name": "startTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "finishTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsTargetedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsOperatedOnCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectFailedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsSucceededCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
storageTaskAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignments_List (updated)
Description List all the storage task assignments in an account
Reference Link ¶

⚶ Changes

{
  "#id": "StorageTaskAssignments_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "runStatus": [
                  {
                    "#name": "startTime",
                    "Description": {
                      "new": "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",
                      "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                    }
                  },
                  {
                    "#name": "finishTime",
                    "Description": {
                      "new": "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",
                      "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                    }
                  },
                  {
                    "#name": "objectsTargetedCount",
                    "Description": {
                      "new": "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",
                      "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                    }
                  },
                  {
                    "#name": "objectsOperatedOnCount",
                    "Description": {
                      "new": "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",
                      "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                    }
                  },
                  {
                    "#name": "objectFailedCount",
                    "Description": {
                      "new": "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",
                      "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                    }
                  },
                  {
                    "#name": "objectsSucceededCount",
                    "Description": {
                      "new": "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",
                      "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
$maxpagesize: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignmentsInstancesReport_List (updated)
Description Fetch the report summary of all the storage task assignments and instances in an account
Reference Link ¶

⚶ Changes

{
  "#id": "StorageTaskAssignmentsInstancesReport_List",
  "$parameters": [
    {
      "#name": "$filter",
      "Description": {
        "new": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details.",
        "old": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details."
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "startTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "finishTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsTargetedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsOperatedOnCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectFailedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsSucceededCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
$maxpagesize: integer ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignmentInstancesReport_List (updated)
Description Fetch the report summary of a single storage task assignment's instances
Reference Link ¶

⚶ Changes

{
  "#id": "StorageTaskAssignmentInstancesReport_List",
  "$parameters": [
    {
      "#name": "$filter",
      "Description": {
        "new": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details.",
        "old": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details."
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "startTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "finishTime",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsTargetedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsOperatedOnCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectFailedCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              },
              {
                "#name": "objectsSucceededCount",
                "Description": {
                  "new": "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",
                  "old": "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/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
storageTaskAssignmentName: string ,
$maxpagesize: integer ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}