< Summary

Class:Microsoft.Azure.Management.Search.Models.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
Assembly:Microsoft.Azure.Management.Search
File(s):C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Management.Search\src\Generated\Models\PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState.cs
Covered lines:0
Uncovered lines:10
Coverable lines:10
Total lines:81
Line coverage:0% (0 of 10)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Management.Search\src\Generated\Models\PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState.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 current state of an existing Private Link Service
 18    /// connection to the Azure Private Endpoint.
 19    /// </summary>
 20    public partial class PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the
 24        /// PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
 25        /// class.
 26        /// </summary>
 027        public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState()
 28        {
 29            CustomInit();
 030        }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the
 34        /// PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
 35        /// class.
 36        /// </summary>
 37        /// <param name="status">Status of the the private link service
 38        /// connection. Can be Pending, Approved, Rejected, or Disconnected.
 39        /// Possible values include: 'Pending', 'Approved', 'Rejected',
 40        /// 'Disconnected'</param>
 41        /// <param name="description">The description for the private link
 42        /// service connection state.</param>
 43        /// <param name="actionsRequired">A description of any extra actions
 44        /// that may be required.</param>
 045        public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStatus? 
 46        {
 047            Status = status;
 048            Description = description;
 049            ActionsRequired = actionsRequired;
 50            CustomInit();
 051        }
 52
 53        /// <summary>
 54        /// An initialization method that performs custom operations like setting defaults
 55        /// </summary>
 56        partial void CustomInit();
 57
 58        /// <summary>
 59        /// Gets or sets status of the the private link service connection. Can
 60        /// be Pending, Approved, Rejected, or Disconnected. Possible values
 61        /// include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
 62        /// </summary>
 63        [JsonProperty(PropertyName = "status")]
 064        public PrivateLinkServiceConnectionStatus? Status { get; set; }
 65
 66        /// <summary>
 67        /// Gets or sets the description for the private link service
 68        /// connection state.
 69        /// </summary>
 70        [JsonProperty(PropertyName = "description")]
 071        public string Description { get; set; }
 72
 73        /// <summary>
 74        /// Gets or sets a description of any extra actions that may be
 75        /// required.
 76        /// </summary>
 77        [JsonProperty(PropertyName = "actionsRequired")]
 078        public string ActionsRequired { get; set; }
 79
 80    }
 81}