< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%0%
get_ManagedImage()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\compute\Azure.ResourceManager.Compute\src\Generated\Models\GalleryArtifactSource.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;
 9
 10namespace Azure.ResourceManager.Compute.Models
 11{
 12    /// <summary> The source image from which the Image Version is going to be created. </summary>
 13    internal partial class GalleryArtifactSource
 14    {
 15        /// <summary> Initializes a new instance of GalleryArtifactSource. </summary>
 16        /// <param name="managedImage"> The managed artifact. </param>
 017        internal GalleryArtifactSource(ManagedArtifact managedImage)
 18        {
 019            if (managedImage == null)
 20            {
 021                throw new ArgumentNullException(nameof(managedImage));
 22            }
 23
 024            ManagedImage = managedImage;
 025        }
 26
 27        /// <summary> The managed artifact. </summary>
 028        public ManagedArtifact ManagedImage { get; }
 29    }
 30}

Methods/Properties

.ctor(...)
get_ManagedImage()