| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | | using System.Collections; |
| | 10 | | using System.Collections.Generic; |
| | 11 | | using Azure.Core; |
| | 12 | |
|
| | 13 | | namespace 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> |
| 0 | 19 | | internal Workspace() |
| | 20 | | { |
| 0 | 21 | | AdditionalProperties = new ChangeTrackingDictionary<string, object>(); |
| 0 | 22 | | } |
| | 23 | |
|
| | 24 | | /// <summary> Managed service identity of the workspace. </summary> |
| 0 | 25 | | public WorkspaceIdentity Identity { get; } |
| | 26 | | /// <summary> Workspace provisioning state, example Succeeded. </summary> |
| 0 | 27 | | public string ProvisioningState { get; } |
| | 28 | | /// <summary> Time the workspace was created in ISO8601 format. </summary> |
| 0 | 29 | | public DateTimeOffset? CreateTime { get; } |
| | 30 | | /// <summary> Version of the workspace. </summary> |
| 0 | 31 | | public string Version { get; } |
| | 32 | | /// <summary> Linked service reference. </summary> |
| 0 | 33 | | public LinkedServiceReference DefaultStorage { get; } |
| | 34 | | /// <summary> Linked service reference. </summary> |
| 0 | 35 | | public LinkedServiceReference DefaultSqlServer { get; } |
| 0 | 36 | | internal IReadOnlyDictionary<string, object> AdditionalProperties { get; } |
| | 37 | | /// <inheritdoc /> |
| 0 | 38 | | public IEnumerator<KeyValuePair<string, object>> GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 39 | | /// <inheritdoc /> |
| 0 | 40 | | IEnumerator IEnumerable.GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 41 | | /// <inheritdoc /> |
| 0 | 42 | | public bool TryGetValue(string key, out object value) => AdditionalProperties.TryGetValue(key, out value); |
| | 43 | | /// <inheritdoc /> |
| 0 | 44 | | public bool ContainsKey(string key) => AdditionalProperties.ContainsKey(key); |
| | 45 | | /// <inheritdoc /> |
| 0 | 46 | | public IEnumerable<string> Keys => AdditionalProperties.Keys; |
| | 47 | | /// <inheritdoc /> |
| 0 | 48 | | public IEnumerable<object> Values => AdditionalProperties.Values; |
| | 49 | | /// <inheritdoc /> |
| 0 | 50 | | int IReadOnlyCollection<KeyValuePair<string, object>>.Count => AdditionalProperties.Count; |
| | 51 | | /// <inheritdoc /> |
| | 52 | | public object this[string key] |
| | 53 | | { |
| 0 | 54 | | get => AdditionalProperties[key]; |
| | 55 | | } |
| | 56 | | } |
| | 57 | | } |