< Summary

Class:Azure.Analytics.Synapse.Artifacts.Models.Workspace
Assembly:Azure.Analytics.Synapse.Artifacts
File(s):C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\Workspace.cs
Covered lines:0
Uncovered lines:18
Coverable lines:18
Total lines:57
Line coverage:0% (0 of 18)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
get_Identity()-0%100%
get_ProvisioningState()-0%100%
get_CreateTime()-0%100%
get_Version()-0%100%
get_DefaultStorage()-0%100%
get_DefaultSqlServer()-0%100%
get_AdditionalProperties()-0%100%
GetEnumerator()-0%100%
System.Collections.IEnumerable.GetEnumerator()-0%100%
TryGetValue(...)-0%100%
ContainsKey(...)-0%100%
get_Keys()-0%100%
get_Values()-0%100%
System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.get_Count()-0%100%
get_Item(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\Workspace.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;
 9using System.Collections;
 10using System.Collections.Generic;
 11using Azure.Core;
 12
 13namespace Azure.Analytics.Synapse.Artifacts.Models
 14{
 15    /// <summary> Workspace resource type. </summary>
 16    internal partial class Workspace : Resource, IReadOnlyDictionary<string, object>
 17    {
 18        /// <summary> Initializes a new instance of Workspace. </summary>
 019        internal Workspace()
 20        {
 021            AdditionalProperties = new ChangeTrackingDictionary<string, object>();
 022        }
 23
 24        /// <summary> Managed service identity of the workspace. </summary>
 025        public WorkspaceIdentity Identity { get; }
 26        /// <summary> Workspace provisioning state, example Succeeded. </summary>
 027        public string ProvisioningState { get; }
 28        /// <summary> Time the workspace was created in ISO8601 format. </summary>
 029        public DateTimeOffset? CreateTime { get; }
 30        /// <summary> Version of the workspace. </summary>
 031        public string Version { get; }
 32        /// <summary> Linked service reference. </summary>
 033        public LinkedServiceReference DefaultStorage { get; }
 34        /// <summary> Linked service reference. </summary>
 035        public LinkedServiceReference DefaultSqlServer { get; }
 036        internal IReadOnlyDictionary<string, object> AdditionalProperties { get; }
 37        /// <inheritdoc />
 038        public IEnumerator<KeyValuePair<string, object>> GetEnumerator() => AdditionalProperties.GetEnumerator();
 39        /// <inheritdoc />
 040        IEnumerator IEnumerable.GetEnumerator() => AdditionalProperties.GetEnumerator();
 41        /// <inheritdoc />
 042        public bool TryGetValue(string key, out object value) => AdditionalProperties.TryGetValue(key, out value);
 43        /// <inheritdoc />
 044        public bool ContainsKey(string key) => AdditionalProperties.ContainsKey(key);
 45        /// <inheritdoc />
 046        public IEnumerable<string> Keys => AdditionalProperties.Keys;
 47        /// <inheritdoc />
 048        public IEnumerable<object> Values => AdditionalProperties.Values;
 49        /// <inheritdoc />
 050        int IReadOnlyCollection<KeyValuePair<string, object>>.Count => AdditionalProperties.Count;
 51        /// <inheritdoc />
 52        public object this[string key]
 53        {
 054            get => AdditionalProperties[key];
 55        }
 56    }
 57}