< Summary

Class:Azure.ResourceManager.Network.Models.AzureAsyncOperationResult
Assembly:Azure.ResourceManager.Network
File(s):C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\AzureAsyncOperationResult.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:32
Line coverage:0% (0 of 8)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Status()-0%100%
get_Error()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\AzureAsyncOperationResult.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8namespace Azure.ResourceManager.Network.Models
 9{
 10    /// <summary> The response body contains the status of the specified asynchronous operation, indicating whether it h
 11    internal partial class AzureAsyncOperationResult
 12    {
 13        /// <summary> Initializes a new instance of AzureAsyncOperationResult. </summary>
 014        internal AzureAsyncOperationResult()
 15        {
 016        }
 17
 18        /// <summary> Initializes a new instance of AzureAsyncOperationResult. </summary>
 19        /// <param name="status"> Status of the Azure async operation. </param>
 20        /// <param name="error"> Details of the error occurred during specified asynchronous operation. </param>
 021        internal AzureAsyncOperationResult(NetworkOperationStatus? status, Error error)
 22        {
 023            Status = status;
 024            Error = error;
 025        }
 26
 27        /// <summary> Status of the Azure async operation. </summary>
 028        public NetworkOperationStatus? Status { get; }
 29        /// <summary> Details of the error occurred during specified asynchronous operation. </summary>
 030        public Error Error { get; }
 31    }
 32}