< Summary

Class:Microsoft.Azure.Management.Search.Models.PrivateEndpointConnectionProperties
Assembly:Microsoft.Azure.Management.Search
File(s):C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Management.Search\src\Generated\Models\PrivateEndpointConnectionProperties.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:67
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_PrivateEndpoint()-0%100%
get_PrivateLinkServiceConnectionState()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Management.Search\src\Generated\Models\PrivateEndpointConnectionProperties.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.Management.Search.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// Describes the properties of an existing Private Endpoint connection to
 18    /// the Azure Cognitive Search service.
 19    /// </summary>
 20    public partial class PrivateEndpointConnectionProperties
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the
 24        /// PrivateEndpointConnectionProperties class.
 25        /// </summary>
 026        public PrivateEndpointConnectionProperties()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the
 33        /// PrivateEndpointConnectionProperties class.
 34        /// </summary>
 35        /// <param name="privateEndpoint">The private endpoint resource from
 36        /// Microsoft.Network provider.</param>
 37        /// <param name="privateLinkServiceConnectionState">Describes the
 38        /// current state of an existing Private Link Service connection to the
 39        /// Azure Private Endpoint.</param>
 040        public PrivateEndpointConnectionProperties(PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint = 
 41        {
 042            PrivateEndpoint = privateEndpoint;
 043            PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
 44            CustomInit();
 045        }
 46
 47        /// <summary>
 48        /// An initialization method that performs custom operations like setting defaults
 49        /// </summary>
 50        partial void CustomInit();
 51
 52        /// <summary>
 53        /// Gets or sets the private endpoint resource from Microsoft.Network
 54        /// provider.
 55        /// </summary>
 56        [JsonProperty(PropertyName = "privateEndpoint")]
 057        public PrivateEndpointConnectionPropertiesPrivateEndpoint PrivateEndpoint { get; set; }
 58
 59        /// <summary>
 60        /// Gets or sets describes the current state of an existing Private
 61        /// Link Service connection to the Azure Private Endpoint.
 62        /// </summary>
 63        [JsonProperty(PropertyName = "privateLinkServiceConnectionState")]
 064        public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState PrivateLinkServiceConnectionState { 
 65
 66    }
 67}