< Summary

Class:Azure.ResourceManager.Compute.Models.VMScaleSetConvertToSinglePlacementGroupInput
Assembly:Azure.ResourceManager.Compute
File(s):C:\Git\azure-sdk-for-net\sdk\compute\Azure.ResourceManager.Compute\src\Generated\Models\VMScaleSetConvertToSinglePlacementGroupInput.cs
C:\Git\azure-sdk-for-net\sdk\compute\Azure.ResourceManager.Compute\src\Generated\Models\VMScaleSetConvertToSinglePlacementGroupInput.Serialization.cs
Covered lines:0
Uncovered lines:12
Coverable lines:12
Total lines:54
Line coverage:0% (0 of 12)
Covered branches:0
Total branches:2
Branch coverage:0% (0 of 2)

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\compute\Azure.ResourceManager.Compute\src\Generated\Models\VMScaleSetConvertToSinglePlacementGroupInput.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.Compute.Models
 9{
 10    /// <summary> The VMScaleSetConvertToSinglePlacementGroupInput. </summary>
 11    public partial class VMScaleSetConvertToSinglePlacementGroupInput
 12    {
 13        /// <summary> Initializes a new instance of VMScaleSetConvertToSinglePlacementGroupInput. </summary>
 014        public VMScaleSetConvertToSinglePlacementGroupInput()
 15        {
 016        }
 17
 18        /// <summary> Initializes a new instance of VMScaleSetConvertToSinglePlacementGroupInput. </summary>
 19        /// <param name="activePlacementGroupId"> Id of the placement group in which you want future virtual machine ins
 020        internal VMScaleSetConvertToSinglePlacementGroupInput(string activePlacementGroupId)
 21        {
 022            ActivePlacementGroupId = activePlacementGroupId;
 023        }
 24
 25        /// <summary> Id of the placement group in which you want future virtual machine instances to be placed. To quer
 026        public string ActivePlacementGroupId { get; set; }
 27    }
 28}

C:\Git\azure-sdk-for-net\sdk\compute\Azure.ResourceManager.Compute\src\Generated\Models\VMScaleSetConvertToSinglePlacementGroupInput.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.Compute.Models
 12{
 13    public partial class VMScaleSetConvertToSinglePlacementGroupInput : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (ActivePlacementGroupId != null)
 19            {
 020                writer.WritePropertyName("activePlacementGroupId");
 021                writer.WriteStringValue(ActivePlacementGroupId);
 22            }
 023            writer.WriteEndObject();
 024        }
 25    }
 26}