< Summary

Class:Azure.ResourceManager.Network.Models.FlowLogStatusParameters
Assembly:Azure.ResourceManager.Network
File(s):C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\FlowLogStatusParameters.cs
C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\FlowLogStatusParameters.Serialization.cs
Covered lines:0
Uncovered lines:11
Coverable lines:11
Total lines:53
Line coverage:0% (0 of 11)
Covered branches:0
Total branches:2
Branch coverage:0% (0 of 2)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%0%
get_TargetResourceId()-0%100%
Azure.Core.IUtf8JsonSerializable.Write(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\FlowLogStatusParameters.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
 8using System;
 9
 10namespace Azure.ResourceManager.Network.Models
 11{
 12    /// <summary> Parameters that define a resource to query flow log and traffic analytics (optional) status. </summary
 13    public partial class FlowLogStatusParameters
 14    {
 15        /// <summary> Initializes a new instance of FlowLogStatusParameters. </summary>
 16        /// <param name="targetResourceId"> The target resource where getting the flow log and traffic analytics (option
 017        public FlowLogStatusParameters(string targetResourceId)
 18        {
 019            if (targetResourceId == null)
 20            {
 021                throw new ArgumentNullException(nameof(targetResourceId));
 22            }
 23
 024            TargetResourceId = targetResourceId;
 025        }
 26
 27        /// <summary> The target resource where getting the flow log and traffic analytics (optional) status. </summary>
 028        public string TargetResourceId { get; }
 29    }
 30}

C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\FlowLogStatusParameters.Serialization.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
 8using System.Text.Json;
 9using Azure.Core;
 10
 11namespace Azure.ResourceManager.Network.Models
 12{
 13    public partial class FlowLogStatusParameters : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            writer.WritePropertyName("targetResourceId");
 019            writer.WriteStringValue(TargetResourceId);
 020            writer.WriteEndObject();
 021        }
 22    }
 23}