< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_GroupId()-0%100%
get_RequiredMembers()-0%100%
get_RequiredZoneNames()-0%100%
get_ShareablePrivateLinkResourceTypes()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Management.Search\src\Generated\Models\PrivateLinkResourceProperties.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.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// Describes the properties of a supported private link resource for the
 20    /// Azure Cognitive Search service. For a given API version, this
 21    /// represents the 'supported' groupIds when creating a shared private link
 22    /// resource.
 23    /// </summary>
 24    public partial class PrivateLinkResourceProperties
 25    {
 26        /// <summary>
 27        /// Initializes a new instance of the PrivateLinkResourceProperties
 28        /// class.
 29        /// </summary>
 030        public PrivateLinkResourceProperties()
 31        {
 32            CustomInit();
 033        }
 34
 35        /// <summary>
 36        /// Initializes a new instance of the PrivateLinkResourceProperties
 37        /// class.
 38        /// </summary>
 39        /// <param name="groupId">The group ID of the private link
 40        /// resource.</param>
 41        /// <param name="requiredMembers">The list of required members of the
 42        /// private link resource.</param>
 43        /// <param name="requiredZoneNames">The list of required DNS zone names
 44        /// of the private link resource.</param>
 45        /// <param name="shareablePrivateLinkResourceTypes">The list of
 46        /// resources that are onboarded to private link service, that are
 47        /// supported by Azure Cognitive Search.</param>
 048        public PrivateLinkResourceProperties(string groupId = default(string), IList<string> requiredMembers = default(I
 49        {
 050            GroupId = groupId;
 051            RequiredMembers = requiredMembers;
 052            RequiredZoneNames = requiredZoneNames;
 053            ShareablePrivateLinkResourceTypes = shareablePrivateLinkResourceTypes;
 54            CustomInit();
 055        }
 56
 57        /// <summary>
 58        /// An initialization method that performs custom operations like setting defaults
 59        /// </summary>
 60        partial void CustomInit();
 61
 62        /// <summary>
 63        /// Gets the group ID of the private link resource.
 64        /// </summary>
 65        [JsonProperty(PropertyName = "groupId")]
 066        public string GroupId { get; private set; }
 67
 68        /// <summary>
 69        /// Gets the list of required members of the private link resource.
 70        /// </summary>
 71        [JsonProperty(PropertyName = "requiredMembers")]
 072        public IList<string> RequiredMembers { get; private set; }
 73
 74        /// <summary>
 75        /// Gets the list of required DNS zone names of the private link
 76        /// resource.
 77        /// </summary>
 78        [JsonProperty(PropertyName = "requiredZoneNames")]
 079        public IList<string> RequiredZoneNames { get; private set; }
 80
 81        /// <summary>
 82        /// Gets the list of resources that are onboarded to private link
 83        /// service, that are supported by Azure Cognitive Search.
 84        /// </summary>
 85        [JsonProperty(PropertyName = "shareablePrivateLinkResourceTypes")]
 086        public IList<ShareablePrivateLinkResourceType> ShareablePrivateLinkResourceTypes { get; private set; }
 87
 88    }
 89}