ArmStorageModelFactory.StorageTaskReportProperties Method

Definition

Initializes a new instance of StorageTaskReportProperties.

public static Azure.ResourceManager.Storage.Models.StorageTaskReportProperties StorageTaskReportProperties (Azure.Core.ResourceIdentifier taskAssignmentId = default, Azure.Core.ResourceIdentifier storageAccountId = default, DateTimeOffset? startedOn = default, DateTimeOffset? finishedOn = default, string objectsTargetedCount = default, string objectsOperatedOnCount = default, string objectFailedCount = default, string objectsSucceededCount = default, string runStatusError = default, Azure.ResourceManager.Storage.Models.StorageTaskRunStatus? runStatusEnum = default, string summaryReportPath = default, Azure.Core.ResourceIdentifier taskId = default, string taskVersion = default, Azure.ResourceManager.Storage.Models.StorageTaskRunResult? runResult = default);
static member StorageTaskReportProperties : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * string * string * string * Nullable<Azure.ResourceManager.Storage.Models.StorageTaskRunStatus> * string * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Storage.Models.StorageTaskRunResult> -> Azure.ResourceManager.Storage.Models.StorageTaskReportProperties
Public Shared Function StorageTaskReportProperties (Optional taskAssignmentId As ResourceIdentifier = Nothing, Optional storageAccountId As ResourceIdentifier = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional finishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional objectsTargetedCount As String = Nothing, Optional objectsOperatedOnCount As String = Nothing, Optional objectFailedCount As String = Nothing, Optional objectsSucceededCount As String = Nothing, Optional runStatusError As String = Nothing, Optional runStatusEnum As Nullable(Of StorageTaskRunStatus) = Nothing, Optional summaryReportPath As String = Nothing, Optional taskId As ResourceIdentifier = Nothing, Optional taskVersion As String = Nothing, Optional runResult As Nullable(Of StorageTaskRunResult) = Nothing) As StorageTaskReportProperties

Parameters

taskAssignmentId
ResourceIdentifier

Represents the Storage Task Assignment Id associated with the storage task that provided an execution context.

storageAccountId
ResourceIdentifier

Represents the Storage Account Id where the storage task definition was applied and executed.

startedOn
Nullable<DateTimeOffset>

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://video2.skills-academy.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

finishedOn
Nullable<DateTimeOffset>

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://video2.skills-academy.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

objectsTargetedCount
String

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://video2.skills-academy.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

objectsOperatedOnCount
String

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://video2.skills-academy.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

objectFailedCount
String

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://video2.skills-academy.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

objectsSucceededCount
String

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://video2.skills-academy.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

runStatusError
String

Well known Azure Storage error code that represents the error encountered during execution of the run instance.

runStatusEnum
Nullable<StorageTaskRunStatus>

Represents the status of the execution.

summaryReportPath
String

Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account.

taskId
ResourceIdentifier

Storage Task Arm Id.

taskVersion
String

Storage Task Version.

runResult
Nullable<StorageTaskRunResult>

Represents the overall result of the execution for the run instance.

Returns

A new StorageTaskReportProperties instance for mocking.

Applies to