< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\VirtualWanVpnProfileParameters.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> Virtual Wan Vpn profile parameters Vpn profile generation. </summary>
 11    public partial class VirtualWanVpnProfileParameters
 12    {
 13        /// <summary> Initializes a new instance of VirtualWanVpnProfileParameters. </summary>
 014        public VirtualWanVpnProfileParameters()
 15        {
 016        }
 17
 18        /// <summary> Initializes a new instance of VirtualWanVpnProfileParameters. </summary>
 19        /// <param name="vpnServerConfigurationResourceId"> VpnServerConfiguration partial resource uri with which Virtu
 20        /// <param name="authenticationMethod"> VPN client authentication method. </param>
 021        internal VirtualWanVpnProfileParameters(string vpnServerConfigurationResourceId, AuthenticationMethod? authentic
 22        {
 023            VpnServerConfigurationResourceId = vpnServerConfigurationResourceId;
 024            AuthenticationMethod = authenticationMethod;
 025        }
 26
 27        /// <summary> VpnServerConfiguration partial resource uri with which VirtualWan is associated to. </summary>
 028        public string VpnServerConfigurationResourceId { get; set; }
 29        /// <summary> VPN client authentication method. </summary>
 030        public AuthenticationMethod? AuthenticationMethod { get; set; }
 31    }
 32}

C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\VirtualWanVpnProfileParameters.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 VirtualWanVpnProfileParameters : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (VpnServerConfigurationResourceId != null)
 19            {
 020                writer.WritePropertyName("vpnServerConfigurationResourceId");
 021                writer.WriteStringValue(VpnServerConfigurationResourceId);
 22            }
 023            if (AuthenticationMethod != null)
 24            {
 025                writer.WritePropertyName("authenticationMethod");
 026                writer.WriteStringValue(AuthenticationMethod.Value.ToString());
 27            }
 028            writer.WriteEndObject();
 029        }
 30    }
 31}