< Summary

Class:Azure.ResourceManager.Compute.Models.ManagedArtifact
Assembly:Azure.ResourceManager.Compute
File(s):C:\Git\azure-sdk-for-net\sdk\compute\Azure.ResourceManager.Compute\src\Generated\Models\ManagedArtifact.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_Id()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\compute\Azure.ResourceManager.Compute\src\Generated\Models\ManagedArtifact.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 managed artifact. </summary>
 13    internal partial class ManagedArtifact
 14    {
 15        /// <summary> Initializes a new instance of ManagedArtifact. </summary>
 16        /// <param name="id"> The managed artifact id. </param>
 017        internal ManagedArtifact(string id)
 18        {
 019            if (id == null)
 20            {
 021                throw new ArgumentNullException(nameof(id));
 22            }
 23
 024            Id = id;
 025        }
 26
 27        /// <summary> The managed artifact id. </summary>
 028        public string Id { get; }
 29    }
 30}

Methods/Properties

.ctor(...)
get_Id()