From 4f0b55dab30e1dfb41ed29120881b1eeac921870 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 10 Nov 2022 09:02:12 +0000 Subject: [PATCH] CodeGen from PR 20142 in Azure/azure-rest-api-specs Merge adc96fe197ff4829199e481dff77ff8ccb534fff into 8a20cee044fafde7ae0364edab45a577aa80d20f --- ....Analytics.Purview.Share.netstandard2.0.cs | 469 +- .../src/Generated/AcceptedSentSharesClient.cs | 18 +- .../src/Generated/AssetMappingsClient.cs | 16 +- .../src/Generated/AssetsClient.cs | 16 +- .../Generated/ClassificationRulesClient.cs | 529 + .../src/Generated/CollectionClient.cs | 305 + .../src/Generated/DataSourcesClient.cs | 357 + .../Generated/DatasourcePreferencesClient.cs | 136 + .../src/Generated/DiscoveryClient.cs | 332 + .../Docs/ClassificationRulesClient.xml | 759 + .../src/Generated/Docs/CollectionClient.xml | 1837 + .../src/Generated/Docs/DataSourcesClient.xml | 14545 ++++++++ .../Docs/DatasourcePreferencesClient.xml | 129 + .../src/Generated/Docs/DiscoveryClient.xml | 659 + .../src/Generated/Docs/EntityClient.xml | 6669 ++++ .../src/Generated/Docs/FiltersClient.xml | 213 + .../src/Generated/Docs/GlossaryClient.xml | 13555 ++++++++ .../Docs/KeyVaultConnectionsClient.xml | 343 + .../src/Generated/Docs/LineageClient.xml | 605 + .../Generated/Docs/MetadataPolicyClient.xml | 661 + .../Generated/Docs/MetadataRolesClient.xml | 115 + .../Generated/Docs/PolicyElementsClient.xml | 101 + .../src/Generated/Docs/PolicyEventsClient.xml | 97 + .../src/Generated/Docs/RelationshipClient.xml | 977 + .../src/Generated/Docs/ScanResultClient.xml | 405 + .../src/Generated/Docs/ScanRulesetsClient.xml | 4475 +++ .../src/Generated/Docs/ScansClient.xml | 28357 ++++++++++++++++ .../Docs/SystemScanRulesetsClient.xml | 3509 ++ .../src/Generated/Docs/TriggersClient.xml | 643 + .../src/Generated/Docs/TypesClient.xml | 14697 ++++++++ .../src/Generated/EmailRegistrationClient.cs | 12 +- .../src/Generated/EntityClient.cs | 2659 ++ .../src/Generated/FiltersClient.cs | 218 + .../src/Generated/GlossaryClient.cs | 2759 ++ .../Generated/KeyVaultConnectionsClient.cs | 357 + .../src/Generated/LineageClient.cs | 364 + .../src/Generated/MetadataPolicyClient.cs | 296 + .../src/Generated/MetadataRolesClient.cs | 149 + .../src/Generated/PolicyElementsClient.cs | 164 + .../src/Generated/PolicyEventsClient.cs | 135 + .../src/Generated/PurviewPDSClientOptions.cs | 49 + .../Generated/PurviewShareClientOptions.cs | 37 - .../src/Generated/ReceivedAssetsClient.cs | 10 +- .../Generated/ReceivedInvitationsClient.cs | 14 +- .../src/Generated/ReceivedSharesClient.cs | 16 +- .../src/Generated/RelationshipClient.cs | 338 + .../src/Generated/ScanResultClient.cs | 333 + .../src/Generated/ScanRulesetsClient.cs | 357 + .../src/Generated/ScansClient.cs | 389 + .../Generated/SentShareInvitationsClient.cs | 16 +- .../src/Generated/SentSharesClient.cs | 16 +- .../src/Generated/SystemScanRulesetsClient.cs | 429 + .../src/Generated/TriggersClient.cs | 296 + .../src/Generated/TypesClient.cs | 1559 + .../src/autorest.md | 5 +- 55 files changed, 106379 insertions(+), 127 deletions(-) create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ClassificationRulesClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/CollectionClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DataSourcesClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DatasourcePreferencesClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DiscoveryClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ClassificationRulesClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/CollectionClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DataSourcesClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DatasourcePreferencesClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DiscoveryClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/EntityClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/FiltersClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/GlossaryClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/KeyVaultConnectionsClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/LineageClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/MetadataPolicyClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/MetadataRolesClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/PolicyElementsClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/PolicyEventsClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/RelationshipClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScanResultClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScanRulesetsClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScansClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/SystemScanRulesetsClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/TriggersClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/TypesClient.xml create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/EntityClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/FiltersClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/GlossaryClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/KeyVaultConnectionsClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/LineageClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/MetadataPolicyClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/MetadataRolesClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PolicyElementsClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PolicyEventsClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PurviewPDSClientOptions.cs delete mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PurviewShareClientOptions.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/RelationshipClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScanResultClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScanRulesetsClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScansClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SystemScanRulesetsClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/TriggersClient.cs create mode 100644 sdk/purview/Azure.Analytics.Purview.Share/src/Generated/TypesClient.cs diff --git a/sdk/purview/Azure.Analytics.Purview.Share/api/Azure.Analytics.Purview.Share.netstandard2.0.cs b/sdk/purview/Azure.Analytics.Purview.Share/api/Azure.Analytics.Purview.Share.netstandard2.0.cs index 77e230a491f7..1f91aac6b40a 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/api/Azure.Analytics.Purview.Share.netstandard2.0.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/api/Azure.Analytics.Purview.Share.netstandard2.0.cs @@ -4,7 +4,7 @@ public partial class AcceptedSentSharesClient { protected AcceptedSentSharesClient() { } public AcceptedSentSharesClient(string endpoint, Azure.Core.TokenCredential credential) { } - public AcceptedSentSharesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewShareClientOptions options) { } + public AcceptedSentSharesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Response GetAcceptedSentShare(string sentShareName, string acceptedSentShareName, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task GetAcceptedSentShareAsync(string sentShareName, string acceptedSentShareName, Azure.RequestContext context = null) { throw null; } @@ -21,7 +21,7 @@ public partial class AssetMappingsClient { protected AssetMappingsClient() { } public AssetMappingsClient(string endpoint, Azure.Core.TokenCredential credential) { } - public AssetMappingsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewShareClientOptions options) { } + public AssetMappingsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Operation Create(Azure.WaitUntil waitUntil, string receivedShareName, string assetMappingName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(Azure.WaitUntil waitUntil, string receivedShareName, string assetMappingName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } @@ -36,7 +36,7 @@ public partial class AssetsClient { protected AssetsClient() { } public AssetsClient(string endpoint, Azure.Core.TokenCredential credential) { } - public AssetsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewShareClientOptions options) { } + public AssetsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Operation Create(Azure.WaitUntil waitUntil, string sentShareName, string assetName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(Azure.WaitUntil waitUntil, string sentShareName, string assetName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } @@ -47,30 +47,336 @@ public AssetsClient(string endpoint, Azure.Core.TokenCredential credential, Azur public virtual Azure.Pageable GetAssets(string sentShareName, string skipToken = null, string filter = null, string orderby = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.AsyncPageable GetAssetsAsync(string sentShareName, string skipToken = null, string filter = null, string orderby = null, Azure.RequestContext context = null) { throw null; } } + public partial class ClassificationRulesClient + { + protected ClassificationRulesClient() { } + public ClassificationRulesClient(string endpoint, Azure.Core.TokenCredential credential) { } + public ClassificationRulesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CreateOrUpdate(string classificationRuleName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string classificationRuleName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Delete(string classificationRuleName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string classificationRuleName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetClassificationRule(string classificationRuleName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationRuleAsync(string classificationRuleName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Pageable GetClassificationRules(Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetClassificationRulesAsync(Azure.RequestContext context = null) { throw null; } + public virtual Azure.Pageable GetVersionsByClassificationRuleName(string classificationRuleName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetVersionsByClassificationRuleNameAsync(string classificationRuleName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response TagClassificationVersion(string classificationRuleName, int classificationRuleVersion, string action, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task TagClassificationVersionAsync(string classificationRuleName, int classificationRuleVersion, string action, Azure.RequestContext context = null) { throw null; } + } + public partial class CollectionClient + { + protected CollectionClient() { } + public CollectionClient(string endpoint, Azure.Core.TokenCredential credential) { } + public CollectionClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CreateOrUpdate(string collection, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string collection, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response CreateOrUpdateBulk(string collection, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateBulkAsync(string collection, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response MoveEntitiesToCollection(string collection, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task MoveEntitiesToCollectionAsync(string collection, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + } + public partial class DatasourcePreferencesClient + { + protected DatasourcePreferencesClient() { } + public DatasourcePreferencesClient(string endpoint, Azure.Core.TokenCredential credential) { } + public DatasourcePreferencesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response GetDatasourcePreference(string scope, bool? isProjectGondor = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetDatasourcePreferenceAsync(string scope, bool? isProjectGondor = default(bool?), Azure.RequestContext context = null) { throw null; } + } + public partial class DataSourcesClient + { + protected DataSourcesClient() { } + public DataSourcesClient(string endpoint, Azure.Core.TokenCredential credential) { } + public DataSourcesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CreateOrUpdate(string dataSourceName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string dataSourceName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Delete(string dataSourceName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string dataSourceName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetDataSource(string dataSourceName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetDataSourceAsync(string dataSourceName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Pageable GetDataSources(Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetDataSourcesAsync(Azure.RequestContext context = null) { throw null; } + } + public partial class DiscoveryClient + { + protected DiscoveryClient() { } + public DiscoveryClient(string endpoint, Azure.Core.TokenCredential credential) { } + public DiscoveryClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response AutoComplete(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task AutoCompleteAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Browse(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task BrowseAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Query(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task QueryAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Suggest(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task SuggestAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + } public partial class EmailRegistrationClient { protected EmailRegistrationClient() { } public EmailRegistrationClient(string endpoint, Azure.Core.TokenCredential credential) { } - public EmailRegistrationClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewShareClientOptions options) { } + public EmailRegistrationClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Response Activate(Azure.Core.RequestContent content, string repeatabilityRequestId = null, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task ActivateAsync(Azure.Core.RequestContent content, string repeatabilityRequestId = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response Register(string repeatabilityRequestId = null, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task RegisterAsync(string repeatabilityRequestId = null, Azure.RequestContext context = null) { throw null; } } - public partial class PurviewShareClientOptions : Azure.Core.ClientOptions + public partial class EntityClient + { + protected EntityClient() { } + public EntityClient(string endpoint, Azure.Core.TokenCredential credential) { } + public EntityClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response AddClassification(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task AddClassificationAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response AddClassifications(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task AddClassificationsAsync(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response AddClassificationsByUniqueAttribute(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task AddClassificationsByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response AddLabel(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task AddLabelAsync(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response AddLabelsByUniqueAttribute(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task AddLabelsByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response AddOrUpdateBusinessMetadata(string guid, Azure.Core.RequestContent content, bool? isOverwrite = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task AddOrUpdateBusinessMetadataAsync(string guid, Azure.Core.RequestContent content, bool? isOverwrite = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response AddOrUpdateBusinessMetadataAttributes(string guid, string bmName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task AddOrUpdateBusinessMetadataAttributesAsync(string guid, string bmName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response CreateOrUpdateEntities(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateEntitiesAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteBusinessMetadata(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteBusinessMetadataAsync(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteBusinessMetadataAttributes(string guid, string bmName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteBusinessMetadataAttributesAsync(string guid, string bmName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteByGuid(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteByGuidAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteByGuids(System.Collections.Generic.IEnumerable guids, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteByGuidsAsync(System.Collections.Generic.IEnumerable guids, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteByUniqueAttribute(string typeName, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteByUniqueAttributeAsync(string typeName, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteClassification(string guid, string classificationName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteClassificationAsync(string guid, string classificationName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteClassificationByUniqueAttribute(string typeName, string classificationName, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteClassificationByUniqueAttributeAsync(string typeName, string classificationName, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteLabels(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteLabelsAsync(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteLabelsByUniqueAttribute(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteLabelsByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetByGuid(string guid, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetByGuidAsync(string guid, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetByUniqueAttributes(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetByUniqueAttributesAsync(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetClassification(string guid, string classificationName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationAsync(string guid, string classificationName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetClassifications(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationsAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetEntitiesByGuids(System.Collections.Generic.IEnumerable guids, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), System.Collections.Generic.IEnumerable excludeRelationshipTypes = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEntitiesByGuidsAsync(System.Collections.Generic.IEnumerable guids, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), System.Collections.Generic.IEnumerable excludeRelationshipTypes = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetEntitiesByUniqueAttributes(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEntitiesByUniqueAttributesAsync(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetHeader(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetHeaderAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetSampleBusinessMetadataTemplate(Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetSampleBusinessMetadataTemplateAsync(Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response ImportBusinessMetadata(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task ImportBusinessMetadataAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response PartialUpdateEntityAttributeByGuid(string guid, string name, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateEntityAttributeByGuidAsync(string guid, string name, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response PartialUpdateEntityByUniqueAttributes(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateEntityByUniqueAttributesAsync(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response SetClassifications(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task SetClassificationsAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response SetLabels(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task SetLabelsAsync(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response SetLabelsByUniqueAttribute(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task SetLabelsByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response UpdateClassifications(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateClassificationsAsync(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response UpdateClassificationsByUniqueAttribute(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateClassificationsByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestContext context = null) { throw null; } + } + public partial class FiltersClient + { + protected FiltersClient() { } + public FiltersClient(string endpoint, Azure.Core.TokenCredential credential) { } + public FiltersClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CreateOrUpdate(string dataSourceName, string scanName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string dataSourceName, string scanName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetFilter(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetFilterAsync(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + } + public partial class GlossaryClient + { + protected GlossaryClient() { } + public GlossaryClient(string endpoint, Azure.Core.TokenCredential credential) { } + public GlossaryClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response AssignTermToEntities(string termGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task AssignTermToEntitiesAsync(string termGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response CreateGlossary(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response CreateGlossaryCategories(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryCategoriesAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response CreateGlossaryCategory(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryCategoryAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response CreateGlossaryTerm(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryTermAsync(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response CreateGlossaryTerms(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryTermsAsync(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteGlossary(string glossaryGuid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteGlossaryAsync(string glossaryGuid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteGlossaryCategory(string categoryGuid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteGlossaryCategoryAsync(string categoryGuid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteGlossaryTerm(string termGuid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteGlossaryTermAsync(string termGuid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteTermAssignmentFromEntities(string termGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteTermAssignmentFromEntitiesAsync(string termGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response ExportGlossaryTermsAsCsv(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task ExportGlossaryTermsAsCsvAsync(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetCategoryTerms(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetCategoryTermsAsync(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetDetailedGlossary(string glossaryGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetDetailedGlossaryAsync(string glossaryGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetEntitiesAssignedWithTerm(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEntitiesAssignedWithTermAsync(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetGlossaries(int? limit = default(int?), int? offset = default(int?), string sort = null, bool? ignoreTermsAndCategories = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossariesAsync(int? limit = default(int?), int? offset = default(int?), string sort = null, bool? ignoreTermsAndCategories = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetGlossary(string glossaryGuid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryAsync(string glossaryGuid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetGlossaryCategories(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryCategoriesAsync(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetGlossaryCategoriesHeaders(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryCategoriesHeadersAsync(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetGlossaryCategory(string categoryGuid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryCategoryAsync(string categoryGuid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetGlossaryTerm(string termGuid, bool? includeTermHierarchy = default(bool?), System.Collections.Generic.IEnumerable excludeRelationshipTypeList = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryTermAsync(string termGuid, bool? includeTermHierarchy = default(bool?), System.Collections.Generic.IEnumerable excludeRelationshipTypeList = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetGlossaryTermHeaders(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryTermHeadersAsync(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetGlossaryTerms(string glossaryGuid, bool? includeTermHierarchy = default(bool?), int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryTermsAsync(string glossaryGuid, bool? includeTermHierarchy = default(bool?), int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetImportCsvOperationStatus(string operationGuid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetImportCsvOperationStatusAsync(string operationGuid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetRelatedCategories(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRelatedCategoriesAsync(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetRelatedTerms(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRelatedTermsAsync(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetTermsByGlossaryName(string glossaryName, int? limit = default(int?), int? offset = default(int?), bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTermsByGlossaryNameAsync(string glossaryName, int? limit = default(int?), int? offset = default(int?), bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Operation ImportGlossaryTermsViaCsv(Azure.WaitUntil waitUntil, string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task> ImportGlossaryTermsViaCsvAsync(Azure.WaitUntil waitUntil, string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Operation ImportGlossaryTermsViaCsvByGlossaryName(Azure.WaitUntil waitUntil, string glossaryName, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task> ImportGlossaryTermsViaCsvByGlossaryNameAsync(Azure.WaitUntil waitUntil, string glossaryName, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response PartialUpdateGlossary(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateGlossaryAsync(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response PartialUpdateGlossaryCategory(string categoryGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateGlossaryCategoryAsync(string categoryGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response PartialUpdateGlossaryTerm(string termGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateGlossaryTermAsync(string termGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response RemoveTermAssignmentFromEntities(string termGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task RemoveTermAssignmentFromEntitiesAsync(string termGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response UpdateGlossary(string glossaryGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateGlossaryAsync(string glossaryGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response UpdateGlossaryCategory(string categoryGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateGlossaryCategoryAsync(string categoryGuid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response UpdateGlossaryTerm(string termGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateGlossaryTermAsync(string termGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } + } + public partial class KeyVaultConnectionsClient { - public PurviewShareClientOptions(Azure.Analytics.Purview.Share.PurviewShareClientOptions.ServiceVersion version = Azure.Analytics.Purview.Share.PurviewShareClientOptions.ServiceVersion.V2021_09_01_Preview) { } + protected KeyVaultConnectionsClient() { } + public KeyVaultConnectionsClient(string endpoint, Azure.Core.TokenCredential credential) { } + public KeyVaultConnectionsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response Create(string keyVaultName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateAsync(string keyVaultName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Delete(string keyVaultName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string keyVaultName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetKeyVaultConnection(string keyVaultName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetKeyVaultConnectionAsync(string keyVaultName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Pageable GetKeyVaultConnections(Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetKeyVaultConnectionsAsync(Azure.RequestContext context = null) { throw null; } + } + public partial class LineageClient + { + protected LineageClient() { } + public LineageClient(string endpoint, Azure.Core.TokenCredential credential) { } + public LineageClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response GetLineageByUniqueAttribute(string typeName, string direction, int? depth = default(int?), int? width = default(int?), bool? includeParent = default(bool?), bool? getDerivedLineage = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetLineageByUniqueAttributeAsync(string typeName, string direction, int? depth = default(int?), int? width = default(int?), bool? includeParent = default(bool?), bool? getDerivedLineage = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetLineageGraph(string guid, string direction, int? depth = default(int?), int? width = default(int?), bool? includeParent = default(bool?), bool? getDerivedLineage = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetLineageGraphAsync(string guid, string direction, int? depth = default(int?), int? width = default(int?), bool? includeParent = default(bool?), bool? getDerivedLineage = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response NextPageLineage(string guid, string direction, bool? getDerivedLineage = default(bool?), int? offset = default(int?), int? limit = default(int?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task NextPageLineageAsync(string guid, string direction, bool? getDerivedLineage = default(bool?), int? offset = default(int?), int? limit = default(int?), Azure.RequestContext context = null) { throw null; } + } + public partial class MetadataPolicyClient + { + protected MetadataPolicyClient() { } + public MetadataPolicyClient(string endpoint, Azure.Core.TokenCredential credential) { } + public MetadataPolicyClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Pageable GetMetadataPolicies(string collectionName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetMetadataPoliciesAsync(string collectionName = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetMetadataPolicy(string policyId, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetMetadataPolicyAsync(string policyId, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Update(string policyId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateAsync(string policyId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + } + public partial class MetadataRolesClient + { + protected MetadataRolesClient() { } + public MetadataRolesClient(string endpoint, Azure.Core.TokenCredential credential) { } + public MetadataRolesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Pageable GetMetadataRoles(Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetMetadataRolesAsync(Azure.RequestContext context = null) { throw null; } + } + public partial class PolicyElementsClient + { + protected PolicyElementsClient() { } + public PolicyElementsClient(string endpoint, Azure.Core.TokenCredential credential) { } + public PolicyElementsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Pageable GetPolicyElements(string scope, string filter = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetPolicyElementsAsync(string scope, string filter = null, Azure.RequestContext context = null) { throw null; } + } + public partial class PolicyEventsClient + { + protected PolicyEventsClient() { } + public PolicyEventsClient(string endpoint, Azure.Core.TokenCredential credential) { } + public PolicyEventsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response GetPolicyEvents(string scope, string syncToken, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetPolicyEventsAsync(string scope, string syncToken, Azure.RequestContext context = null) { throw null; } + } + public partial class PurviewPDSClientOptions : Azure.Core.ClientOptions + { + public PurviewPDSClientOptions(Azure.Analytics.Purview.Share.PurviewPDSClientOptions.ServiceVersion version = Azure.Analytics.Purview.Share.PurviewPDSClientOptions.ServiceVersion.V2022_11_01_Preview) { } public enum ServiceVersion { - V2021_09_01_Preview = 1, + V2018_12_01_Preview = 1, + V2021_07_01_Preview = 2, + V2021_09_01_Preview = 3, + V2022_03_01_Preview = 4, + V2022_11_01_Preview = 5, } } public partial class ReceivedAssetsClient { protected ReceivedAssetsClient() { } public ReceivedAssetsClient(string endpoint, Azure.Core.TokenCredential credential) { } - public ReceivedAssetsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewShareClientOptions options) { } + public ReceivedAssetsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Pageable GetReceivedAssets(string receivedShareName, string skipToken = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.AsyncPageable GetReceivedAssetsAsync(string receivedShareName, string skipToken = null, Azure.RequestContext context = null) { throw null; } @@ -79,7 +385,7 @@ public partial class ReceivedInvitationsClient { protected ReceivedInvitationsClient() { } public ReceivedInvitationsClient(string endpoint, Azure.Core.TokenCredential credential) { } - public ReceivedInvitationsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewShareClientOptions options) { } + public ReceivedInvitationsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Response GetReceivedInvitation(string receivedInvitationName, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task GetReceivedInvitationAsync(string receivedInvitationName, Azure.RequestContext context = null) { throw null; } @@ -92,7 +398,7 @@ public partial class ReceivedSharesClient { protected ReceivedSharesClient() { } public ReceivedSharesClient(string endpoint, Azure.Core.TokenCredential credential) { } - public ReceivedSharesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewShareClientOptions options) { } + public ReceivedSharesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Response Create(string receivedShareName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task CreateAsync(string receivedShareName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } @@ -103,11 +409,69 @@ public ReceivedSharesClient(string endpoint, Azure.Core.TokenCredential credenti public virtual Azure.Pageable GetReceivedShares(string skipToken = null, string filter = null, string orderby = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.AsyncPageable GetReceivedSharesAsync(string skipToken = null, string filter = null, string orderby = null, Azure.RequestContext context = null) { throw null; } } + public partial class RelationshipClient + { + protected RelationshipClient() { } + public RelationshipClient(string endpoint, Azure.Core.TokenCredential credential) { } + public RelationshipClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response Create(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Delete(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetRelationship(string guid, bool? extendedInfo = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRelationshipAsync(string guid, bool? extendedInfo = default(bool?), Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Update(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + } + public partial class ScanResultClient + { + protected ScanResultClient() { } + public ScanResultClient(string endpoint, Azure.Core.TokenCredential credential) { } + public ScanResultClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CancelScan(string dataSourceName, string scanName, string runId, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CancelScanAsync(string dataSourceName, string scanName, string runId, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Pageable GetScanHistories(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetScanHistoriesAsync(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response RunScan(string dataSourceName, string scanName, string runId, string scanLevel = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task RunScanAsync(string dataSourceName, string scanName, string runId, string scanLevel = null, Azure.RequestContext context = null) { throw null; } + } + public partial class ScanRulesetsClient + { + protected ScanRulesetsClient() { } + public ScanRulesetsClient(string endpoint, Azure.Core.TokenCredential credential) { } + public ScanRulesetsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CreateOrUpdate(string scanRulesetName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string scanRulesetName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Delete(string scanRulesetName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string scanRulesetName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetScanRuleset(string scanRulesetName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetScanRulesetAsync(string scanRulesetName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Pageable GetScanRulesets(Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetScanRulesetsAsync(Azure.RequestContext context = null) { throw null; } + } + public partial class ScansClient + { + protected ScansClient() { } + public ScansClient(string endpoint, Azure.Core.TokenCredential credential) { } + public ScansClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CreateOrUpdate(string dataSourceName, string scanName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string dataSourceName, string scanName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Delete(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetScan(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetScanAsync(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Pageable GetScansByDataSource(string dataSourceName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetScansByDataSourceAsync(string dataSourceName, Azure.RequestContext context = null) { throw null; } + } public partial class SentShareInvitationsClient { protected SentShareInvitationsClient() { } public SentShareInvitationsClient(string endpoint, Azure.Core.TokenCredential credential) { } - public SentShareInvitationsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewShareClientOptions options) { } + public SentShareInvitationsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Response CreateOrUpdate(string sentShareName, string sentShareInvitationName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string sentShareName, string sentShareInvitationName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } @@ -122,7 +486,7 @@ public partial class SentSharesClient { protected SentSharesClient() { } public SentSharesClient(string endpoint, Azure.Core.TokenCredential credential) { } - public SentSharesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewShareClientOptions options) { } + public SentSharesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Response CreateOrUpdate(string sentShareName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string sentShareName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } @@ -133,4 +497,85 @@ public SentSharesClient(string endpoint, Azure.Core.TokenCredential credential, public virtual Azure.Pageable GetSentShares(string skipToken = null, string filter = null, string orderby = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.AsyncPageable GetSentSharesAsync(string skipToken = null, string filter = null, string orderby = null, Azure.RequestContext context = null) { throw null; } } + public partial class SystemScanRulesetsClient + { + protected SystemScanRulesetsClient() { } + public SystemScanRulesetsClient(string endpoint, Azure.Core.TokenCredential credential) { } + public SystemScanRulesetsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response GetByVersion(int version, string dataSourceType = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetByVersionAsync(int version, string dataSourceType = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetLatest(string dataSourceType = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetLatestAsync(string dataSourceType = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetSystemScanRuleset(string dataSourceType, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetSystemScanRulesetAsync(string dataSourceType, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Pageable GetSystemScanRulesets(Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetSystemScanRulesetsAsync(Azure.RequestContext context = null) { throw null; } + public virtual Azure.Pageable GetVersionsByDataSource(string dataSourceType = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.AsyncPageable GetVersionsByDataSourceAsync(string dataSourceType = null, Azure.RequestContext context = null) { throw null; } + } + public partial class TriggersClient + { + protected TriggersClient() { } + public TriggersClient(string endpoint, Azure.Core.TokenCredential credential) { } + public TriggersClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CreateTrigger(string dataSourceName, string scanName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateTriggerAsync(string dataSourceName, string scanName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteTrigger(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteTriggerAsync(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetTrigger(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTriggerAsync(string dataSourceName, string scanName, Azure.RequestContext context = null) { throw null; } + } + public partial class TypesClient + { + protected TypesClient() { } + public TypesClient(string endpoint, Azure.Core.TokenCredential credential) { } + public TypesClient(string endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Share.PurviewPDSClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CreateTypeDefinitions(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateTypeDefinitionsAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteTypeByName(string name, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteTypeByNameAsync(string name, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteTypeDefinitions(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteTypeDefinitionsAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetAllTypeDefinitions(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAllTypeDefinitionsAsync(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetBusinessMetadataDefByGuid(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetBusinessMetadataDefByGuidAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetBusinessMetadataDefByName(string name, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetBusinessMetadataDefByNameAsync(string name, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetClassificationDefByGuid(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationDefByGuidAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetClassificationDefByName(string name, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationDefByNameAsync(string name, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetEntityDefinitionByGuid(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEntityDefinitionByGuidAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetEntityDefinitionByName(string name, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEntityDefinitionByNameAsync(string name, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetEnumDefByGuid(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEnumDefByGuidAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetEnumDefByName(string name, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEnumDefByNameAsync(string name, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetRelationshipDefByGuid(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRelationshipDefByGuidAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetRelationshipDefByName(string name, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRelationshipDefByNameAsync(string name, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetStructDefByGuid(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetStructDefByGuidAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetStructDefByName(string name, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetStructDefByNameAsync(string name, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetTermTemplateDefByGuid(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTermTemplateDefByGuidAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetTermTemplateDefByName(string name, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTermTemplateDefByNameAsync(string name, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetTypeDefinitionByGuid(string guid, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTypeDefinitionByGuidAsync(string guid, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetTypeDefinitionByName(string name, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTypeDefinitionByNameAsync(string name, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetTypeDefinitionHeaders(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTypeDefinitionHeadersAsync(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response UpdateAtlasTypeDefinitions(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateAtlasTypeDefinitionsAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + } } diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AcceptedSentSharesClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AcceptedSentSharesClient.cs index e8e2decbae62..c0ac58f40ea2 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AcceptedSentSharesClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AcceptedSentSharesClient.cs @@ -24,7 +24,6 @@ public partial class AcceptedSentSharesClient private readonly TokenCredential _tokenCredential; private readonly HttpPipeline _pipeline; private readonly string _endpoint; - private readonly string _apiVersion; /// The ClientDiagnostics is used to provide tracing support for the client library. internal ClientDiagnostics ClientDiagnostics { get; } @@ -41,7 +40,7 @@ protected AcceptedSentSharesClient() /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. /// A credential used to authenticate to an Azure Service. /// or is null. - public AcceptedSentSharesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewShareClientOptions()) + public AcceptedSentSharesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) { } @@ -50,17 +49,16 @@ protected AcceptedSentSharesClient() /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. /// or is null. - public AcceptedSentSharesClient(string endpoint, TokenCredential credential, PurviewShareClientOptions options) + public AcceptedSentSharesClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) { Argument.AssertNotNull(endpoint, nameof(endpoint)); Argument.AssertNotNull(credential, nameof(credential)); - options ??= new PurviewShareClientOptions(); + options ??= new PurviewPDSClientOptions(); ClientDiagnostics = new ClientDiagnostics(options, true); _tokenCredential = credential; _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); _endpoint = endpoint; - _apiVersion = options.Version; } /// Get an accepted share with acceptedSentShareName to a particular sent share. @@ -383,7 +381,7 @@ internal HttpMessage CreateGetAcceptedSentSharesRequest(string sentShareName, st uri.AppendPath("/sentShares/", false); uri.AppendPath(sentShareName, true); uri.AppendPath("/acceptedSentShares", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); if (skipToken != null) { uri.AppendQuery("skipToken", skipToken, true); @@ -404,7 +402,7 @@ internal HttpMessage CreateGetAcceptedSentShareRequest(string sentShareName, str uri.AppendPath(sentShareName, true); uri.AppendPath("/acceptedSentShares/", false); uri.AppendPath(acceptedSentShareName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; @@ -422,7 +420,7 @@ internal HttpMessage CreateReinstateRequest(string sentShareName, string accepte uri.AppendPath("/acceptedSentShares/", false); uri.AppendPath(acceptedSentShareName, true); uri.AppendPath(":reinstate", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; if (repeatabilityRequestId != null) { @@ -446,7 +444,7 @@ internal HttpMessage CreateRevokeRequest(string sentShareName, string acceptedSe uri.AppendPath("/acceptedSentShares/", false); uri.AppendPath(acceptedSentShareName, true); uri.AppendPath(":revoke", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; if (repeatabilityRequestId != null) { @@ -468,7 +466,7 @@ internal HttpMessage CreateUpdateExpirationRequest(string sentShareName, string uri.AppendPath("/acceptedSentShares/", false); uri.AppendPath(acceptedSentShareName, true); uri.AppendPath(":update-expiration", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; if (repeatabilityRequestId != null) { diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AssetMappingsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AssetMappingsClient.cs index b7169de3d94e..258d3e8d5a3a 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AssetMappingsClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AssetMappingsClient.cs @@ -24,7 +24,6 @@ public partial class AssetMappingsClient private readonly TokenCredential _tokenCredential; private readonly HttpPipeline _pipeline; private readonly string _endpoint; - private readonly string _apiVersion; /// The ClientDiagnostics is used to provide tracing support for the client library. internal ClientDiagnostics ClientDiagnostics { get; } @@ -41,7 +40,7 @@ protected AssetMappingsClient() /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. /// A credential used to authenticate to an Azure Service. /// or is null. - public AssetMappingsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewShareClientOptions()) + public AssetMappingsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) { } @@ -50,17 +49,16 @@ protected AssetMappingsClient() /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. /// or is null. - public AssetMappingsClient(string endpoint, TokenCredential credential, PurviewShareClientOptions options) + public AssetMappingsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) { Argument.AssertNotNull(endpoint, nameof(endpoint)); Argument.AssertNotNull(credential, nameof(credential)); - options ??= new PurviewShareClientOptions(); + options ??= new PurviewPDSClientOptions(); ClientDiagnostics = new ClientDiagnostics(options, true); _tokenCredential = credential; _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); _endpoint = endpoint; - _apiVersion = options.Version; } /// Get AssetMapping in a receivedShare. @@ -319,7 +317,7 @@ internal HttpMessage CreateGetAssetMappingsRequest(string receivedShareName, str uri.AppendPath("/receivedShares/", false); uri.AppendPath(receivedShareName, true); uri.AppendPath("/assetMappings", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); if (skipToken != null) { uri.AppendQuery("skipToken", skipToken, true); @@ -348,7 +346,7 @@ internal HttpMessage CreateGetAssetMappingRequest(string receivedShareName, stri uri.AppendPath(receivedShareName, true); uri.AppendPath("/assetMappings/", false); uri.AppendPath(assetMappingName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; @@ -365,7 +363,7 @@ internal HttpMessage CreateCreateRequest(string receivedShareName, string assetM uri.AppendPath(receivedShareName, true); uri.AppendPath("/assetMappings/", false); uri.AppendPath(assetMappingName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); @@ -384,7 +382,7 @@ internal HttpMessage CreateDeleteRequest(string receivedShareName, string assetM uri.AppendPath(receivedShareName, true); uri.AppendPath("/assetMappings/", false); uri.AppendPath(assetMappingName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AssetsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AssetsClient.cs index 614e4474f24b..6f121886a1e2 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AssetsClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/AssetsClient.cs @@ -24,7 +24,6 @@ public partial class AssetsClient private readonly TokenCredential _tokenCredential; private readonly HttpPipeline _pipeline; private readonly string _endpoint; - private readonly string _apiVersion; /// The ClientDiagnostics is used to provide tracing support for the client library. internal ClientDiagnostics ClientDiagnostics { get; } @@ -41,7 +40,7 @@ protected AssetsClient() /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. /// A credential used to authenticate to an Azure Service. /// or is null. - public AssetsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewShareClientOptions()) + public AssetsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) { } @@ -50,17 +49,16 @@ protected AssetsClient() /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. /// or is null. - public AssetsClient(string endpoint, TokenCredential credential, PurviewShareClientOptions options) + public AssetsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) { Argument.AssertNotNull(endpoint, nameof(endpoint)); Argument.AssertNotNull(credential, nameof(credential)); - options ??= new PurviewShareClientOptions(); + options ??= new PurviewPDSClientOptions(); ClientDiagnostics = new ClientDiagnostics(options, true); _tokenCredential = credential; _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); _endpoint = endpoint; - _apiVersion = options.Version; } /// Get asset in a sentShare. @@ -319,7 +317,7 @@ internal HttpMessage CreateGetAssetsRequest(string sentShareName, string skipTok uri.AppendPath("/sentShares/", false); uri.AppendPath(sentShareName, true); uri.AppendPath("/assets", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); if (skipToken != null) { uri.AppendQuery("skipToken", skipToken, true); @@ -348,7 +346,7 @@ internal HttpMessage CreateGetAssetRequest(string sentShareName, string assetNam uri.AppendPath(sentShareName, true); uri.AppendPath("/assets/", false); uri.AppendPath(assetName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; @@ -365,7 +363,7 @@ internal HttpMessage CreateCreateRequest(string sentShareName, string assetName, uri.AppendPath(sentShareName, true); uri.AppendPath("/assets/", false); uri.AppendPath(assetName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); @@ -384,7 +382,7 @@ internal HttpMessage CreateDeleteRequest(string sentShareName, string assetName, uri.AppendPath(sentShareName, true); uri.AppendPath("/assets/", false); uri.AppendPath(assetName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ClassificationRulesClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ClassificationRulesClient.cs new file mode 100644 index 000000000000..74d7d0d3faed --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ClassificationRulesClient.cs @@ -0,0 +1,529 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The ClassificationRules service client. + /// The ClassificationRules service client. + public partial class ClassificationRulesClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of ClassificationRulesClient for mocking. + protected ClassificationRulesClient() + { + } + + /// Initializes a new instance of ClassificationRulesClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public ClassificationRulesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of ClassificationRulesClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public ClassificationRulesClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get a classification rule. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetClassificationRuleAsync(string classificationRuleName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + + using var scope = ClientDiagnostics.CreateScope("ClassificationRulesClient.GetClassificationRule"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationRuleRequest(classificationRuleName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a classification rule. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetClassificationRule(string classificationRuleName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + + using var scope = ClientDiagnostics.CreateScope("ClassificationRulesClient.GetClassificationRule"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationRuleRequest(classificationRuleName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates or Updates a classification rule. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateOrUpdateAsync(string classificationRuleName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + + using var scope = ClientDiagnostics.CreateScope("ClassificationRulesClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(classificationRuleName, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates or Updates a classification rule. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateOrUpdate(string classificationRuleName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + + using var scope = ClientDiagnostics.CreateScope("ClassificationRulesClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(classificationRuleName, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes a classification rule. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task DeleteAsync(string classificationRuleName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + + using var scope = ClientDiagnostics.CreateScope("ClassificationRulesClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(classificationRuleName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes a classification rule. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Delete(string classificationRuleName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + + using var scope = ClientDiagnostics.CreateScope("ClassificationRulesClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(classificationRuleName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Sets Classification Action on a specific classification rule version. + /// The String to use. + /// The Int32 to use. + /// The ClassificationAction to use. Allowed values: "Keep" | "Delete". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task TagClassificationVersionAsync(string classificationRuleName, int classificationRuleVersion, string action, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + Argument.AssertNotNull(action, nameof(action)); + + using var scope = ClientDiagnostics.CreateScope("ClassificationRulesClient.TagClassificationVersion"); + scope.Start(); + try + { + using HttpMessage message = CreateTagClassificationVersionRequest(classificationRuleName, classificationRuleVersion, action, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Sets Classification Action on a specific classification rule version. + /// The String to use. + /// The Int32 to use. + /// The ClassificationAction to use. Allowed values: "Keep" | "Delete". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response TagClassificationVersion(string classificationRuleName, int classificationRuleVersion, string action, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + Argument.AssertNotNull(action, nameof(action)); + + using var scope = ClientDiagnostics.CreateScope("ClassificationRulesClient.TagClassificationVersion"); + scope.Start(); + try + { + using HttpMessage message = CreateTagClassificationVersionRequest(classificationRuleName, classificationRuleVersion, action, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List classification rules in Account. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetClassificationRulesAsync(RequestContext context = null) + { + return GetClassificationRulesImplementationAsync("ClassificationRulesClient.GetClassificationRules", context); + } + + private AsyncPageable GetClassificationRulesImplementationAsync(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetClassificationRulesRequest(context) + : CreateGetClassificationRulesNextPageRequest(nextLink, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "value", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// List classification rules in Account. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetClassificationRules(RequestContext context = null) + { + return GetClassificationRulesImplementation("ClassificationRulesClient.GetClassificationRules", context); + } + + private Pageable GetClassificationRulesImplementation(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetClassificationRulesRequest(context) + : CreateGetClassificationRulesNextPageRequest(nextLink, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// Lists the rule versions of a classification rule. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetVersionsByClassificationRuleNameAsync(string classificationRuleName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + + return GetVersionsByClassificationRuleNameImplementationAsync("ClassificationRulesClient.GetVersionsByClassificationRuleName", classificationRuleName, context); + } + + private AsyncPageable GetVersionsByClassificationRuleNameImplementationAsync(string diagnosticsScopeName, string classificationRuleName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetVersionsByClassificationRuleNameRequest(classificationRuleName, context) + : CreateGetVersionsByClassificationRuleNameNextPageRequest(nextLink, classificationRuleName, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "value", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// Lists the rule versions of a classification rule. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetVersionsByClassificationRuleName(string classificationRuleName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(classificationRuleName, nameof(classificationRuleName)); + + return GetVersionsByClassificationRuleNameImplementation("ClassificationRulesClient.GetVersionsByClassificationRuleName", classificationRuleName, context); + } + + private Pageable GetVersionsByClassificationRuleNameImplementation(string diagnosticsScopeName, string classificationRuleName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetVersionsByClassificationRuleNameRequest(classificationRuleName, context) + : CreateGetVersionsByClassificationRuleNameNextPageRequest(nextLink, classificationRuleName, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateGetClassificationRuleRequest(string classificationRuleName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/classificationrules/", false); + uri.AppendPath(classificationRuleName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCreateOrUpdateRequest(string classificationRuleName, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200201); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/classificationrules/", false); + uri.AppendPath(classificationRuleName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteRequest(string classificationRuleName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/classificationrules/", false); + uri.AppendPath(classificationRuleName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetClassificationRulesRequest(RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/classificationrules", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetVersionsByClassificationRuleNameRequest(string classificationRuleName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/classificationrules/", false); + uri.AppendPath(classificationRuleName, true); + uri.AppendPath("/versions", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateTagClassificationVersionRequest(string classificationRuleName, int classificationRuleVersion, string action, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier202); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/classificationrules/", false); + uri.AppendPath(classificationRuleName, true); + uri.AppendPath("/versions/", false); + uri.AppendPath(classificationRuleVersion, true); + uri.AppendPath("/:tag", false); + uri.AppendQuery("action", action, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetClassificationRulesNextPageRequest(string nextLink, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetVersionsByClassificationRuleNameNextPageRequest(string nextLink, string classificationRuleName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier200201; + private static ResponseClassifier ResponseClassifier200201 => _responseClassifier200201 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 201 }); + private static ResponseClassifier _responseClassifier200204; + private static ResponseClassifier ResponseClassifier200204 => _responseClassifier200204 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 204 }); + private static ResponseClassifier _responseClassifier202; + private static ResponseClassifier ResponseClassifier202 => _responseClassifier202 ??= new StatusCodeClassifier(stackalloc ushort[] { 202 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/CollectionClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/CollectionClient.cs new file mode 100644 index 000000000000..d35b33bf9079 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/CollectionClient.cs @@ -0,0 +1,305 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Collection service client. + /// The Collection service client. + public partial class CollectionClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of CollectionClient for mocking. + protected CollectionClient() + { + } + + /// Initializes a new instance of CollectionClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public CollectionClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of CollectionClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public CollectionClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// + /// Creates or updates an entity to a collection. + /// Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. + /// Map and array of collections are not well supported. E.g., array<array<int>>, array<map<string, int>>. + /// + /// the collection unique name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateOrUpdateAsync(string collection, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(collection, nameof(collection)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("CollectionClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(collection, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Creates or updates an entity to a collection. + /// Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. + /// Map and array of collections are not well supported. E.g., array<array<int>>, array<map<string, int>>. + /// + /// the collection unique name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateOrUpdate(string collection, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(collection, nameof(collection)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("CollectionClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(collection, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Creates or updates entities in bulk to a collection. + /// Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. + /// Map and array of collections are not well supported. E.g., array<array<int>>, array<map<string, int>>. + /// + /// the collection unique name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateOrUpdateBulkAsync(string collection, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(collection, nameof(collection)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("CollectionClient.CreateOrUpdateBulk"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateBulkRequest(collection, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Creates or updates entities in bulk to a collection. + /// Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. + /// Map and array of collections are not well supported. E.g., array<array<int>>, array<map<string, int>>. + /// + /// the collection unique name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateOrUpdateBulk(string collection, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(collection, nameof(collection)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("CollectionClient.CreateOrUpdateBulk"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateBulkRequest(collection, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Move existing entities to the target collection. + /// the collection unique name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task MoveEntitiesToCollectionAsync(string collection, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(collection, nameof(collection)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("CollectionClient.MoveEntitiesToCollection"); + scope.Start(); + try + { + using HttpMessage message = CreateMoveEntitiesToCollectionRequest(collection, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Move existing entities to the target collection. + /// the collection unique name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response MoveEntitiesToCollection(string collection, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(collection, nameof(collection)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("CollectionClient.MoveEntitiesToCollection"); + scope.Start(); + try + { + using HttpMessage message = CreateMoveEntitiesToCollectionRequest(collection, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateCreateOrUpdateRequest(string collection, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/collections/", false); + uri.AppendPath(collection, true); + uri.AppendPath("/entity", false); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateCreateOrUpdateBulkRequest(string collection, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/collections/", false); + uri.AppendPath(collection, true); + uri.AppendPath("/entity/bulk", false); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateMoveEntitiesToCollectionRequest(string collection, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/collections/", false); + uri.AppendPath(collection, true); + uri.AppendPath("/entity/moveHere", false); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DataSourcesClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DataSourcesClient.cs new file mode 100644 index 000000000000..f4c481fc5588 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DataSourcesClient.cs @@ -0,0 +1,357 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The DataSources service client. + /// The DataSources service client. + public partial class DataSourcesClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of DataSourcesClient for mocking. + protected DataSourcesClient() + { + } + + /// Initializes a new instance of DataSourcesClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public DataSourcesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of DataSourcesClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public DataSourcesClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Creates or Updates a data source. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateOrUpdateAsync(string dataSourceName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + + using var scope = ClientDiagnostics.CreateScope("DataSourcesClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(dataSourceName, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates or Updates a data source. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateOrUpdate(string dataSourceName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + + using var scope = ClientDiagnostics.CreateScope("DataSourcesClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(dataSourceName, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a data source. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetDataSourceAsync(string dataSourceName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + + using var scope = ClientDiagnostics.CreateScope("DataSourcesClient.GetDataSource"); + scope.Start(); + try + { + using HttpMessage message = CreateGetDataSourceRequest(dataSourceName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a data source. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetDataSource(string dataSourceName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + + using var scope = ClientDiagnostics.CreateScope("DataSourcesClient.GetDataSource"); + scope.Start(); + try + { + using HttpMessage message = CreateGetDataSourceRequest(dataSourceName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes a data source. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task DeleteAsync(string dataSourceName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + + using var scope = ClientDiagnostics.CreateScope("DataSourcesClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(dataSourceName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes a data source. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Delete(string dataSourceName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + + using var scope = ClientDiagnostics.CreateScope("DataSourcesClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(dataSourceName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List data sources in Data catalog. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetDataSourcesAsync(RequestContext context = null) + { + return GetDataSourcesImplementationAsync("DataSourcesClient.GetDataSources", context); + } + + private AsyncPageable GetDataSourcesImplementationAsync(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetDataSourcesRequest(context) + : CreateGetDataSourcesNextPageRequest(nextLink, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "value", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// List data sources in Data catalog. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetDataSources(RequestContext context = null) + { + return GetDataSourcesImplementation("DataSourcesClient.GetDataSources", context); + } + + private Pageable GetDataSourcesImplementation(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetDataSourcesRequest(context) + : CreateGetDataSourcesNextPageRequest(nextLink, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateCreateOrUpdateRequest(string dataSourceName, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200201); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetDataSourceRequest(string dataSourceName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateDeleteRequest(string dataSourceName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetDataSourcesRequest(RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetDataSourcesNextPageRequest(string nextLink, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200201; + private static ResponseClassifier ResponseClassifier200201 => _responseClassifier200201 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 201 }); + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier200204; + private static ResponseClassifier ResponseClassifier200204 => _responseClassifier200204 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 204 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DatasourcePreferencesClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DatasourcePreferencesClient.cs new file mode 100644 index 000000000000..178fae6a5cfa --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DatasourcePreferencesClient.cs @@ -0,0 +1,136 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The DatasourcePreferences service client. + /// The DatasourcePreferences service client. + public partial class DatasourcePreferencesClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of DatasourcePreferencesClient for mocking. + protected DatasourcePreferencesClient() + { + } + + /// Initializes a new instance of DatasourcePreferencesClient. + /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public DatasourcePreferencesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of DatasourcePreferencesClient. + /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public DatasourcePreferencesClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get Datasource Preferences for a given scope. + /// Scope. + /// Is call from a Gondor client. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetDatasourcePreferenceAsync(string scope, bool? isProjectGondor = null, RequestContext context = null) + { + Argument.AssertNotNull(scope, nameof(scope)); + + using var scope0 = ClientDiagnostics.CreateScope("DatasourcePreferencesClient.GetDatasourcePreference"); + scope0.Start(); + try + { + using HttpMessage message = CreateGetDatasourcePreferenceRequest(scope, isProjectGondor, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope0.Failed(e); + throw; + } + } + + /// Get Datasource Preferences for a given scope. + /// Scope. + /// Is call from a Gondor client. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetDatasourcePreference(string scope, bool? isProjectGondor = null, RequestContext context = null) + { + Argument.AssertNotNull(scope, nameof(scope)); + + using var scope0 = ClientDiagnostics.CreateScope("DatasourcePreferencesClient.GetDatasourcePreference"); + scope0.Start(); + try + { + using HttpMessage message = CreateGetDatasourcePreferenceRequest(scope, isProjectGondor, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope0.Failed(e); + throw; + } + } + + internal HttpMessage CreateGetDatasourcePreferenceRequest(string scope, bool? isProjectGondor, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/pds", false); + uri.AppendPath("/datasource-preferences", false); + uri.AppendQuery("scope", scope, true); + if (isProjectGondor != null) + { + uri.AppendQuery("isProjectGondor", isProjectGondor.Value, true); + } + uri.AppendQuery("api-version", "2022-11-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DiscoveryClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DiscoveryClient.cs new file mode 100644 index 000000000000..aa52820d3c73 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/DiscoveryClient.cs @@ -0,0 +1,332 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Discovery service client. + /// The Discovery service client. + public partial class DiscoveryClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of DiscoveryClient for mocking. + protected DiscoveryClient() + { + } + + /// Initializes a new instance of DiscoveryClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public DiscoveryClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of DiscoveryClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public DiscoveryClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Gets data using search. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task QueryAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("DiscoveryClient.Query"); + scope.Start(); + try + { + using HttpMessage message = CreateQueryRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets data using search. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Query(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("DiscoveryClient.Query"); + scope.Start(); + try + { + using HttpMessage message = CreateQueryRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get search suggestions by query criteria. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task SuggestAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("DiscoveryClient.Suggest"); + scope.Start(); + try + { + using HttpMessage message = CreateSuggestRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get search suggestions by query criteria. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Suggest(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("DiscoveryClient.Suggest"); + scope.Start(); + try + { + using HttpMessage message = CreateSuggestRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Browse entities by path or entity type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task BrowseAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("DiscoveryClient.Browse"); + scope.Start(); + try + { + using HttpMessage message = CreateBrowseRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Browse entities by path or entity type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Browse(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("DiscoveryClient.Browse"); + scope.Start(); + try + { + using HttpMessage message = CreateBrowseRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get auto complete options. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task AutoCompleteAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("DiscoveryClient.AutoComplete"); + scope.Start(); + try + { + using HttpMessage message = CreateAutoCompleteRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get auto complete options. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response AutoComplete(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("DiscoveryClient.AutoComplete"); + scope.Start(); + try + { + using HttpMessage message = CreateAutoCompleteRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateQueryRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/search/query", false); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateSuggestRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/search/suggest", false); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateBrowseRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/browse", false); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateAutoCompleteRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/search/autocomplete", false); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ClassificationRulesClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ClassificationRulesClient.xml new file mode 100644 index 000000000000..f52c7bf23c51 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ClassificationRulesClient.xml @@ -0,0 +1,759 @@ + + + + + +This sample shows how to call GetClassificationRuleAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetClassificationRuleAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
SystemClassificationRuleSchema for SystemClassificationRule: +{ + properties: { + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: System, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 1 more JSON objects
CustomClassificationRuleSchema for CustomClassificationRule: +{ + properties: { + minimumPercentageMatch: number, # Optional. + classificationAction: "Keep" | "Delete", # Optional. + dataPatterns: [ + { + kind: "Regex", # Required. + } + ], # Optional. + columnPatterns: [ClassificationRulePattern], # Optional. + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Custom, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetClassificationRule with required parameters and parse the result. +", credential); + +Response response = client.GetClassificationRule(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
SystemClassificationRuleSchema for SystemClassificationRule: +{ + properties: { + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: System, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 1 more JSON objects
CustomClassificationRuleSchema for CustomClassificationRule: +{ + properties: { + minimumPercentageMatch: number, # Optional. + classificationAction: "Keep" | "Delete", # Optional. + dataPatterns: [ + { + kind: "Regex", # Required. + } + ], # Optional. + columnPatterns: [ClassificationRulePattern], # Optional. + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Custom, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call CreateOrUpdateAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + kind = "System", +}; + +Response response = await client.CreateOrUpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + description = "", + classificationName = "", + ruleStatus = "Enabled", + }, + kind = "System", +}; + +Response response = await client.CreateOrUpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
SystemClassificationRuleSchema for SystemClassificationRule: +{ + properties: { + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: System, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 1 more JSON objects
CustomClassificationRuleSchema for CustomClassificationRule: +{ + properties: { + minimumPercentageMatch: number, # Optional. + classificationAction: "Keep" | "Delete", # Optional. + dataPatterns: [ + { + kind: "Regex", # Required. + } + ], # Optional. + columnPatterns: [ClassificationRulePattern], # Optional. + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Custom, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
SystemClassificationRuleSchema for SystemClassificationRule: +{ + properties: { + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: System, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 1 more JSON objects
CustomClassificationRuleSchema for CustomClassificationRule: +{ + properties: { + minimumPercentageMatch: number, # Optional. + classificationAction: "Keep" | "Delete", # Optional. + dataPatterns: [ + { + kind: "Regex", # Required. + } + ], # Optional. + columnPatterns: [ClassificationRulePattern], # Optional. + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Custom, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call CreateOrUpdate with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + kind = "System", +}; + +Response response = client.CreateOrUpdate("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdate with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + description = "", + classificationName = "", + ruleStatus = "Enabled", + }, + kind = "System", +}; + +Response response = client.CreateOrUpdate("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
SystemClassificationRuleSchema for SystemClassificationRule: +{ + properties: { + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: System, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 1 more JSON objects
CustomClassificationRuleSchema for CustomClassificationRule: +{ + properties: { + minimumPercentageMatch: number, # Optional. + classificationAction: "Keep" | "Delete", # Optional. + dataPatterns: [ + { + kind: "Regex", # Required. + } + ], # Optional. + columnPatterns: [ClassificationRulePattern], # Optional. + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Custom, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
SystemClassificationRuleSchema for SystemClassificationRule: +{ + properties: { + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: System, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 1 more JSON objects
CustomClassificationRuleSchema for CustomClassificationRule: +{ + properties: { + minimumPercentageMatch: number, # Optional. + classificationAction: "Keep" | "Delete", # Optional. + dataPatterns: [ + { + kind: "Regex", # Required. + } + ], # Optional. + columnPatterns: [ClassificationRulePattern], # Optional. + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Custom, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call DeleteAsync with required parameters and parse the result. +", credential); + +Response response = await client.DeleteAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
SystemClassificationRuleSchema for SystemClassificationRule: +{ + properties: { + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: System, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 1 more JSON objects
CustomClassificationRuleSchema for CustomClassificationRule: +{ + properties: { + minimumPercentageMatch: number, # Optional. + classificationAction: "Keep" | "Delete", # Optional. + dataPatterns: [ + { + kind: "Regex", # Required. + } + ], # Optional. + columnPatterns: [ClassificationRulePattern], # Optional. + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Custom, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call Delete with required parameters and parse the result. +", credential); + +Response response = client.Delete(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
SystemClassificationRuleSchema for SystemClassificationRule: +{ + properties: { + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: System, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 1 more JSON objects
CustomClassificationRuleSchema for CustomClassificationRule: +{ + properties: { + minimumPercentageMatch: number, # Optional. + classificationAction: "Keep" | "Delete", # Optional. + dataPatterns: [ + { + kind: "Regex", # Required. + } + ], # Optional. + columnPatterns: [ClassificationRulePattern], # Optional. + description: string, # Optional. + version: number, # Optional. + classificationName: string, # Optional. + ruleStatus: "Enabled" | "Disabled", # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Custom, # Required. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call TagClassificationVersionAsync with required parameters and parse the result. +", credential); + +Response response = await client.TagClassificationVersionAsync("", 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("scanResultId").ToString()); +Console.WriteLine(result.GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for OperationResponse: +{ + scanResultId: Guid, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + status: "Accepted" | "InProgress" | "TransientFailure" | "Succeeded" | "Failed" | "Canceled", # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorInfo], # Optional. + } + ], # Optional. + }, # Optional. +} + + + + + + +This sample shows how to call TagClassificationVersion with required parameters and parse the result. +", credential); + +Response response = client.TagClassificationVersion("", 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("scanResultId").ToString()); +Console.WriteLine(result.GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for OperationResponse: +{ + scanResultId: Guid, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + status: "Accepted" | "InProgress" | "TransientFailure" | "Succeeded" | "Failed" | "Canceled", # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorInfo], # Optional. + } + ], # Optional. + }, # Optional. +} + + + + + + +This sample shows how to call GetClassificationRulesAsync and parse the result. +", credential); + +await foreach (var data in client.GetClassificationRulesAsync()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ClassificationRuleListValue: +{ + kind: "System" | "Custom", # Required. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetClassificationRules and parse the result. +", credential); + +foreach (var data in client.GetClassificationRules()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ClassificationRuleListValue: +{ + kind: "System" | "Custom", # Required. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetVersionsByClassificationRuleNameAsync with required parameters and parse the result. +", credential); + +await foreach (var data in client.GetVersionsByClassificationRuleNameAsync("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ClassificationRuleListValue: +{ + kind: "System" | "Custom", # Required. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetVersionsByClassificationRuleName with required parameters and parse the result. +", credential); + +foreach (var data in client.GetVersionsByClassificationRuleName("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ClassificationRuleListValue: +{ + kind: "System" | "Custom", # Required. + id: string, # Optional. + name: string, # Optional. +} + + + + +
+
\ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/CollectionClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/CollectionClient.xml new file mode 100644 index 000000000000..2dfb8a3b76f2 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/CollectionClient.xml @@ -0,0 +1,1837 @@ + + + + + +This sample shows how to call CreateOrUpdateAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateOrUpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + entity = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = await client.CreateOrUpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call CreateOrUpdate with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateOrUpdate("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdate with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + entity = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = client.CreateOrUpdate("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call CreateOrUpdateBulkAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateOrUpdateBulkAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateBulkAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + entities = new[] { + new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = await client.CreateOrUpdateBulkAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntitiesWithExtInfo: +{ + entities: [ + { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entities. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call CreateOrUpdateBulk with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateOrUpdateBulk("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateBulk with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + entities = new[] { + new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = client.CreateOrUpdateBulk("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntitiesWithExtInfo: +{ + entities: [ + { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entities. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call MoveEntitiesToCollectionAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.MoveEntitiesToCollectionAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call MoveEntitiesToCollectionAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + entityGuids = new[] { + "" + }, +}; + +Response response = await client.MoveEntitiesToCollectionAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for MoveEntitiesRequest: +{ + entityGuids: [string], # Optional. An array of entity guids to be moved to target collection. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call MoveEntitiesToCollection with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.MoveEntitiesToCollection("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call MoveEntitiesToCollection with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + entityGuids = new[] { + "" + }, +}; + +Response response = client.MoveEntitiesToCollection("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for MoveEntitiesRequest: +{ + entityGuids: [string], # Optional. An array of entity guids to be moved to target collection. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DataSourcesClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DataSourcesClient.xml new file mode 100644 index 000000000000..f4b5eb7ebd5f --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DataSourcesClient.xml @@ -0,0 +1,14545 @@ + + + + + +This sample shows how to call CreateOrUpdateAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + kind = "AzureSubscription", +}; + +Response response = await client.CreateOrUpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + subscriptionId = "", + collection = new { + referenceName = "", + type = "", + }, + }, + kind = "AzureSubscription", +}; + +Response response = await client.CreateOrUpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionDataSourceSchema for AzureSubscriptionDataSource: +{ + properties: { + subscriptionId: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupDataSourceSchema for AzureResourceGroupDataSource: +{ + properties: { + subscriptionId: string, # Optional. + resourceGroup: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceDataSourceSchema for AzureSynapseWorkspaceDataSource: +{ + properties: { + dedicatedSqlEndpoint: string, # Optional. + serverlessSqlEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseDataSourceSchema for AzureSynapseDataSource: +{ + properties: { + sqlEndpoint: string, # Optional. + sqlOnDemandEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1DataSourceSchema for AdlsGen1DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2DataSourceSchema for AdlsGen2DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountDataSourceSchema for AmazonAccountDataSource: +{ + properties: { + awsAccountId: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3DataSourceSchema for AmazonS3DataSource: +{ + properties: { + serviceUrl: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlDataSourceSchema for AmazonSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbDataSourceSchema for AzureCosmosDbDataSource: +{ + properties: { + accountUri: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerDataSourceSchema for AzureDataExplorerDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceDataSourceSchema for AzureFileServiceDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseDataSourceSchema for AzureSqlDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlDataSourceSchema for AmazonPostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlDataSourceSchema for AzurePostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseDataSourceSchema for SqlServerDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceDataSourceSchema for AzureSqlDatabaseManagedInstanceDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseDataSourceSchema for AzureSqlDataWarehouseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlDataSourceSchema for AzureMySqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageDataSourceSchema for AzureStorageDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataDataSourceSchema for TeradataDataSource: +{ + properties: { + host: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Teradata, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleDataSourceSchema for OracleDataSource: +{ + properties: { + host: string, # Optional. + port: string, # Optional. + service: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Oracle, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaDataSourceSchema for SapS4HanaDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccDataSourceSchema for SapEccDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEcc, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDataSourceSchema for PowerBIDataSource: +{ + properties: { + tenant: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBI, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionDataSourceSchema for AzureSubscriptionDataSource: +{ + properties: { + subscriptionId: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupDataSourceSchema for AzureResourceGroupDataSource: +{ + properties: { + subscriptionId: string, # Optional. + resourceGroup: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceDataSourceSchema for AzureSynapseWorkspaceDataSource: +{ + properties: { + dedicatedSqlEndpoint: string, # Optional. + serverlessSqlEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseDataSourceSchema for AzureSynapseDataSource: +{ + properties: { + sqlEndpoint: string, # Optional. + sqlOnDemandEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1DataSourceSchema for AdlsGen1DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2DataSourceSchema for AdlsGen2DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountDataSourceSchema for AmazonAccountDataSource: +{ + properties: { + awsAccountId: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3DataSourceSchema for AmazonS3DataSource: +{ + properties: { + serviceUrl: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlDataSourceSchema for AmazonSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbDataSourceSchema for AzureCosmosDbDataSource: +{ + properties: { + accountUri: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerDataSourceSchema for AzureDataExplorerDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceDataSourceSchema for AzureFileServiceDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseDataSourceSchema for AzureSqlDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlDataSourceSchema for AmazonPostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlDataSourceSchema for AzurePostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseDataSourceSchema for SqlServerDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceDataSourceSchema for AzureSqlDatabaseManagedInstanceDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseDataSourceSchema for AzureSqlDataWarehouseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlDataSourceSchema for AzureMySqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageDataSourceSchema for AzureStorageDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataDataSourceSchema for TeradataDataSource: +{ + properties: { + host: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Teradata, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleDataSourceSchema for OracleDataSource: +{ + properties: { + host: string, # Optional. + port: string, # Optional. + service: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Oracle, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaDataSourceSchema for SapS4HanaDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccDataSourceSchema for SapEccDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEcc, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDataSourceSchema for PowerBIDataSource: +{ + properties: { + tenant: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBI, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call CreateOrUpdate with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + kind = "AzureSubscription", +}; + +Response response = client.CreateOrUpdate("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdate with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + subscriptionId = "", + collection = new { + referenceName = "", + type = "", + }, + }, + kind = "AzureSubscription", +}; + +Response response = client.CreateOrUpdate("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionDataSourceSchema for AzureSubscriptionDataSource: +{ + properties: { + subscriptionId: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupDataSourceSchema for AzureResourceGroupDataSource: +{ + properties: { + subscriptionId: string, # Optional. + resourceGroup: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceDataSourceSchema for AzureSynapseWorkspaceDataSource: +{ + properties: { + dedicatedSqlEndpoint: string, # Optional. + serverlessSqlEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseDataSourceSchema for AzureSynapseDataSource: +{ + properties: { + sqlEndpoint: string, # Optional. + sqlOnDemandEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1DataSourceSchema for AdlsGen1DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2DataSourceSchema for AdlsGen2DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountDataSourceSchema for AmazonAccountDataSource: +{ + properties: { + awsAccountId: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3DataSourceSchema for AmazonS3DataSource: +{ + properties: { + serviceUrl: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlDataSourceSchema for AmazonSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbDataSourceSchema for AzureCosmosDbDataSource: +{ + properties: { + accountUri: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerDataSourceSchema for AzureDataExplorerDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceDataSourceSchema for AzureFileServiceDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseDataSourceSchema for AzureSqlDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlDataSourceSchema for AmazonPostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlDataSourceSchema for AzurePostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseDataSourceSchema for SqlServerDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceDataSourceSchema for AzureSqlDatabaseManagedInstanceDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseDataSourceSchema for AzureSqlDataWarehouseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlDataSourceSchema for AzureMySqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageDataSourceSchema for AzureStorageDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataDataSourceSchema for TeradataDataSource: +{ + properties: { + host: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Teradata, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleDataSourceSchema for OracleDataSource: +{ + properties: { + host: string, # Optional. + port: string, # Optional. + service: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Oracle, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaDataSourceSchema for SapS4HanaDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccDataSourceSchema for SapEccDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEcc, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDataSourceSchema for PowerBIDataSource: +{ + properties: { + tenant: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBI, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionDataSourceSchema for AzureSubscriptionDataSource: +{ + properties: { + subscriptionId: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupDataSourceSchema for AzureResourceGroupDataSource: +{ + properties: { + subscriptionId: string, # Optional. + resourceGroup: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceDataSourceSchema for AzureSynapseWorkspaceDataSource: +{ + properties: { + dedicatedSqlEndpoint: string, # Optional. + serverlessSqlEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseDataSourceSchema for AzureSynapseDataSource: +{ + properties: { + sqlEndpoint: string, # Optional. + sqlOnDemandEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1DataSourceSchema for AdlsGen1DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2DataSourceSchema for AdlsGen2DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountDataSourceSchema for AmazonAccountDataSource: +{ + properties: { + awsAccountId: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3DataSourceSchema for AmazonS3DataSource: +{ + properties: { + serviceUrl: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlDataSourceSchema for AmazonSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbDataSourceSchema for AzureCosmosDbDataSource: +{ + properties: { + accountUri: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerDataSourceSchema for AzureDataExplorerDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceDataSourceSchema for AzureFileServiceDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseDataSourceSchema for AzureSqlDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlDataSourceSchema for AmazonPostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlDataSourceSchema for AzurePostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseDataSourceSchema for SqlServerDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceDataSourceSchema for AzureSqlDatabaseManagedInstanceDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseDataSourceSchema for AzureSqlDataWarehouseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlDataSourceSchema for AzureMySqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageDataSourceSchema for AzureStorageDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataDataSourceSchema for TeradataDataSource: +{ + properties: { + host: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Teradata, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleDataSourceSchema for OracleDataSource: +{ + properties: { + host: string, # Optional. + port: string, # Optional. + service: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Oracle, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaDataSourceSchema for SapS4HanaDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccDataSourceSchema for SapEccDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEcc, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDataSourceSchema for PowerBIDataSource: +{ + properties: { + tenant: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBI, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetDataSourceAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetDataSourceAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionDataSourceSchema for AzureSubscriptionDataSource: +{ + properties: { + subscriptionId: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupDataSourceSchema for AzureResourceGroupDataSource: +{ + properties: { + subscriptionId: string, # Optional. + resourceGroup: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceDataSourceSchema for AzureSynapseWorkspaceDataSource: +{ + properties: { + dedicatedSqlEndpoint: string, # Optional. + serverlessSqlEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseDataSourceSchema for AzureSynapseDataSource: +{ + properties: { + sqlEndpoint: string, # Optional. + sqlOnDemandEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1DataSourceSchema for AdlsGen1DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2DataSourceSchema for AdlsGen2DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountDataSourceSchema for AmazonAccountDataSource: +{ + properties: { + awsAccountId: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3DataSourceSchema for AmazonS3DataSource: +{ + properties: { + serviceUrl: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlDataSourceSchema for AmazonSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbDataSourceSchema for AzureCosmosDbDataSource: +{ + properties: { + accountUri: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerDataSourceSchema for AzureDataExplorerDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceDataSourceSchema for AzureFileServiceDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseDataSourceSchema for AzureSqlDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlDataSourceSchema for AmazonPostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlDataSourceSchema for AzurePostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseDataSourceSchema for SqlServerDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceDataSourceSchema for AzureSqlDatabaseManagedInstanceDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseDataSourceSchema for AzureSqlDataWarehouseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlDataSourceSchema for AzureMySqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageDataSourceSchema for AzureStorageDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataDataSourceSchema for TeradataDataSource: +{ + properties: { + host: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Teradata, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleDataSourceSchema for OracleDataSource: +{ + properties: { + host: string, # Optional. + port: string, # Optional. + service: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Oracle, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaDataSourceSchema for SapS4HanaDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccDataSourceSchema for SapEccDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEcc, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDataSourceSchema for PowerBIDataSource: +{ + properties: { + tenant: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBI, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetDataSource with required parameters and parse the result. +", credential); + +Response response = client.GetDataSource(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionDataSourceSchema for AzureSubscriptionDataSource: +{ + properties: { + subscriptionId: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupDataSourceSchema for AzureResourceGroupDataSource: +{ + properties: { + subscriptionId: string, # Optional. + resourceGroup: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceDataSourceSchema for AzureSynapseWorkspaceDataSource: +{ + properties: { + dedicatedSqlEndpoint: string, # Optional. + serverlessSqlEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseDataSourceSchema for AzureSynapseDataSource: +{ + properties: { + sqlEndpoint: string, # Optional. + sqlOnDemandEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1DataSourceSchema for AdlsGen1DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2DataSourceSchema for AdlsGen2DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountDataSourceSchema for AmazonAccountDataSource: +{ + properties: { + awsAccountId: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3DataSourceSchema for AmazonS3DataSource: +{ + properties: { + serviceUrl: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlDataSourceSchema for AmazonSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbDataSourceSchema for AzureCosmosDbDataSource: +{ + properties: { + accountUri: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerDataSourceSchema for AzureDataExplorerDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceDataSourceSchema for AzureFileServiceDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseDataSourceSchema for AzureSqlDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlDataSourceSchema for AmazonPostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlDataSourceSchema for AzurePostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseDataSourceSchema for SqlServerDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceDataSourceSchema for AzureSqlDatabaseManagedInstanceDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseDataSourceSchema for AzureSqlDataWarehouseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlDataSourceSchema for AzureMySqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageDataSourceSchema for AzureStorageDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataDataSourceSchema for TeradataDataSource: +{ + properties: { + host: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Teradata, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleDataSourceSchema for OracleDataSource: +{ + properties: { + host: string, # Optional. + port: string, # Optional. + service: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Oracle, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaDataSourceSchema for SapS4HanaDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccDataSourceSchema for SapEccDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEcc, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDataSourceSchema for PowerBIDataSource: +{ + properties: { + tenant: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBI, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call DeleteAsync with required parameters and parse the result. +", credential); + +Response response = await client.DeleteAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionDataSourceSchema for AzureSubscriptionDataSource: +{ + properties: { + subscriptionId: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupDataSourceSchema for AzureResourceGroupDataSource: +{ + properties: { + subscriptionId: string, # Optional. + resourceGroup: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceDataSourceSchema for AzureSynapseWorkspaceDataSource: +{ + properties: { + dedicatedSqlEndpoint: string, # Optional. + serverlessSqlEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseDataSourceSchema for AzureSynapseDataSource: +{ + properties: { + sqlEndpoint: string, # Optional. + sqlOnDemandEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1DataSourceSchema for AdlsGen1DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2DataSourceSchema for AdlsGen2DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountDataSourceSchema for AmazonAccountDataSource: +{ + properties: { + awsAccountId: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3DataSourceSchema for AmazonS3DataSource: +{ + properties: { + serviceUrl: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlDataSourceSchema for AmazonSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbDataSourceSchema for AzureCosmosDbDataSource: +{ + properties: { + accountUri: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerDataSourceSchema for AzureDataExplorerDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceDataSourceSchema for AzureFileServiceDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseDataSourceSchema for AzureSqlDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlDataSourceSchema for AmazonPostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlDataSourceSchema for AzurePostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseDataSourceSchema for SqlServerDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceDataSourceSchema for AzureSqlDatabaseManagedInstanceDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseDataSourceSchema for AzureSqlDataWarehouseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlDataSourceSchema for AzureMySqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageDataSourceSchema for AzureStorageDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataDataSourceSchema for TeradataDataSource: +{ + properties: { + host: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Teradata, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleDataSourceSchema for OracleDataSource: +{ + properties: { + host: string, # Optional. + port: string, # Optional. + service: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Oracle, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaDataSourceSchema for SapS4HanaDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccDataSourceSchema for SapEccDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEcc, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDataSourceSchema for PowerBIDataSource: +{ + properties: { + tenant: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBI, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call Delete with required parameters and parse the result. +", credential); + +Response response = client.Delete(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scans")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionDataSourceSchema for AzureSubscriptionDataSource: +{ + properties: { + subscriptionId: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupDataSourceSchema for AzureResourceGroupDataSource: +{ + properties: { + subscriptionId: string, # Optional. + resourceGroup: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceDataSourceSchema for AzureSynapseWorkspaceDataSource: +{ + properties: { + dedicatedSqlEndpoint: string, # Optional. + serverlessSqlEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseDataSourceSchema for AzureSynapseDataSource: +{ + properties: { + sqlEndpoint: string, # Optional. + sqlOnDemandEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1DataSourceSchema for AdlsGen1DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2DataSourceSchema for AdlsGen2DataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountDataSourceSchema for AmazonAccountDataSource: +{ + properties: { + awsAccountId: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3DataSourceSchema for AmazonS3DataSource: +{ + properties: { + serviceUrl: string, # Optional. + roleARN: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlDataSourceSchema for AmazonSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbDataSourceSchema for AzureCosmosDbDataSource: +{ + properties: { + accountUri: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerDataSourceSchema for AzureDataExplorerDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceDataSourceSchema for AzureFileServiceDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseDataSourceSchema for AzureSqlDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlDataSourceSchema for AmazonPostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlDataSourceSchema for AzurePostgreSqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseDataSourceSchema for SqlServerDatabaseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceDataSourceSchema for AzureSqlDatabaseManagedInstanceDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseDataSourceSchema for AzureSqlDataWarehouseDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlDataSourceSchema for AzureMySqlDataSource: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageDataSourceSchema for AzureStorageDataSource: +{ + properties: { + endpoint: string, # Optional. + resourceGroup: string, # Optional. + subscriptionId: string, # Optional. + location: string, # Optional. + resourceName: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataDataSourceSchema for TeradataDataSource: +{ + properties: { + host: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Teradata, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleDataSourceSchema for OracleDataSource: +{ + properties: { + host: string, # Optional. + port: string, # Optional. + service: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: Oracle, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaDataSourceSchema for SapS4HanaDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccDataSourceSchema for SapEccDataSource: +{ + properties: { + applicationServer: string, # Optional. + systemNumber: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEcc, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDataSourceSchema for PowerBIDataSource: +{ + properties: { + tenant: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBI, # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetDataSourcesAsync and parse the result. +", credential); + +await foreach (var data in client.GetDataSourcesAsync()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("parentId").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("startTime").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("endTime").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("runType").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for DataSourceListValue: +{ + kind: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetDataSources and parse the result. +", credential); + +foreach (var data in client.GetDataSources()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("parentId").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("startTime").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("endTime").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("runType").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("scans")[0].GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for DataSourceListValue: +{ + kind: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Required. + scans: [ + { + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + +
+
\ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DatasourcePreferencesClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DatasourcePreferencesClient.xml new file mode 100644 index 000000000000..32f8c31e443a --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DatasourcePreferencesClient.xml @@ -0,0 +1,129 @@ + + + + + +This sample shows how to call GetDatasourcePreferenceAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetDatasourcePreferenceAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetDatasourcePreferenceAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetDatasourcePreferenceAsync("", true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("consent").GetProperty("properties").GetProperty("scanner").GetProperty("metadata").ToString()); +Console.WriteLine(result.GetProperty("consent").GetProperty("properties").GetProperty("scanner").GetProperty("classification").ToString()); +Console.WriteLine(result.GetProperty("consent").GetProperty("properties").GetProperty("dataUseGovernance").ToString()); +Console.WriteLine(result.GetProperty("consent").GetProperty("excludedScopes")[0].ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("location").ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("tenantId").ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("gatewayEndpoint").ToString()); +Console.WriteLine(result.GetProperty("frequency").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for DatasourcePreferencesResponse: +{ + consent: { + properties: { + scanner: { + metadata: boolean, # Optional. Consent for metadata discovery. + classification: boolean, # Optional. Consent for classification discovery. + }, # Optional. Represents the collection of consent information for scanning service. + dataUseGovernance: boolean, # Optional. Consent for data use governance. + }, # Optional. Consent properties. + excludedScopes: [string], # Optional. Child scopes that need to be excluded (optional). + }, # Optional. Consent information related to a resource. + accountInfo: { + id: string, # Optional. Id of the purview account. + name: string, # Optional. Name of the purview account. + location: string, # Optional. Region where purview account is created. + tenantId: string, # Optional. Tenant id of the purview account. + gatewayEndpoint: string, # Optional. Purview account gateway endpoint. + }, # Optional. Represents a purview account. + frequency: number, # Optional. This represents the frequency at which the RPs will check for consent information. +} + + + + + + +This sample shows how to call GetDatasourcePreference with required parameters and parse the result. +", credential); + +Response response = client.GetDatasourcePreference(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetDatasourcePreference with all parameters, and how to parse the result. +", credential); + +Response response = client.GetDatasourcePreference("", true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("consent").GetProperty("properties").GetProperty("scanner").GetProperty("metadata").ToString()); +Console.WriteLine(result.GetProperty("consent").GetProperty("properties").GetProperty("scanner").GetProperty("classification").ToString()); +Console.WriteLine(result.GetProperty("consent").GetProperty("properties").GetProperty("dataUseGovernance").ToString()); +Console.WriteLine(result.GetProperty("consent").GetProperty("excludedScopes")[0].ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("location").ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("tenantId").ToString()); +Console.WriteLine(result.GetProperty("accountInfo").GetProperty("gatewayEndpoint").ToString()); +Console.WriteLine(result.GetProperty("frequency").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for DatasourcePreferencesResponse: +{ + consent: { + properties: { + scanner: { + metadata: boolean, # Optional. Consent for metadata discovery. + classification: boolean, # Optional. Consent for classification discovery. + }, # Optional. Represents the collection of consent information for scanning service. + dataUseGovernance: boolean, # Optional. Consent for data use governance. + }, # Optional. Consent properties. + excludedScopes: [string], # Optional. Child scopes that need to be excluded (optional). + }, # Optional. Consent information related to a resource. + accountInfo: { + id: string, # Optional. Id of the purview account. + name: string, # Optional. Name of the purview account. + location: string, # Optional. Region where purview account is created. + tenantId: string, # Optional. Tenant id of the purview account. + gatewayEndpoint: string, # Optional. Purview account gateway endpoint. + }, # Optional. Represents a purview account. + frequency: number, # Optional. This represents the frequency at which the RPs will check for consent information. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DiscoveryClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DiscoveryClient.xml new file mode 100644 index 000000000000..ab309a3d41a8 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/DiscoveryClient.xml @@ -0,0 +1,659 @@ + + + + + +This sample shows how to call QueryAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.QueryAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call QueryAsync with all request content, and how to parse the result. +", credential); + +var data = new { + keywords = "", + offset = 1234, + limit = 1234, + filter = new {}, + facets = new[] { + new { + count = 1234, + facet = "", + sort = new {}, + } + }, + taxonomySetting = new { + assetTypes = new[] { + "" + }, + facet = new { + count = 1234, + facet = "", + sort = new {}, + }, + }, +}; + +Response response = await client.QueryAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("@search.count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("assetType")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("assetType")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("classification")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("classification")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("classificationCategory")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("classificationCategory")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("contactId")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("contactId")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("fileExtension")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("fileExtension")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("label")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("label")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("term")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("term")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.score").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("id")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("qualifiedName")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("name")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("description")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("entityType")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.text").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("entityType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("classification")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("label")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("glossaryName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("contactType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("assetType")[0].ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for SearchRequest: +{ + keywords: string, # Optional. The keywords applied to all searchable fields. + offset: number, # Optional. The offset. The default value is 0. The maximum value is 100000. + limit: number, # Optional. The limit of the number of the search result. default value is 50; maximum value is 1000. + filter: AnyObject, # Optional. The filter for the search. See examples for the usage of supported filters. + facets: [ + { + count: number, # Optional. The count of the facet item. + facet: string, # Optional. The name of the facet item. + sort: AnyObject, # Optional. Any object + } + ], # Optional. + taxonomySetting: { + assetTypes: [string], # Optional. + facet: SearchFacetItem, # Optional. The content of a search facet result item. + }, # Optional. +} + + +Response Body: + +Schema for SearchResult: +{ + @search.count: number, # Optional. The total number of search results (not the number of documents in a single page). + @search.facets: { + assetType: [ + { + count: number, # Optional. The count of the facet item. + value: string, # Optional. The name of the facet item. + } + ], # Optional. + classification: [SearchFacetItemValue], # Optional. + classificationCategory: [SearchFacetItemValue], # Optional. + contactId: [SearchFacetItemValue], # Optional. + fileExtension: [SearchFacetItemValue], # Optional. + label: [SearchFacetItemValue], # Optional. + term: [SearchFacetItemValue], # Optional. + }, # Optional. A facet list that consists of index fields assetType ,classification, contactId, and label. When the facet is specified in the request, the value of the facet is returned as an element of @search.facets. + value: [SearchResultValue], # Optional. +} + + + + + + +This sample shows how to call Query and parse the result. +", credential); + +var data = new {}; + +Response response = client.Query(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call Query with all request content, and how to parse the result. +", credential); + +var data = new { + keywords = "", + offset = 1234, + limit = 1234, + filter = new {}, + facets = new[] { + new { + count = 1234, + facet = "", + sort = new {}, + } + }, + taxonomySetting = new { + assetTypes = new[] { + "" + }, + facet = new { + count = 1234, + facet = "", + sort = new {}, + }, + }, +}; + +Response response = client.Query(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("@search.count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("assetType")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("assetType")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("classification")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("classification")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("classificationCategory")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("classificationCategory")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("contactId")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("contactId")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("fileExtension")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("fileExtension")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("label")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("label")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("term")[0].GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("@search.facets").GetProperty("term")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.score").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("id")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("qualifiedName")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("name")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("description")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.highlights").GetProperty("entityType")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.text").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("entityType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("classification")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("label")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("glossaryName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("contactType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("assetType")[0].ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for SearchRequest: +{ + keywords: string, # Optional. The keywords applied to all searchable fields. + offset: number, # Optional. The offset. The default value is 0. The maximum value is 100000. + limit: number, # Optional. The limit of the number of the search result. default value is 50; maximum value is 1000. + filter: AnyObject, # Optional. The filter for the search. See examples for the usage of supported filters. + facets: [ + { + count: number, # Optional. The count of the facet item. + facet: string, # Optional. The name of the facet item. + sort: AnyObject, # Optional. Any object + } + ], # Optional. + taxonomySetting: { + assetTypes: [string], # Optional. + facet: SearchFacetItem, # Optional. The content of a search facet result item. + }, # Optional. +} + + +Response Body: + +Schema for SearchResult: +{ + @search.count: number, # Optional. The total number of search results (not the number of documents in a single page). + @search.facets: { + assetType: [ + { + count: number, # Optional. The count of the facet item. + value: string, # Optional. The name of the facet item. + } + ], # Optional. + classification: [SearchFacetItemValue], # Optional. + classificationCategory: [SearchFacetItemValue], # Optional. + contactId: [SearchFacetItemValue], # Optional. + fileExtension: [SearchFacetItemValue], # Optional. + label: [SearchFacetItemValue], # Optional. + term: [SearchFacetItemValue], # Optional. + }, # Optional. A facet list that consists of index fields assetType ,classification, contactId, and label. When the facet is specified in the request, the value of the facet is returned as an element of @search.facets. + value: [SearchResultValue], # Optional. +} + + + + + + +This sample shows how to call SuggestAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.SuggestAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call SuggestAsync with all request content, and how to parse the result. +", credential); + +var data = new { + keywords = "", + limit = 1234, + filter = new {}, +}; + +Response response = await client.SuggestAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.score").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.text").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("entityType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("classification")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("label")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("glossaryName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("contactType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("assetType")[0].ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for SuggestRequest: +{ + keywords: string, # Optional. The keywords applied to all fields that support suggest operation. It must be at least 1 character, and no more than 100 characters. In the index schema we defined a default suggester which lists all the supported fields and specifies a search mode. + limit: number, # Optional. The number of suggestions we hope to return. The default value is 5. The value must be a number between 1 and 100. + filter: AnyObject, # Optional. The filter for the search. +} + + +Response Body: + +Schema for SuggestResult: +{ + value: [SuggestResultValue], # Optional. +} + + + + + + +This sample shows how to call Suggest and parse the result. +", credential); + +var data = new {}; + +Response response = client.Suggest(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call Suggest with all request content, and how to parse the result. +", credential); + +var data = new { + keywords = "", + limit = 1234, + filter = new {}, +}; + +Response response = client.Suggest(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.score").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("@search.text").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("entityType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("classification")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("label")[0].ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("glossaryName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("term")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("contact")[0].GetProperty("contactType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("assetType")[0].ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for SuggestRequest: +{ + keywords: string, # Optional. The keywords applied to all fields that support suggest operation. It must be at least 1 character, and no more than 100 characters. In the index schema we defined a default suggester which lists all the supported fields and specifies a search mode. + limit: number, # Optional. The number of suggestions we hope to return. The default value is 5. The value must be a number between 1 and 100. + filter: AnyObject, # Optional. The filter for the search. +} + + +Response Body: + +Schema for SuggestResult: +{ + value: [SuggestResultValue], # Optional. +} + + + + + + +This sample shows how to call BrowseAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.BrowseAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call BrowseAsync with all request content, and how to parse the result. +", credential); + +var data = new { + entityType = "", + path = "", + limit = 1234, + offset = 1234, +}; + +Response response = await client.BrowseAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("@search.count").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("entityType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("isLeaf").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner")[0].GetProperty("mail").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner")[0].GetProperty("contactType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("path").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("qualifiedName").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for BrowseRequest: +{ + entityType: string, # Optional. The entity type to browse as the root level entry point. + path: string, # Optional. The path to browse the next level child entities. + limit: number, # Optional. The number of browse items we hope to return. The maximum value is 10000. + offset: number, # Optional. The offset. The default value is 0. The maximum value is 100000. +} + + +Response Body: + +Schema for BrowseResult: +{ + @search.count: number, # Optional. The total number of browse results. + value: [BrowseResultValue], # Optional. +} + + + + + + +This sample shows how to call Browse and parse the result. +", credential); + +var data = new {}; + +Response response = client.Browse(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call Browse with all request content, and how to parse the result. +", credential); + +var data = new { + entityType = "", + path = "", + limit = 1234, + offset = 1234, +}; + +Response response = client.Browse(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("@search.count").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("entityType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("isLeaf").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner")[0].GetProperty("mail").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("owner")[0].GetProperty("contactType").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("path").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("qualifiedName").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for BrowseRequest: +{ + entityType: string, # Optional. The entity type to browse as the root level entry point. + path: string, # Optional. The path to browse the next level child entities. + limit: number, # Optional. The number of browse items we hope to return. The maximum value is 10000. + offset: number, # Optional. The offset. The default value is 0. The maximum value is 100000. +} + + +Response Body: + +Schema for BrowseResult: +{ + @search.count: number, # Optional. The total number of browse results. + value: [BrowseResultValue], # Optional. +} + + + + + + +This sample shows how to call AutoCompleteAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.AutoCompleteAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call AutoCompleteAsync with all request content, and how to parse the result. +", credential); + +var data = new { + keywords = "", + limit = 1234, + filter = new {}, +}; + +Response response = await client.AutoCompleteAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("value")[0].GetProperty("text").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("queryPlusText").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AutoCompleteRequest: +{ + keywords: string, # Optional. The keywords applied to all fields that support autocomplete operation. It must be at least 1 character, and no more than 100 characters. + limit: number, # Optional. The number of autocomplete results we hope to return. The default value is 50. The value must be a number between 1 and 100. + filter: AnyObject, # Optional. The filter for the autocomplete request. +} + + +Response Body: + +Schema for AutoCompleteResult: +{ + value: [AutoCompleteResultValue], # Optional. +} + + + + + + +This sample shows how to call AutoComplete and parse the result. +", credential); + +var data = new {}; + +Response response = client.AutoComplete(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call AutoComplete with all request content, and how to parse the result. +", credential); + +var data = new { + keywords = "", + limit = 1234, + filter = new {}, +}; + +Response response = client.AutoComplete(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("value")[0].GetProperty("text").ToString()); +Console.WriteLine(result.GetProperty("value")[0].GetProperty("queryPlusText").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AutoCompleteRequest: +{ + keywords: string, # Optional. The keywords applied to all fields that support autocomplete operation. It must be at least 1 character, and no more than 100 characters. + limit: number, # Optional. The number of autocomplete results we hope to return. The default value is 50. The value must be a number between 1 and 100. + filter: AnyObject, # Optional. The filter for the autocomplete request. +} + + +Response Body: + +Schema for AutoCompleteResult: +{ + value: [AutoCompleteResultValue], # Optional. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/EntityClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/EntityClient.xml new file mode 100644 index 000000000000..1f7867e6c24e --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/EntityClient.xml @@ -0,0 +1,6669 @@ + + + + + +This sample shows how to call CreateOrUpdateAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateOrUpdateAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateAsync with all request content, and how to parse the result. +", credential); + +var data = new { + entity = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = await client.CreateOrUpdateAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call CreateOrUpdate and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateOrUpdate(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdate with all request content, and how to parse the result. +", credential); + +var data = new { + entity = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = client.CreateOrUpdate(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call GetEntitiesByGuidsAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetEntitiesByGuidsAsync(new String[]{""}); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetEntitiesByGuidsAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetEntitiesByGuidsAsync(new String[]{""}, true, true, new String[]{""}); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntitiesWithExtInfo: +{ + entities: [ + { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entities. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + + + + + +This sample shows how to call GetEntitiesByGuids with required parameters and parse the result. +", credential); + +Response response = client.GetEntitiesByGuids(new String[]{""}); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetEntitiesByGuids with all parameters, and how to parse the result. +", credential); + +Response response = client.GetEntitiesByGuids(new String[]{""}, true, true, new String[]{""}); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntitiesWithExtInfo: +{ + entities: [ + { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entities. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + + + + + +This sample shows how to call CreateOrUpdateEntitiesAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateOrUpdateEntitiesAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateEntitiesAsync with all request content, and how to parse the result. +", credential); + +var data = new { + entities = new[] { + new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = await client.CreateOrUpdateEntitiesAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntitiesWithExtInfo: +{ + entities: [ + { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entities. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call CreateOrUpdateEntities and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateOrUpdateEntities(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateEntities with all request content, and how to parse the result. +", credential); + +var data = new { + entities = new[] { + new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = client.CreateOrUpdateEntities(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntitiesWithExtInfo: +{ + entities: [ + { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entities. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call DeleteByGuidsAsync with required parameters and parse the result. +", credential); + +Response response = await client.DeleteByGuidsAsync(new String[]{""}); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call DeleteByGuids with required parameters and parse the result. +", credential); + +Response response = client.DeleteByGuids(new String[]{""}); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call AddClassificationAsync. +", credential); + +var data = new {}; + +Response response = await client.AddClassificationAsync(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call AddClassificationAsync with all request content. +", credential); + +var data = new { + classification = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + entityGuids = new[] { + "" + }, +}; + +Response response = await client.AddClassificationAsync(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for ClassificationAssociateRequest: +{ + classification: { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity. + entityGuids: [string], # Optional. The GUID of the entity. +} + + + + + + +This sample shows how to call AddClassification. +", credential); + +var data = new {}; + +Response response = client.AddClassification(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call AddClassification with all request content. +", credential); + +var data = new { + classification = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + entityGuids = new[] { + "" + }, +}; + +Response response = client.AddClassification(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for ClassificationAssociateRequest: +{ + classification: { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity. + entityGuids: [string], # Optional. The GUID of the entity. +} + + + + + + +This sample shows how to call GetByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetByGuidAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetByGuidAsync("", true, true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entity").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + + + + + +This sample shows how to call GetByGuid with required parameters and parse the result. +", credential); + +Response response = client.GetByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetByGuid with all parameters, and how to parse the result. +", credential); + +Response response = client.GetByGuid("", true, true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entity").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + + + + + +This sample shows how to call PartialUpdateEntityAttributeByGuidAsync with required parameters and request content and parse the result. +", credential); + +var data = new {}; + +Response response = await client.PartialUpdateEntityAttributeByGuidAsync("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call PartialUpdateEntityAttributeByGuid with required parameters and request content and parse the result. +", credential); + +var data = new {}; + +Response response = client.PartialUpdateEntityAttributeByGuid("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call DeleteByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.DeleteByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call DeleteByGuid with required parameters and parse the result. +", credential); + +Response response = client.DeleteByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call GetClassificationAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetClassificationAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetClassification with required parameters and parse the result. +", credential); + +Response response = client.GetClassification("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call DeleteClassificationAsync with required parameters. +", credential); + +Response response = await client.DeleteClassificationAsync("", ""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteClassification with required parameters. +", credential); + +Response response = client.DeleteClassification("", ""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call GetClassificationsAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetClassificationsAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("list")[0].ToString()); +Console.WriteLine(result.GetProperty("pageSize").ToString()); +Console.WriteLine(result.GetProperty("sortBy").ToString()); +Console.WriteLine(result.GetProperty("sortType").ToString()); +Console.WriteLine(result.GetProperty("startIndex").ToString()); +Console.WriteLine(result.GetProperty("totalCount").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasClassifications: +{ + list: [AnyObject], # Optional. An array of objects. + pageSize: number, # Optional. The size of the page. + sortBy: string, # Optional. The sorted by field. + sortType: "NONE" | "ASC" | "DESC", # Optional. to specify whether the result should be sorted? If yes, whether asc or desc. + startIndex: number, # Optional. The start index of the page. + totalCount: number, # Optional. The total count of items. +} + + + + + + +This sample shows how to call GetClassifications with required parameters and parse the result. +", credential); + +Response response = client.GetClassifications(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("list")[0].ToString()); +Console.WriteLine(result.GetProperty("pageSize").ToString()); +Console.WriteLine(result.GetProperty("sortBy").ToString()); +Console.WriteLine(result.GetProperty("sortType").ToString()); +Console.WriteLine(result.GetProperty("startIndex").ToString()); +Console.WriteLine(result.GetProperty("totalCount").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasClassifications: +{ + list: [AnyObject], # Optional. An array of objects. + pageSize: number, # Optional. The size of the page. + sortBy: string, # Optional. The sorted by field. + sortType: "NONE" | "ASC" | "DESC", # Optional. to specify whether the result should be sorted? If yes, whether asc or desc. + startIndex: number, # Optional. The start index of the page. + totalCount: number, # Optional. The total count of items. +} + + + + + + +This sample shows how to call AddClassificationsAsync with required parameters and request content. +", credential); + +var data = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } +}; + +Response response = await client.AddClassificationsAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call AddClassifications with required parameters and request content. +", credential); + +var data = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } +}; + +Response response = client.AddClassifications("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call UpdateClassificationsAsync with required parameters and request content. +", credential); + +var data = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } +}; + +Response response = await client.UpdateClassificationsAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call UpdateClassifications with required parameters and request content. +", credential); + +var data = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } +}; + +Response response = client.UpdateClassifications("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetByUniqueAttributesAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetByUniqueAttributesAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetByUniqueAttributesAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetByUniqueAttributesAsync("", true, true, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entity").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + + + + + +This sample shows how to call GetByUniqueAttributes with required parameters and parse the result. +", credential); + +Response response = client.GetByUniqueAttributes(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetByUniqueAttributes with all parameters, and how to parse the result. +", credential); + +Response response = client.GetByUniqueAttributes("", true, true, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entity").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entity").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + + + + + +This sample shows how to call PartialUpdateEntityByUniqueAttributesAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.PartialUpdateEntityByUniqueAttributesAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call PartialUpdateEntityByUniqueAttributesAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + entity = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = await client.PartialUpdateEntityByUniqueAttributesAsync("", RequestContent.Create(data), ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call PartialUpdateEntityByUniqueAttributes with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.PartialUpdateEntityByUniqueAttributes("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call PartialUpdateEntityByUniqueAttributes with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + entity = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + referredEntities = new { + key = new { + businessAttributes = new { + key = new {}, + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + createTime = 123.45f, + createdBy = "", + customAttributes = new { + key = "", + }, + guid = "", + homeId = "", + isIncomplete = true, + labels = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + provenanceType = 123.45f, + proxy = true, + relationshipAttributes = new { + key = new {}, + }, + status = "ACTIVE", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + source = "", + sourceDetails = new { + key = new {}, + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = client.PartialUpdateEntityByUniqueAttributes("", RequestContent.Create(data), ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasEntityWithExtInfo: +{ + entity: { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. An instance of an entity - like hive_table, hive_database. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call DeleteByUniqueAttributeAsync with required parameters and parse the result. +", credential); + +Response response = await client.DeleteByUniqueAttributeAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call DeleteByUniqueAttributeAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.DeleteByUniqueAttributeAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call DeleteByUniqueAttribute with required parameters and parse the result. +", credential); + +Response response = client.DeleteByUniqueAttribute(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call DeleteByUniqueAttribute with all parameters, and how to parse the result. +", credential); + +Response response = client.DeleteByUniqueAttribute("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("guidAssignments").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("mutatedEntities").GetProperty("")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("partialUpdatedEntities")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for EntityMutationResponse: +{ + guidAssignments: Dictionary<string, string>, # Optional. A map of GUID assignments with entities. + mutatedEntities: Dictionary<string, AtlasEntityHeader[]>, # Optional. The entity headers of mutated entities. + partialUpdatedEntities: [ + { + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity headers that partially updated. +} + + + + + + +This sample shows how to call DeleteClassificationByUniqueAttributeAsync with required parameters. +", credential); + +Response response = await client.DeleteClassificationByUniqueAttributeAsync("", ""); +Console.WriteLine(response.Status); +]]> +This sample shows how to call DeleteClassificationByUniqueAttributeAsync with all parameters. +", credential); + +Response response = await client.DeleteClassificationByUniqueAttributeAsync("", "", ""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteClassificationByUniqueAttribute with required parameters. +", credential); + +Response response = client.DeleteClassificationByUniqueAttribute("", ""); +Console.WriteLine(response.Status); +]]> +This sample shows how to call DeleteClassificationByUniqueAttribute with all parameters. +", credential); + +Response response = client.DeleteClassificationByUniqueAttribute("", "", ""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call AddClassificationsByUniqueAttributeAsync with required parameters and request content. +", credential); + +var data = new[] { + new {} +}; + +Response response = await client.AddClassificationsByUniqueAttributeAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call AddClassificationsByUniqueAttributeAsync with all parameters and request content. +", credential); + +var data = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } +}; + +Response response = await client.AddClassificationsByUniqueAttributeAsync("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call AddClassificationsByUniqueAttribute with required parameters and request content. +", credential); + +var data = new[] { + new {} +}; + +Response response = client.AddClassificationsByUniqueAttribute("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call AddClassificationsByUniqueAttribute with all parameters and request content. +", credential); + +var data = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } +}; + +Response response = client.AddClassificationsByUniqueAttribute("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call UpdateClassificationsByUniqueAttributeAsync with required parameters and request content. +", credential); + +var data = new[] { + new {} +}; + +Response response = await client.UpdateClassificationsByUniqueAttributeAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call UpdateClassificationsByUniqueAttributeAsync with all parameters and request content. +", credential); + +var data = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } +}; + +Response response = await client.UpdateClassificationsByUniqueAttributeAsync("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call UpdateClassificationsByUniqueAttribute with required parameters and request content. +", credential); + +var data = new[] { + new {} +}; + +Response response = client.UpdateClassificationsByUniqueAttribute("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call UpdateClassificationsByUniqueAttribute with all parameters and request content. +", credential); + +var data = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } +}; + +Response response = client.UpdateClassificationsByUniqueAttribute("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasClassification: +{ + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call SetClassificationsAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.SetClassificationsAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call SetClassificationsAsync with all request content, and how to parse the result. +", credential); + +var data = new { + guidHeaderMap = new { + key = new { + classificationNames = new[] { + "" + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + displayText = "", + guid = "", + isIncomplete = true, + labels = new[] { + "" + }, + meaningNames = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + status = "ACTIVE", + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = await client.SetClassificationsAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasEntityHeaders: +{ + guidHeaderMap: Dictionary<string, AtlasEntityHeader>, # Optional. The description of the guid header map, +} + + + + + + +This sample shows how to call SetClassifications and parse the result. +", credential); + +var data = new {}; + +Response response = client.SetClassifications(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call SetClassifications with all request content, and how to parse the result. +", credential); + +var data = new { + guidHeaderMap = new { + key = new { + classificationNames = new[] { + "" + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + displayText = "", + guid = "", + isIncomplete = true, + labels = new[] { + "" + }, + meaningNames = new[] { + "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, + status = "ACTIVE", + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + }, +}; + +Response response = client.SetClassifications(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasEntityHeaders: +{ + guidHeaderMap: Dictionary<string, AtlasEntityHeader>, # Optional. The description of the guid header map, +} + + + + + + +This sample shows how to call GetEntitiesByUniqueAttributesAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetEntitiesByUniqueAttributesAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetEntitiesByUniqueAttributesAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetEntitiesByUniqueAttributesAsync("", true, true, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntitiesWithExtInfo: +{ + entities: [ + { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entities. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + + + + + +This sample shows how to call GetEntitiesByUniqueAttributes with required parameters and parse the result. +", credential); + +Response response = client.GetEntitiesByUniqueAttributes(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetEntitiesByUniqueAttributes with all parameters, and how to parse the result. +", credential); + +Response response = client.GetEntitiesByUniqueAttributes("", true, true, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entities")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("businessAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("customAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("proxy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("relationshipAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntitiesWithExtInfo: +{ + entities: [ + { + businessAttributes: Dictionary<string, AnyObject>, # Optional. Business Attributes + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + customAttributes: Dictionary<string, string>, # Optional. Custom Attribute + guid: string, # Optional. The GUID of the entity. + homeId: string, # Optional. The home ID of the entity. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers indicating the meanings of the entity. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship. + proxy: boolean, # Optional. Determines if there's a proxy. + relationshipAttributes: Dictionary<string, AnyObject>, # Optional. The attributes of relationship. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the entity. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Owner. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entities. + referredEntities: Dictionary<string, AtlasEntity>, # Optional. The referred entities. +} + + + + + + +This sample shows how to call GetHeaderAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetHeaderAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityHeader: +{ + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetHeader with required parameters and parse the result. +", credential); + +Response response = client.GetHeader(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityHeader: +{ + classificationNames: [string], # Optional. An array of classification names. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + displayText: string, # Optional. The display text. + guid: string, # Optional. The GUID of the record. + isIncomplete: boolean, # Optional. Whether it is a shell entity + labels: [string], # Optional. labels + meaningNames: [string], # Optional. An array of meanings. + meanings: [ + { + confidence: number, # Optional. The confidence of the term assignment. + createdBy: string, # Optional. The user who created the record. + description: string, # Optional. The description of the term assignment. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term assignment. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of terms assignment. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of term assignment headers. + status: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call DeleteBusinessMetadataAsync with required parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = await client.DeleteBusinessMetadataAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteBusinessMetadata with required parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = client.DeleteBusinessMetadata("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call AddOrUpdateBusinessMetadataAsync with required parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = await client.AddOrUpdateBusinessMetadataAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call AddOrUpdateBusinessMetadataAsync with all parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = await client.AddOrUpdateBusinessMetadataAsync("", RequestContent.Create(data), true); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call AddOrUpdateBusinessMetadata with required parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = client.AddOrUpdateBusinessMetadata("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call AddOrUpdateBusinessMetadata with all parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = client.AddOrUpdateBusinessMetadata("", RequestContent.Create(data), true); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteBusinessMetadataAttributesAsync with required parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = await client.DeleteBusinessMetadataAttributesAsync("", "", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteBusinessMetadataAttributes with required parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = client.DeleteBusinessMetadataAttributes("", "", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call AddOrUpdateBusinessMetadataAttributesAsync with required parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = await client.AddOrUpdateBusinessMetadataAttributesAsync("", "", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call AddOrUpdateBusinessMetadataAttributes with required parameters and request content. +", credential); + +var data = new { + key = new {}, +}; + +Response response = client.AddOrUpdateBusinessMetadataAttributes("", "", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call GetSampleBusinessMetadataTemplateAsync and parse the result. +", credential); + +Response response = await client.GetSampleBusinessMetadataTemplateAsync(); +if (response.ContentStream != null) +{ + using(Stream outFileStream = File.OpenWrite("") + { + response.ContentStream.CopyTo(outFileStream); + } +} +]]> + + + + +This sample shows how to call GetSampleBusinessMetadataTemplate and parse the result. +", credential); + +Response response = client.GetSampleBusinessMetadataTemplate(); +if (response.ContentStream != null) +{ + using(Stream outFileStream = File.OpenWrite("") + { + response.ContentStream.CopyTo(outFileStream); + } +} +]]> + + + + +This sample shows how to call ImportBusinessMetadataAsync with required request content and parse the result. +", credential); + +var data = File.OpenRead(""); + +Response response = await client.ImportBusinessMetadataAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("failedImportInfoList")[0].GetProperty("childObjectName").ToString()); +Console.WriteLine(result.GetProperty("failedImportInfoList")[0].GetProperty("importStatus").ToString()); +Console.WriteLine(result.GetProperty("failedImportInfoList")[0].GetProperty("parentObjectName").ToString()); +Console.WriteLine(result.GetProperty("failedImportInfoList")[0].GetProperty("remarks").ToString()); +Console.WriteLine(result.GetProperty("successImportInfoList")[0].GetProperty("childObjectName").ToString()); +Console.WriteLine(result.GetProperty("successImportInfoList")[0].GetProperty("importStatus").ToString()); +Console.WriteLine(result.GetProperty("successImportInfoList")[0].GetProperty("parentObjectName").ToString()); +Console.WriteLine(result.GetProperty("successImportInfoList")[0].GetProperty("remarks").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for BulkImportResponse: +{ + failedImportInfoList: [ + { + childObjectName: string, # Optional. childObjectName + importStatus: "SUCCESS" | "FAILED", # Optional. importStatus + parentObjectName: string, # Optional. parentObjectName + remarks: string, # Optional. remarks + } + ], # Optional. failed importInfoList + successImportInfoList: [ImportInfo], # Optional. successful importInfoList +} + + + + + + +This sample shows how to call ImportBusinessMetadata with required request content and parse the result. +", credential); + +var data = File.OpenRead(""); + +Response response = client.ImportBusinessMetadata(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("failedImportInfoList")[0].GetProperty("childObjectName").ToString()); +Console.WriteLine(result.GetProperty("failedImportInfoList")[0].GetProperty("importStatus").ToString()); +Console.WriteLine(result.GetProperty("failedImportInfoList")[0].GetProperty("parentObjectName").ToString()); +Console.WriteLine(result.GetProperty("failedImportInfoList")[0].GetProperty("remarks").ToString()); +Console.WriteLine(result.GetProperty("successImportInfoList")[0].GetProperty("childObjectName").ToString()); +Console.WriteLine(result.GetProperty("successImportInfoList")[0].GetProperty("importStatus").ToString()); +Console.WriteLine(result.GetProperty("successImportInfoList")[0].GetProperty("parentObjectName").ToString()); +Console.WriteLine(result.GetProperty("successImportInfoList")[0].GetProperty("remarks").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for BulkImportResponse: +{ + failedImportInfoList: [ + { + childObjectName: string, # Optional. childObjectName + importStatus: "SUCCESS" | "FAILED", # Optional. importStatus + parentObjectName: string, # Optional. parentObjectName + remarks: string, # Optional. remarks + } + ], # Optional. failed importInfoList + successImportInfoList: [ImportInfo], # Optional. successful importInfoList +} + + + + + + +This sample shows how to call DeleteLabelsAsync with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.DeleteLabelsAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteLabels with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = client.DeleteLabels("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call SetLabelsAsync with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.SetLabelsAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call SetLabels with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = client.SetLabels("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call AddLabelAsync with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.AddLabelAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call AddLabel with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = client.AddLabel("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteLabelsByUniqueAttributeAsync with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.DeleteLabelsByUniqueAttributeAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call DeleteLabelsByUniqueAttributeAsync with all parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.DeleteLabelsByUniqueAttributeAsync("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteLabelsByUniqueAttribute with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = client.DeleteLabelsByUniqueAttribute("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call DeleteLabelsByUniqueAttribute with all parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = client.DeleteLabelsByUniqueAttribute("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call SetLabelsByUniqueAttributeAsync with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.SetLabelsByUniqueAttributeAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call SetLabelsByUniqueAttributeAsync with all parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.SetLabelsByUniqueAttributeAsync("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call SetLabelsByUniqueAttribute with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = client.SetLabelsByUniqueAttribute("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call SetLabelsByUniqueAttribute with all parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = client.SetLabelsByUniqueAttribute("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call AddLabelsByUniqueAttributeAsync with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.AddLabelsByUniqueAttributeAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call AddLabelsByUniqueAttributeAsync with all parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.AddLabelsByUniqueAttributeAsync("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call AddLabelsByUniqueAttribute with required parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = client.AddLabelsByUniqueAttribute("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call AddLabelsByUniqueAttribute with all parameters and request content. +", credential); + +var data = new[] { + "" +}; + +Response response = client.AddLabelsByUniqueAttribute("", RequestContent.Create(data), ""); +Console.WriteLine(response.Status); +]]> + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/FiltersClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/FiltersClient.xml new file mode 100644 index 000000000000..721f74598fc3 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/FiltersClient.xml @@ -0,0 +1,213 @@ + + + + + +This sample shows how to call GetFilterAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetFilterAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("excludeUriPrefixes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("includeUriPrefixes")[0].ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for Filter: +{ + properties: { + excludeUriPrefixes: [string], # Optional. + includeUriPrefixes: [string], # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetFilter with required parameters and parse the result. +", credential); + +Response response = client.GetFilter("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("excludeUriPrefixes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("includeUriPrefixes")[0].ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for Filter: +{ + properties: { + excludeUriPrefixes: [string], # Optional. + includeUriPrefixes: [string], # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call CreateOrUpdateAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateOrUpdateAsync("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + excludeUriPrefixes = new[] { + "" + }, + includeUriPrefixes = new[] { + "" + }, + }, +}; + +Response response = await client.CreateOrUpdateAsync("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("excludeUriPrefixes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("includeUriPrefixes")[0].ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for Filter: +{ + properties: { + excludeUriPrefixes: [string], # Optional. + includeUriPrefixes: [string], # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + +Response Body: + +Schema for Filter: +{ + properties: { + excludeUriPrefixes: [string], # Optional. + includeUriPrefixes: [string], # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call CreateOrUpdate with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateOrUpdate("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdate with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + excludeUriPrefixes = new[] { + "" + }, + includeUriPrefixes = new[] { + "" + }, + }, +}; + +Response response = client.CreateOrUpdate("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("excludeUriPrefixes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("includeUriPrefixes")[0].ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for Filter: +{ + properties: { + excludeUriPrefixes: [string], # Optional. + includeUriPrefixes: [string], # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + +Response Body: + +Schema for Filter: +{ + properties: { + excludeUriPrefixes: [string], # Optional. + includeUriPrefixes: [string], # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/GlossaryClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/GlossaryClient.xml new file mode 100644 index 000000000000..59ea085e8802 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/GlossaryClient.xml @@ -0,0 +1,13555 @@ + + + + + +This sample shows how to call GetGlossariesAsync and parse the result. +", credential); + +Response response = await client.GetGlossariesAsync(); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossariesAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetGlossariesAsync(1234, 1234, "", true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("language").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("usage").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call GetGlossaries and parse the result. +", credential); + +Response response = client.GetGlossaries(); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossaries with all parameters, and how to parse the result. +", credential); + +Response response = client.GetGlossaries(1234, 1234, "", true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("language").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("usage").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call CreateGlossaryAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateGlossaryAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateGlossaryAsync with all request content, and how to parse the result. +", credential); + +var data = new { + categoryInfo = new { + key = new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + termInfo = new { + key = new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + language = "", + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = await client.CreateGlossaryAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call CreateGlossary and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateGlossary(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateGlossary with all request content, and how to parse the result. +", credential); + +var data = new { + categoryInfo = new { + key = new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + termInfo = new { + key = new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + language = "", + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = client.CreateGlossary(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call CreateGlossaryCategoriesAsync with required request content and parse the result. +", credential); + +var data = new[] { + new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + } +}; + +Response response = await client.CreateGlossaryCategoriesAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call CreateGlossaryCategories with required request content and parse the result. +", credential); + +var data = new[] { + new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + } +}; + +Response response = client.CreateGlossaryCategories(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call CreateGlossaryCategoryAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateGlossaryCategoryAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateGlossaryCategoryAsync with all request content, and how to parse the result. +", credential); + +var data = new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = await client.CreateGlossaryCategoryAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call CreateGlossaryCategory and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateGlossaryCategory(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateGlossaryCategory with all request content, and how to parse the result. +", credential); + +var data = new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = client.CreateGlossaryCategory(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetGlossaryCategoryAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetGlossaryCategoryAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetGlossaryCategory with required parameters and parse the result. +", credential); + +Response response = client.GetGlossaryCategory(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call UpdateGlossaryCategoryAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.UpdateGlossaryCategoryAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateGlossaryCategoryAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = await client.UpdateGlossaryCategoryAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call UpdateGlossaryCategory with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.UpdateGlossaryCategory("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateGlossaryCategory with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = client.UpdateGlossaryCategory("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call DeleteGlossaryCategoryAsync with required parameters. +", credential); + +Response response = await client.DeleteGlossaryCategoryAsync(""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteGlossaryCategory with required parameters. +", credential); + +Response response = client.DeleteGlossaryCategory(""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call PartialUpdateGlossaryCategoryAsync with required parameters and request content and parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = await client.PartialUpdateGlossaryCategoryAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call PartialUpdateGlossaryCategory with required parameters and request content and parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = client.PartialUpdateGlossaryCategory("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetRelatedCategoriesAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetRelatedCategoriesAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("")[0].ToString()); +]]> +This sample shows how to call GetRelatedCategoriesAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetRelatedCategoriesAsync("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("relationGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedCategoryHeader: +{ + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. +} + + + + + + +This sample shows how to call GetRelatedCategories with required parameters and parse the result. +", credential); + +Response response = client.GetRelatedCategories(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("")[0].ToString()); +]]> +This sample shows how to call GetRelatedCategories with all parameters, and how to parse the result. +", credential); + +Response response = client.GetRelatedCategories("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("relationGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedCategoryHeader: +{ + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. +} + + + + + + +This sample shows how to call GetCategoryTermsAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetCategoryTermsAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetCategoryTermsAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetCategoryTermsAsync("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("termGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedTermHeader: +{ + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. +} + + + + + + +This sample shows how to call GetCategoryTerms with required parameters and parse the result. +", credential); + +Response response = client.GetCategoryTerms(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetCategoryTerms with all parameters, and how to parse the result. +", credential); + +Response response = client.GetCategoryTerms("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("termGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedTermHeader: +{ + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. +} + + + + + + +This sample shows how to call CreateGlossaryTermAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateGlossaryTermAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateGlossaryTermAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = await client.CreateGlossaryTermAsync(RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call CreateGlossaryTerm with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateGlossaryTerm(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateGlossaryTerm with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = client.CreateGlossaryTerm(RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetGlossaryTermAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetGlossaryTermAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetGlossaryTermAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetGlossaryTermAsync("", true, new String[]{""}); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetGlossaryTerm with required parameters and parse the result. +", credential); + +Response response = client.GetGlossaryTerm(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetGlossaryTerm with all parameters, and how to parse the result. +", credential); + +Response response = client.GetGlossaryTerm("", true, new String[]{""}); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call UpdateGlossaryTermAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.UpdateGlossaryTermAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateGlossaryTermAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = await client.UpdateGlossaryTermAsync("", RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call UpdateGlossaryTerm with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.UpdateGlossaryTerm("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateGlossaryTerm with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = client.UpdateGlossaryTerm("", RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call DeleteGlossaryTermAsync with required parameters. +", credential); + +Response response = await client.DeleteGlossaryTermAsync(""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteGlossaryTerm with required parameters. +", credential); + +Response response = client.DeleteGlossaryTerm(""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call PartialUpdateGlossaryTermAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = await client.PartialUpdateGlossaryTermAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call PartialUpdateGlossaryTermAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = await client.PartialUpdateGlossaryTermAsync("", RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call PartialUpdateGlossaryTerm with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = client.PartialUpdateGlossaryTerm("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call PartialUpdateGlossaryTerm with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = client.PartialUpdateGlossaryTerm("", RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call CreateGlossaryTermsAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = new[] { + new {} +}; + +Response response = await client.CreateGlossaryTermsAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call CreateGlossaryTermsAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new[] { + new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + } +}; + +Response response = await client.CreateGlossaryTermsAsync(RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("abbreviation").ToString()); +Console.WriteLine(result[0].GetProperty("templateName")[0].ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("createTime").ToString()); +Console.WriteLine(result[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result[0].GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("examples")[0].ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("usage").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call CreateGlossaryTerms with required parameters and request content, and how to parse the result. +", credential); + +var data = new[] { + new {} +}; + +Response response = client.CreateGlossaryTerms(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call CreateGlossaryTerms with all parameters and request content, and how to parse the result. +", credential); + +var data = new[] { + new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + } +}; + +Response response = client.CreateGlossaryTerms(RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("abbreviation").ToString()); +Console.WriteLine(result[0].GetProperty("templateName")[0].ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("createTime").ToString()); +Console.WriteLine(result[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result[0].GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("examples")[0].ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("usage").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetEntitiesAssignedWithTermAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetEntitiesAssignedWithTermAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetEntitiesAssignedWithTermAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetEntitiesAssignedWithTermAsync("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedObjectId: +{ + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. +} + + + + + + +This sample shows how to call GetEntitiesAssignedWithTerm with required parameters and parse the result. +", credential); + +Response response = client.GetEntitiesAssignedWithTerm(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetEntitiesAssignedWithTerm with all parameters, and how to parse the result. +", credential); + +Response response = client.GetEntitiesAssignedWithTerm("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedObjectId: +{ + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. +} + + + + + + +This sample shows how to call AssignTermToEntitiesAsync with required parameters and request content. +", credential); + +var data = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } +}; + +Response response = await client.AssignTermToEntitiesAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasRelatedObjectId: +{ + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. +} + + + + + + +This sample shows how to call AssignTermToEntities with required parameters and request content. +", credential); + +var data = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } +}; + +Response response = client.AssignTermToEntities("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasRelatedObjectId: +{ + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. +} + + + + + + +This sample shows how to call RemoveTermAssignmentFromEntitiesAsync with required parameters and request content. +", credential); + +var data = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } +}; + +Response response = await client.RemoveTermAssignmentFromEntitiesAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasRelatedObjectId: +{ + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. +} + + + + + + +This sample shows how to call RemoveTermAssignmentFromEntities with required parameters and request content. +", credential); + +var data = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } +}; + +Response response = client.RemoveTermAssignmentFromEntities("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasRelatedObjectId: +{ + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. +} + + + + + + +This sample shows how to call DeleteTermAssignmentFromEntitiesAsync with required parameters and request content. +", credential); + +var data = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } +}; + +Response response = await client.DeleteTermAssignmentFromEntitiesAsync("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasRelatedObjectId: +{ + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. +} + + + + + + +This sample shows how to call DeleteTermAssignmentFromEntities with required parameters and request content. +", credential); + +var data = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } +}; + +Response response = client.DeleteTermAssignmentFromEntities("", RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasRelatedObjectId: +{ + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. +} + + + + + + +This sample shows how to call GetRelatedTermsAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetRelatedTermsAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("")[0].ToString()); +]]> +This sample shows how to call GetRelatedTermsAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetRelatedTermsAsync("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("termGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedTermHeader: +{ + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. +} + + + + + + +This sample shows how to call GetRelatedTerms with required parameters and parse the result. +", credential); + +Response response = client.GetRelatedTerms(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("")[0].ToString()); +]]> +This sample shows how to call GetRelatedTerms with all parameters, and how to parse the result. +", credential); + +Response response = client.GetRelatedTerms("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("")[0].GetProperty("termGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedTermHeader: +{ + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. +} + + + + + + +This sample shows how to call GetGlossaryAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetGlossaryAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call GetGlossary with required parameters and parse the result. +", credential); + +Response response = client.GetGlossary(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call UpdateGlossaryAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.UpdateGlossaryAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateGlossaryAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + categoryInfo = new { + key = new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + termInfo = new { + key = new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + language = "", + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = await client.UpdateGlossaryAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call UpdateGlossary with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.UpdateGlossary("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateGlossary with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + categoryInfo = new { + key = new { + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + childrenCategories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + parentCategory = new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + }, + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + termInfo = new { + key = new { + abbreviation = "", + templateName = new[] { + new {} + }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new { + key = new[] { + new { + id = "", + info = "", + } + }, + }, + attributes = new { + key = new { + key = new {}, + }, + }, + assignedEntities = new[] { + new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + } + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + relationGuid = "", + status = "DRAFT", + } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + examples = new[] { + "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + language = "", + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", +}; + +Response response = client.UpdateGlossary("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call DeleteGlossaryAsync with required parameters. +", credential); + +Response response = await client.DeleteGlossaryAsync(""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteGlossary with required parameters. +", credential); + +Response response = client.DeleteGlossary(""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call GetGlossaryCategoriesAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetGlossaryCategoriesAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossaryCategoriesAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetGlossaryCategoriesAsync("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetGlossaryCategories with required parameters and parse the result. +", credential); + +Response response = client.GetGlossaryCategories(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossaryCategories with all parameters, and how to parse the result. +", credential); + +Response response = client.GetGlossaryCategories("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryCategory: +{ + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + childrenCategories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of children categories. + parentCategory: AtlasRelatedCategoryHeader, # Optional. The header of the related category. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetGlossaryCategoriesHeadersAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetGlossaryCategoriesHeadersAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossaryCategoriesHeadersAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetGlossaryCategoriesHeadersAsync("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("relationGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedCategoryHeader: +{ + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. +} + + + + + + +This sample shows how to call GetGlossaryCategoriesHeaders with required parameters and parse the result. +", credential); + +Response response = client.GetGlossaryCategoriesHeaders(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossaryCategoriesHeaders with all parameters, and how to parse the result. +", credential); + +Response response = client.GetGlossaryCategoriesHeaders("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("relationGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedCategoryHeader: +{ + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. +} + + + + + + +This sample shows how to call GetDetailedGlossaryAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetDetailedGlossaryAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetDetailedGlossaryAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetDetailedGlossaryAsync("", true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetDetailedGlossary with required parameters and parse the result. +", credential); + +Response response = client.GetDetailedGlossary(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetDetailedGlossary with all parameters, and how to parse the result. +", credential); + +Response response = client.GetDetailedGlossary("", true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("childrenCategories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("parentCategory").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("categoryInfo").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("abbreviation").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("templateName")[0].ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("examples")[0].ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termInfo").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call PartialUpdateGlossaryAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = await client.PartialUpdateGlossaryAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call PartialUpdateGlossaryAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = await client.PartialUpdateGlossaryAsync("", RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call PartialUpdateGlossary with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = client.PartialUpdateGlossary("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call PartialUpdateGlossary with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + key = "", +}; + +Response response = client.PartialUpdateGlossary("", RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("parentCategoryGuid").ToString()); +Console.WriteLine(result.GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("language").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("terms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("usage").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("longDescription").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("qualifiedName").ToString()); +Console.WriteLine(result.GetProperty("shortDescription").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +
AtlasGlossaryExtInfoSchema for AtlasGlossaryExtInfo: +{ + categoryInfo: Dictionary<string, AtlasGlossaryCategory>, # Optional. The glossary category information. + termInfo: Dictionary<string, AtlasGlossaryTerm>, # Optional. The glossary term information. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the category header. + displayText: string, # Optional. The display text. + parentCategoryGuid: string, # Optional. The GUID of the parent category. + relationGuid: string, # Optional. The GUID of the relationship. + } + ], # Optional. An array of categories. + language: string, # Optional. The language of the glossary. + terms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers. + usage: string, # Optional. The usage of the glossary. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + +
+ +
+
+ + +This sample shows how to call GetGlossaryTermsAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetGlossaryTermsAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossaryTermsAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetGlossaryTermsAsync("", true, 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("abbreviation").ToString()); +Console.WriteLine(result[0].GetProperty("templateName")[0].ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("createTime").ToString()); +Console.WriteLine(result[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result[0].GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("examples")[0].ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("usage").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetGlossaryTerms with required parameters and parse the result. +", credential); + +Response response = client.GetGlossaryTerms(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossaryTerms with all parameters, and how to parse the result. +", credential); + +Response response = client.GetGlossaryTerms("", true, 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("abbreviation").ToString()); +Console.WriteLine(result[0].GetProperty("templateName")[0].ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("createTime").ToString()); +Console.WriteLine(result[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result[0].GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("examples")[0].ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("usage").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetGlossaryTermHeadersAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetGlossaryTermHeadersAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossaryTermHeadersAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetGlossaryTermHeadersAsync("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("termGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedTermHeader: +{ + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. +} + + + + + + +This sample shows how to call GetGlossaryTermHeaders with required parameters and parse the result. +", credential); + +Response response = client.GetGlossaryTermHeaders(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetGlossaryTermHeaders with all parameters, and how to parse the result. +", credential); + +Response response = client.GetGlossaryTermHeaders("", 1234, 1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("termGuid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelatedTermHeader: +{ + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. +} + + + + + + +This sample shows how to call GetImportCsvOperationStatusAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetImportCsvOperationStatusAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("lastUpdateTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("importedTerms").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("totalTermsDetected").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorCode").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorMessage").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for ImportCSVOperation: +{ + id: string, # Optional. guid string + status: "NotStarted" | "Succeeded" | "Failed" | "Running", # Optional. Enum of the status of import csv operation. + createTime: string, # Optional. The created time of the record. + lastUpdateTime: string, # Optional. The last updated time of the record. + properties: { + importedTerms: string, # Optional. Term numbers that already imported successfully + totalTermsDetected: string, # Optional. Total term numbers that detected in csv + }, # Optional. + error: { + errorCode: number, # Optional. Error code from async import job if fail + errorMessage: string, # Optional. Error message from async import job if fail + }, # Optional. +} + + + + + + +This sample shows how to call GetImportCsvOperationStatus with required parameters and parse the result. +", credential); + +Response response = client.GetImportCsvOperationStatus(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("lastUpdateTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("importedTerms").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("totalTermsDetected").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorCode").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorMessage").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for ImportCSVOperation: +{ + id: string, # Optional. guid string + status: "NotStarted" | "Succeeded" | "Failed" | "Running", # Optional. Enum of the status of import csv operation. + createTime: string, # Optional. The created time of the record. + lastUpdateTime: string, # Optional. The last updated time of the record. + properties: { + importedTerms: string, # Optional. Term numbers that already imported successfully + totalTermsDetected: string, # Optional. Total term numbers that detected in csv + }, # Optional. + error: { + errorCode: number, # Optional. Error code from async import job if fail + errorMessage: string, # Optional. Error message from async import job if fail + }, # Optional. +} + + + + + + +This sample shows how to call ExportGlossaryTermsAsCsvAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.ExportGlossaryTermsAsCsvAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call ExportGlossaryTermsAsCsvAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new[] { + "" +}; + +Response response = await client.ExportGlossaryTermsAsCsvAsync("", RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> + + + + +This sample shows how to call ExportGlossaryTermsAsCsv with required parameters and request content, and how to parse the result. +", credential); + +var data = new[] { + "" +}; + +Response response = client.ExportGlossaryTermsAsCsv("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call ExportGlossaryTermsAsCsv with all parameters and request content, and how to parse the result. +", credential); + +var data = new[] { + "" +}; + +Response response = client.ExportGlossaryTermsAsCsv("", RequestContent.Create(data), true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> + + + + +This sample shows how to call GetTermsByGlossaryNameAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetTermsByGlossaryNameAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetTermsByGlossaryNameAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetTermsByGlossaryNameAsync("", 1234, 1234, true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("abbreviation").ToString()); +Console.WriteLine(result[0].GetProperty("templateName")[0].ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("createTime").ToString()); +Console.WriteLine(result[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result[0].GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("examples")[0].ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("usage").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call GetTermsByGlossaryName with required parameters and parse the result. +", credential); + +Response response = client.GetTermsByGlossaryName(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetTermsByGlossaryName with all parameters, and how to parse the result. +", credential); + +Response response = client.GetTermsByGlossaryName("", 1234, 1234, true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("abbreviation").ToString()); +Console.WriteLine(result[0].GetProperty("templateName")[0].ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("glossaryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("anchor").GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("antonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("createTime").ToString()); +Console.WriteLine(result[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("displayName").ToString()); +Console.WriteLine(result[0].GetProperty("resources")[0].GetProperty("url").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("id").ToString()); +Console.WriteLine(result[0].GetProperty("contacts").GetProperty("")[0].GetProperty("info").ToString()); +Console.WriteLine(result[0].GetProperty("attributes").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipType").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipAttributes").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipGuid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("relationshipStatus").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("assignedEntities")[0].GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("categoryGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("categories")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("classifies")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("examples")[0].ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("isA")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("preferredToTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacedBy")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("replacementTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("seeAlso")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("synonyms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translatedTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("translationTerms")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("usage").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValues")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("description").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("expression").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("status").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("steward").ToString()); +Console.WriteLine(result[0].GetProperty("validValuesFor")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result[0].GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("longDescription").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +Console.WriteLine(result[0].GetProperty("qualifiedName").ToString()); +Console.WriteLine(result[0].GetProperty("shortDescription").ToString()); +Console.WriteLine(result[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasGlossaryTerm: +{ + abbreviation: string, # Optional. The abbreviation of the term. + templateName: [AnyObject], # Optional. + anchor: { + displayText: string, # Optional. The display text. + glossaryGuid: string, # Optional. The GUID of the glossary. + relationGuid: string, # Optional. The GUID of the relationship. + }, # Optional. The glossary header with basic information. + antonyms: [ + { + description: string, # Optional. The description of the related term. + displayText: string, # Optional. The display text. + expression: string, # Optional. The expression of the term. + relationGuid: string, # Optional. The GUID of the relationship. + source: string, # Optional. The source of the term. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + steward: string, # Optional. The steward of the term. + termGuid: string, # Optional. The GUID of the term. + } + ], # Optional. An array of related term headers as antonyms. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + status: "Draft" | "Approved" | "Alert" | "Expired", # Optional. Status of the AtlasGlossaryTerm + resources: [ + { + displayName: string, # Optional. Display name for url. + url: string, # Optional. web url. http or https + } + ], # Optional. An array of resource link for term + contacts: Dictionary<string, ContactBasic[]>, # Optional. The dictionary of contacts for terms. Key could be Expert or Steward. + attributes: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The custom attributes of the term, which is map<string,map<string,object>>. +The key of the first layer map is term template name. + assignedEntities: [ + { + displayText: string, # Optional. The display text. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + relationshipType: string, # Optional. + relationshipAttributes: { + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. + relationshipGuid: string, # Optional. The GUID of the relationship. + relationshipStatus: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + } + ], # Optional. An array of related object IDs. + categories: [ + { + categoryGuid: string, # Optional. The GUID of the category. + description: string, # Optional. The description of the record. + displayText: string, # Optional. The display text. + relationGuid: string, # Optional. The GUID of the relationship. + status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER", # Optional. The status of term relationship. + } + ], # Optional. An array of term categorization headers. + classifies: [AtlasRelatedTermHeader], # Optional. An array of related term headers. + examples: [string], # Optional. An array of examples. + isA: [AtlasRelatedTermHeader], # Optional. An array of related term headers indicating the is-a relationship. + preferredTerms: [AtlasRelatedTermHeader], # Optional. An array of preferred related term headers. + preferredToTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are preferred to. + replacedBy: [AtlasRelatedTermHeader], # Optional. An array of related term headers that are replaced by. + replacementTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for replacement. + seeAlso: [AtlasRelatedTermHeader], # Optional. An array of related term headers for see also. + synonyms: [AtlasRelatedTermHeader], # Optional. An array of related term headers as synonyms. + translatedTerms: [AtlasRelatedTermHeader], # Optional. An array of translated related term headers. + translationTerms: [AtlasRelatedTermHeader], # Optional. An array of related term headers for translation. + usage: string, # Optional. The usage of the term. + validValues: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values. + validValuesFor: [AtlasRelatedTermHeader], # Optional. An array of related term headers as valid values for other records. + classifications: [ + { + entityGuid: string, # Optional. The GUID of the entity. + entityStatus: "ACTIVE" | "DELETED", # Optional. Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. + removePropagationsOnEntityDelete: boolean, # Optional. Determines if propagations will be removed on entity deletion. + validityPeriods: [ + { + endTime: string, # Optional. The end of the time boundary. + startTime: string, # Optional. The start of the time boundary. + timeZone: string, # Optional. The timezone of the time boundary. + } + ], # Optional. An array of time boundaries indicating validity periods. + source: string, # Optional. indicate the source who create the classification detail + sourceDetails: Dictionary<string, AnyObject>, # Optional. more detail on source information + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classifications. + longDescription: string, # Optional. The long version description. + name: string, # Optional. The name of the glossary object. + qualifiedName: string, # Optional. The qualified name of the glossary object. + shortDescription: string, # Optional. The short version of description. + lastModifiedTS: string, # Optional. ETag for concurrency control. + guid: string, # Optional. The GUID of the object. +} + + + + + + +This sample shows how to call ImportGlossaryTermsViaCsvAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = File.OpenRead(""); + +var operation = await client.ImportGlossaryTermsViaCsvAsync(WaitUntil.Completed, "", RequestContent.Create(data)); + +BinaryData data = await operation.WaitForCompletionAsync(); +JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call ImportGlossaryTermsViaCsvAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = File.OpenRead(""); + +var operation = await client.ImportGlossaryTermsViaCsvAsync(WaitUntil.Completed, "", RequestContent.Create(data), true); + +BinaryData data = await operation.WaitForCompletionAsync(); +JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("lastUpdateTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("importedTerms").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("totalTermsDetected").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorCode").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorMessage").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for ImportCSVOperation: +{ + id: string, # Optional. guid string + status: "NotStarted" | "Succeeded" | "Failed" | "Running", # Optional. Enum of the status of import csv operation. + createTime: string, # Optional. The created time of the record. + lastUpdateTime: string, # Optional. The last updated time of the record. + properties: { + importedTerms: string, # Optional. Term numbers that already imported successfully + totalTermsDetected: string, # Optional. Total term numbers that detected in csv + }, # Optional. + error: { + errorCode: number, # Optional. Error code from async import job if fail + errorMessage: string, # Optional. Error message from async import job if fail + }, # Optional. +} + + + + + + +This sample shows how to call ImportGlossaryTermsViaCsv with required parameters and request content, and how to parse the result. +", credential); + +var data = File.OpenRead(""); + +var operation = client.ImportGlossaryTermsViaCsv(WaitUntil.Completed, "", RequestContent.Create(data)); + +BinaryData data = operation.WaitForCompletion(); +JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call ImportGlossaryTermsViaCsv with all parameters and request content, and how to parse the result. +", credential); + +var data = File.OpenRead(""); + +var operation = client.ImportGlossaryTermsViaCsv(WaitUntil.Completed, "", RequestContent.Create(data), true); + +BinaryData data = operation.WaitForCompletion(); +JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("lastUpdateTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("importedTerms").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("totalTermsDetected").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorCode").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorMessage").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for ImportCSVOperation: +{ + id: string, # Optional. guid string + status: "NotStarted" | "Succeeded" | "Failed" | "Running", # Optional. Enum of the status of import csv operation. + createTime: string, # Optional. The created time of the record. + lastUpdateTime: string, # Optional. The last updated time of the record. + properties: { + importedTerms: string, # Optional. Term numbers that already imported successfully + totalTermsDetected: string, # Optional. Total term numbers that detected in csv + }, # Optional. + error: { + errorCode: number, # Optional. Error code from async import job if fail + errorMessage: string, # Optional. Error message from async import job if fail + }, # Optional. +} + + + + + + +This sample shows how to call ImportGlossaryTermsViaCsvByGlossaryNameAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = File.OpenRead(""); + +var operation = await client.ImportGlossaryTermsViaCsvByGlossaryNameAsync(WaitUntil.Completed, "", RequestContent.Create(data)); + +BinaryData data = await operation.WaitForCompletionAsync(); +JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call ImportGlossaryTermsViaCsvByGlossaryNameAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = File.OpenRead(""); + +var operation = await client.ImportGlossaryTermsViaCsvByGlossaryNameAsync(WaitUntil.Completed, "", RequestContent.Create(data), true); + +BinaryData data = await operation.WaitForCompletionAsync(); +JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("lastUpdateTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("importedTerms").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("totalTermsDetected").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorCode").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorMessage").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for ImportCSVOperation: +{ + id: string, # Optional. guid string + status: "NotStarted" | "Succeeded" | "Failed" | "Running", # Optional. Enum of the status of import csv operation. + createTime: string, # Optional. The created time of the record. + lastUpdateTime: string, # Optional. The last updated time of the record. + properties: { + importedTerms: string, # Optional. Term numbers that already imported successfully + totalTermsDetected: string, # Optional. Total term numbers that detected in csv + }, # Optional. + error: { + errorCode: number, # Optional. Error code from async import job if fail + errorMessage: string, # Optional. Error message from async import job if fail + }, # Optional. +} + + + + + + +This sample shows how to call ImportGlossaryTermsViaCsvByGlossaryName with required parameters and request content, and how to parse the result. +", credential); + +var data = File.OpenRead(""); + +var operation = client.ImportGlossaryTermsViaCsvByGlossaryName(WaitUntil.Completed, "", RequestContent.Create(data)); + +BinaryData data = operation.WaitForCompletion(); +JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call ImportGlossaryTermsViaCsvByGlossaryName with all parameters and request content, and how to parse the result. +", credential); + +var data = File.OpenRead(""); + +var operation = client.ImportGlossaryTermsViaCsvByGlossaryName(WaitUntil.Completed, "", RequestContent.Create(data), true); + +BinaryData data = operation.WaitForCompletion(); +JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("lastUpdateTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("importedTerms").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("totalTermsDetected").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorCode").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("errorMessage").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for ImportCSVOperation: +{ + id: string, # Optional. guid string + status: "NotStarted" | "Succeeded" | "Failed" | "Running", # Optional. Enum of the status of import csv operation. + createTime: string, # Optional. The created time of the record. + lastUpdateTime: string, # Optional. The last updated time of the record. + properties: { + importedTerms: string, # Optional. Term numbers that already imported successfully + totalTermsDetected: string, # Optional. Total term numbers that detected in csv + }, # Optional. + error: { + errorCode: number, # Optional. Error code from async import job if fail + errorMessage: string, # Optional. Error message from async import job if fail + }, # Optional. +} + + + + +
+
\ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/KeyVaultConnectionsClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/KeyVaultConnectionsClient.xml new file mode 100644 index 000000000000..0608a40a4ed7 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/KeyVaultConnectionsClient.xml @@ -0,0 +1,343 @@ + + + + + +This sample shows how to call GetKeyVaultConnectionAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetKeyVaultConnectionAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("baseUrl").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AzureKeyVault: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetKeyVaultConnection with required parameters and parse the result. +", credential); + +Response response = client.GetKeyVaultConnection(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("baseUrl").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AzureKeyVault: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call CreateAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + baseUrl = "", + description = "", + }, +}; + +Response response = await client.CreateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("baseUrl").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AzureKeyVault: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + +Response Body: + +Schema for AzureKeyVault: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call Create with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.Create("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call Create with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + baseUrl = "", + description = "", + }, +}; + +Response response = client.Create("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("baseUrl").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AzureKeyVault: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + +Response Body: + +Schema for AzureKeyVault: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call DeleteAsync with required parameters and parse the result. +", credential); + +Response response = await client.DeleteAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("baseUrl").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AzureKeyVault: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call Delete with required parameters and parse the result. +", credential); + +Response response = client.Delete(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("baseUrl").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AzureKeyVault: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetKeyVaultConnectionsAsync and parse the result. +", credential); + +await foreach (var data in client.GetKeyVaultConnectionsAsync()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("properties").GetProperty("baseUrl").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for AzureKeyVaultListValue: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetKeyVaultConnections and parse the result. +", credential); + +foreach (var data in client.GetKeyVaultConnections()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("properties").GetProperty("baseUrl").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for AzureKeyVaultListValue: +{ + properties: { + baseUrl: string, # Optional. + description: string, # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/LineageClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/LineageClient.xml new file mode 100644 index 000000000000..eb1622ec07a9 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/LineageClient.xml @@ -0,0 +1,605 @@ + + + + + +This sample shows how to call GetLineageGraphAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetLineageGraphAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetLineageGraphAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetLineageGraphAsync("", "", 1234, 1234, true, true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("baseEntityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("widthCounts").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("lineageDepth").ToString()); +Console.WriteLine(result.GetProperty("lineageWidth").ToString()); +Console.WriteLine(result.GetProperty("includeParent").ToString()); +Console.WriteLine(result.GetProperty("childrenCount").ToString()); +Console.WriteLine(result.GetProperty("lineageDirection").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("childEntityId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("parentEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("fromEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("toEntityId").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasLineageInfo: +{ + baseEntityGuid: string, # Optional. The GUID of the base entity. + guidEntityMap: Dictionary<string, AtlasEntityHeader>, # Optional. The GUID entity map. + widthCounts: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The entity count in specific direction. + lineageDepth: number, # Optional. The depth of lineage. + lineageWidth: number, # Optional. The width of lineage. + includeParent: boolean, # Optional. True to return the parent of the base entity. + childrenCount: number, # Optional. The number of children node. + lineageDirection: "INPUT" | "OUTPUT" | "BOTH", # Optional. The enum of lineage direction. + parentRelations: [ + { + childEntityId: string, # Optional. The GUID of child entity. + relationshipId: string, # Optional. The GUID of relationship. + parentEntityId: string, # Optional. The GUID of parent entity. + } + ], # Optional. An array of parentRelations relations. + relations: [ + { + fromEntityId: string, # Optional. The GUID of from-entity. + relationshipId: string, # Optional. The GUID of relationship. + toEntityId: string, # Optional. The GUID of to-entity. + } + ], # Optional. An array of lineage relations. +} + + + + + + +This sample shows how to call GetLineageGraph with required parameters and parse the result. +", credential); + +Response response = client.GetLineageGraph("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetLineageGraph with all parameters, and how to parse the result. +", credential); + +Response response = client.GetLineageGraph("", "", 1234, 1234, true, true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("baseEntityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("widthCounts").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("lineageDepth").ToString()); +Console.WriteLine(result.GetProperty("lineageWidth").ToString()); +Console.WriteLine(result.GetProperty("includeParent").ToString()); +Console.WriteLine(result.GetProperty("childrenCount").ToString()); +Console.WriteLine(result.GetProperty("lineageDirection").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("childEntityId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("parentEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("fromEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("toEntityId").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasLineageInfo: +{ + baseEntityGuid: string, # Optional. The GUID of the base entity. + guidEntityMap: Dictionary<string, AtlasEntityHeader>, # Optional. The GUID entity map. + widthCounts: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The entity count in specific direction. + lineageDepth: number, # Optional. The depth of lineage. + lineageWidth: number, # Optional. The width of lineage. + includeParent: boolean, # Optional. True to return the parent of the base entity. + childrenCount: number, # Optional. The number of children node. + lineageDirection: "INPUT" | "OUTPUT" | "BOTH", # Optional. The enum of lineage direction. + parentRelations: [ + { + childEntityId: string, # Optional. The GUID of child entity. + relationshipId: string, # Optional. The GUID of relationship. + parentEntityId: string, # Optional. The GUID of parent entity. + } + ], # Optional. An array of parentRelations relations. + relations: [ + { + fromEntityId: string, # Optional. The GUID of from-entity. + relationshipId: string, # Optional. The GUID of relationship. + toEntityId: string, # Optional. The GUID of to-entity. + } + ], # Optional. An array of lineage relations. +} + + + + + + +This sample shows how to call NextPageLineageAsync with required parameters and parse the result. +", credential); + +Response response = await client.NextPageLineageAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call NextPageLineageAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.NextPageLineageAsync("", "", true, 1234, 1234); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("baseEntityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("widthCounts").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("lineageDepth").ToString()); +Console.WriteLine(result.GetProperty("lineageWidth").ToString()); +Console.WriteLine(result.GetProperty("includeParent").ToString()); +Console.WriteLine(result.GetProperty("childrenCount").ToString()); +Console.WriteLine(result.GetProperty("lineageDirection").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("childEntityId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("parentEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("fromEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("toEntityId").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasLineageInfo: +{ + baseEntityGuid: string, # Optional. The GUID of the base entity. + guidEntityMap: Dictionary<string, AtlasEntityHeader>, # Optional. The GUID entity map. + widthCounts: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The entity count in specific direction. + lineageDepth: number, # Optional. The depth of lineage. + lineageWidth: number, # Optional. The width of lineage. + includeParent: boolean, # Optional. True to return the parent of the base entity. + childrenCount: number, # Optional. The number of children node. + lineageDirection: "INPUT" | "OUTPUT" | "BOTH", # Optional. The enum of lineage direction. + parentRelations: [ + { + childEntityId: string, # Optional. The GUID of child entity. + relationshipId: string, # Optional. The GUID of relationship. + parentEntityId: string, # Optional. The GUID of parent entity. + } + ], # Optional. An array of parentRelations relations. + relations: [ + { + fromEntityId: string, # Optional. The GUID of from-entity. + relationshipId: string, # Optional. The GUID of relationship. + toEntityId: string, # Optional. The GUID of to-entity. + } + ], # Optional. An array of lineage relations. +} + + + + + + +This sample shows how to call NextPageLineage with required parameters and parse the result. +", credential); + +Response response = client.NextPageLineage("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call NextPageLineage with all parameters, and how to parse the result. +", credential); + +Response response = client.NextPageLineage("", "", true, 1234, 1234); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("baseEntityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("widthCounts").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("lineageDepth").ToString()); +Console.WriteLine(result.GetProperty("lineageWidth").ToString()); +Console.WriteLine(result.GetProperty("includeParent").ToString()); +Console.WriteLine(result.GetProperty("childrenCount").ToString()); +Console.WriteLine(result.GetProperty("lineageDirection").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("childEntityId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("parentEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("fromEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("toEntityId").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasLineageInfo: +{ + baseEntityGuid: string, # Optional. The GUID of the base entity. + guidEntityMap: Dictionary<string, AtlasEntityHeader>, # Optional. The GUID entity map. + widthCounts: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The entity count in specific direction. + lineageDepth: number, # Optional. The depth of lineage. + lineageWidth: number, # Optional. The width of lineage. + includeParent: boolean, # Optional. True to return the parent of the base entity. + childrenCount: number, # Optional. The number of children node. + lineageDirection: "INPUT" | "OUTPUT" | "BOTH", # Optional. The enum of lineage direction. + parentRelations: [ + { + childEntityId: string, # Optional. The GUID of child entity. + relationshipId: string, # Optional. The GUID of relationship. + parentEntityId: string, # Optional. The GUID of parent entity. + } + ], # Optional. An array of parentRelations relations. + relations: [ + { + fromEntityId: string, # Optional. The GUID of from-entity. + relationshipId: string, # Optional. The GUID of relationship. + toEntityId: string, # Optional. The GUID of to-entity. + } + ], # Optional. An array of lineage relations. +} + + + + + + +This sample shows how to call GetLineageByUniqueAttributeAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetLineageByUniqueAttributeAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetLineageByUniqueAttributeAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetLineageByUniqueAttributeAsync("", "", 1234, 1234, true, true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("baseEntityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("widthCounts").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("lineageDepth").ToString()); +Console.WriteLine(result.GetProperty("lineageWidth").ToString()); +Console.WriteLine(result.GetProperty("includeParent").ToString()); +Console.WriteLine(result.GetProperty("childrenCount").ToString()); +Console.WriteLine(result.GetProperty("lineageDirection").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("childEntityId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("parentEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("fromEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("toEntityId").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasLineageInfo: +{ + baseEntityGuid: string, # Optional. The GUID of the base entity. + guidEntityMap: Dictionary<string, AtlasEntityHeader>, # Optional. The GUID entity map. + widthCounts: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The entity count in specific direction. + lineageDepth: number, # Optional. The depth of lineage. + lineageWidth: number, # Optional. The width of lineage. + includeParent: boolean, # Optional. True to return the parent of the base entity. + childrenCount: number, # Optional. The number of children node. + lineageDirection: "INPUT" | "OUTPUT" | "BOTH", # Optional. The enum of lineage direction. + parentRelations: [ + { + childEntityId: string, # Optional. The GUID of child entity. + relationshipId: string, # Optional. The GUID of relationship. + parentEntityId: string, # Optional. The GUID of parent entity. + } + ], # Optional. An array of parentRelations relations. + relations: [ + { + fromEntityId: string, # Optional. The GUID of from-entity. + relationshipId: string, # Optional. The GUID of relationship. + toEntityId: string, # Optional. The GUID of to-entity. + } + ], # Optional. An array of lineage relations. +} + + + + + + +This sample shows how to call GetLineageByUniqueAttribute with required parameters and parse the result. +", credential); + +Response response = client.GetLineageByUniqueAttribute("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetLineageByUniqueAttribute with all parameters, and how to parse the result. +", credential); + +Response response = client.GetLineageByUniqueAttribute("", "", 1234, 1234, true, true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("baseEntityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("guidEntityMap").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("widthCounts").GetProperty("").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("lineageDepth").ToString()); +Console.WriteLine(result.GetProperty("lineageWidth").ToString()); +Console.WriteLine(result.GetProperty("includeParent").ToString()); +Console.WriteLine(result.GetProperty("childrenCount").ToString()); +Console.WriteLine(result.GetProperty("lineageDirection").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("childEntityId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("parentRelations")[0].GetProperty("parentEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("fromEntityId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("relationshipId").ToString()); +Console.WriteLine(result.GetProperty("relations")[0].GetProperty("toEntityId").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasLineageInfo: +{ + baseEntityGuid: string, # Optional. The GUID of the base entity. + guidEntityMap: Dictionary<string, AtlasEntityHeader>, # Optional. The GUID entity map. + widthCounts: Dictionary<string, Dictionary<string, AnyObject>>, # Optional. The entity count in specific direction. + lineageDepth: number, # Optional. The depth of lineage. + lineageWidth: number, # Optional. The width of lineage. + includeParent: boolean, # Optional. True to return the parent of the base entity. + childrenCount: number, # Optional. The number of children node. + lineageDirection: "INPUT" | "OUTPUT" | "BOTH", # Optional. The enum of lineage direction. + parentRelations: [ + { + childEntityId: string, # Optional. The GUID of child entity. + relationshipId: string, # Optional. The GUID of relationship. + parentEntityId: string, # Optional. The GUID of parent entity. + } + ], # Optional. An array of parentRelations relations. + relations: [ + { + fromEntityId: string, # Optional. The GUID of from-entity. + relationshipId: string, # Optional. The GUID of relationship. + toEntityId: string, # Optional. The GUID of to-entity. + } + ], # Optional. An array of lineage relations. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/MetadataPolicyClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/MetadataPolicyClient.xml new file mode 100644 index 000000000000..31f41affb37a --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/MetadataPolicyClient.xml @@ -0,0 +1,661 @@ + + + + + +This sample shows how to call UpdateAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.UpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + name = "", + id = "", + version = 1234, + properties = new { + description = "", + decisionRules = new[] { + new { + effect = "Deny", + dnfCondition = new[] { + new[] { + new { + attributeName = "", + attributeValueIncludes = "", + attributeValueIncludedIn = new[] { + "" + }, + attributeValueExcludes = "", + attributeValueExcludedIn = new[] { + "" + }, + } + } + }, + } + }, + attributeRules = new[] { + new { + id = "", + name = "", + dnfCondition = new[] { + new[] { + new { + attributeName = "", + attributeValueIncludes = "", + attributeValueIncludedIn = new[] { + "" + }, + attributeValueExcludes = "", + attributeValueExcludedIn = new[] { + "" + }, + } + } + }, + } + }, + collection = new { + type = "", + referenceName = "", + }, + parentCollectionName = "", + }, +}; + +Response response = await client.UpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("effect").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("referenceName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("parentCollectionName").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for MetadataPolicy: +{ + name: string, # Optional. The name of policy + id: string, # Optional. The id of policy + version: number, # Optional. The version of policy + properties: { + description: string, # Optional. The description of policy + decisionRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + effect: "Deny" | "Permit", # Optional. The effect for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The DecisionRules of policy + attributeRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + id: string, # Optional. The id for rule + name: string, # Optional. The name for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The AttributeRules of policy + collection: { + type: string, # Optional. The type of reference + referenceName: string, # Optional. The name of reference + }, # Optional. The collection reference for a policy + parentCollectionName: string, # Optional. The parent collection of the policy + }, # Optional. +} + + +Response Body: + +Schema for MetadataPolicy: +{ + name: string, # Optional. The name of policy + id: string, # Optional. The id of policy + version: number, # Optional. The version of policy + properties: { + description: string, # Optional. The description of policy + decisionRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + effect: "Deny" | "Permit", # Optional. The effect for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The DecisionRules of policy + attributeRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + id: string, # Optional. The id for rule + name: string, # Optional. The name for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The AttributeRules of policy + collection: { + type: string, # Optional. The type of reference + referenceName: string, # Optional. The name of reference + }, # Optional. The collection reference for a policy + parentCollectionName: string, # Optional. The parent collection of the policy + }, # Optional. +} + + + + + + +This sample shows how to call Update with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.Update("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call Update with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + name = "", + id = "", + version = 1234, + properties = new { + description = "", + decisionRules = new[] { + new { + effect = "Deny", + dnfCondition = new[] { + new[] { + new { + attributeName = "", + attributeValueIncludes = "", + attributeValueIncludedIn = new[] { + "" + }, + attributeValueExcludes = "", + attributeValueExcludedIn = new[] { + "" + }, + } + } + }, + } + }, + attributeRules = new[] { + new { + id = "", + name = "", + dnfCondition = new[] { + new[] { + new { + attributeName = "", + attributeValueIncludes = "", + attributeValueIncludedIn = new[] { + "" + }, + attributeValueExcludes = "", + attributeValueExcludedIn = new[] { + "" + }, + } + } + }, + } + }, + collection = new { + type = "", + referenceName = "", + }, + parentCollectionName = "", + }, +}; + +Response response = client.Update("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("effect").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("referenceName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("parentCollectionName").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for MetadataPolicy: +{ + name: string, # Optional. The name of policy + id: string, # Optional. The id of policy + version: number, # Optional. The version of policy + properties: { + description: string, # Optional. The description of policy + decisionRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + effect: "Deny" | "Permit", # Optional. The effect for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The DecisionRules of policy + attributeRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + id: string, # Optional. The id for rule + name: string, # Optional. The name for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The AttributeRules of policy + collection: { + type: string, # Optional. The type of reference + referenceName: string, # Optional. The name of reference + }, # Optional. The collection reference for a policy + parentCollectionName: string, # Optional. The parent collection of the policy + }, # Optional. +} + + +Response Body: + +Schema for MetadataPolicy: +{ + name: string, # Optional. The name of policy + id: string, # Optional. The id of policy + version: number, # Optional. The version of policy + properties: { + description: string, # Optional. The description of policy + decisionRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + effect: "Deny" | "Permit", # Optional. The effect for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The DecisionRules of policy + attributeRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + id: string, # Optional. The id for rule + name: string, # Optional. The name for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The AttributeRules of policy + collection: { + type: string, # Optional. The type of reference + referenceName: string, # Optional. The name of reference + }, # Optional. The collection reference for a policy + parentCollectionName: string, # Optional. The parent collection of the policy + }, # Optional. +} + + + + + + +This sample shows how to call GetMetadataPolicyAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetMetadataPolicyAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("effect").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("referenceName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("parentCollectionName").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for MetadataPolicy: +{ + name: string, # Optional. The name of policy + id: string, # Optional. The id of policy + version: number, # Optional. The version of policy + properties: { + description: string, # Optional. The description of policy + decisionRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + effect: "Deny" | "Permit", # Optional. The effect for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The DecisionRules of policy + attributeRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + id: string, # Optional. The id for rule + name: string, # Optional. The name for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The AttributeRules of policy + collection: { + type: string, # Optional. The type of reference + referenceName: string, # Optional. The name of reference + }, # Optional. The collection reference for a policy + parentCollectionName: string, # Optional. The parent collection of the policy + }, # Optional. +} + + + + + + +This sample shows how to call GetMetadataPolicy with required parameters and parse the result. +", credential); + +Response response = client.GetMetadataPolicy(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("effect").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("referenceName").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("parentCollectionName").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for MetadataPolicy: +{ + name: string, # Optional. The name of policy + id: string, # Optional. The id of policy + version: number, # Optional. The version of policy + properties: { + description: string, # Optional. The description of policy + decisionRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + effect: "Deny" | "Permit", # Optional. The effect for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The DecisionRules of policy + attributeRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + id: string, # Optional. The id for rule + name: string, # Optional. The name for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The AttributeRules of policy + collection: { + type: string, # Optional. The type of reference + referenceName: string, # Optional. The name of reference + }, # Optional. The collection reference for a policy + parentCollectionName: string, # Optional. The parent collection of the policy + }, # Optional. +} + + + + + + +This sample shows how to call GetMetadataPoliciesAsync and parse the result. +", credential); + +await foreach (var data in client.GetMetadataPoliciesAsync()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.ToString()); +} +]]> +This sample shows how to call GetMetadataPoliciesAsync with all parameters, and how to parse the result. +", credential); + +await foreach (var data in client.GetMetadataPoliciesAsync("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("effect").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("type").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("referenceName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("parentCollectionName").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for MetadataPolicyListValues: +{ + name: string, # Optional. The name of policy + id: string, # Optional. The id of policy + version: number, # Optional. The version of policy + properties: { + description: string, # Optional. The description of policy + decisionRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + effect: "Deny" | "Permit", # Optional. The effect for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The DecisionRules of policy + attributeRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + id: string, # Optional. The id for rule + name: string, # Optional. The name for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The AttributeRules of policy + collection: { + type: string, # Optional. The type of reference + referenceName: string, # Optional. The name of reference + }, # Optional. The collection reference for a policy + parentCollectionName: string, # Optional. The parent collection of the policy + }, # Optional. +} + + + + + + +This sample shows how to call GetMetadataPolicies and parse the result. +", credential); + +foreach (var data in client.GetMetadataPolicies()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.ToString()); +} +]]> +This sample shows how to call GetMetadataPolicies with all parameters, and how to parse the result. +", credential); + +foreach (var data in client.GetMetadataPolicies("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("effect").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("decisionRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("attributeRules")[0].GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("type").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("collection").GetProperty("referenceName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("parentCollectionName").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for MetadataPolicyListValues: +{ + name: string, # Optional. The name of policy + id: string, # Optional. The id of policy + version: number, # Optional. The version of policy + properties: { + description: string, # Optional. The description of policy + decisionRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + effect: "Deny" | "Permit", # Optional. The effect for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The DecisionRules of policy + attributeRules: [ + { + kind: "decisionrule" | "attributerule", # Optional. The kind of rule + id: string, # Optional. The id for rule + name: string, # Optional. The name for rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + } + ], # Optional. The AttributeRules of policy + collection: { + type: string, # Optional. The type of reference + referenceName: string, # Optional. The name of reference + }, # Optional. The collection reference for a policy + parentCollectionName: string, # Optional. The parent collection of the policy + }, # Optional. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/MetadataRolesClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/MetadataRolesClient.xml new file mode 100644 index 000000000000..b5861afe1b59 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/MetadataRolesClient.xml @@ -0,0 +1,115 @@ + + + + + +This sample shows how to call GetMetadataRolesAsync and parse the result. +", credential); + +await foreach (var data in client.GetMetadataRolesAsync()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("type").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("provisioningState").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("roleType").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("friendlyName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("version").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for MetadataRoleListValues: +{ + id: string, # Optional. The Id of role + name: string, # Optional. The name of role + type: string, # Optional. The type of role + properties: { + provisioningState: string, # Optional. The provisioningState of role + roleType: string, # Optional. The type of role + friendlyName: string, # Optional. The friendly name of role + description: string, # Optional. The description of role + cnfCondition: [AttributeMatcher[]], # Optional. The cnf Condition for a rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + version: number, # Optional. The version of role + }, # Optional. +} + + + + + + +This sample shows how to call GetMetadataRoles and parse the result. +", credential); + +foreach (var data in client.GetMetadataRoles()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("type").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("provisioningState").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("roleType").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("friendlyName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("description").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("cnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeName").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeValueIncludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludes").ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("dnfCondition")[0][0].GetProperty("attributeValueExcludedIn")[0].ToString()); + Console.WriteLine(result.GetProperty("properties").GetProperty("version").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for MetadataRoleListValues: +{ + id: string, # Optional. The Id of role + name: string, # Optional. The name of role + type: string, # Optional. The type of role + properties: { + provisioningState: string, # Optional. The provisioningState of role + roleType: string, # Optional. The type of role + friendlyName: string, # Optional. The friendly name of role + description: string, # Optional. The description of role + cnfCondition: [AttributeMatcher[]], # Optional. The cnf Condition for a rule + dnfCondition: [AttributeMatcher[]], # Optional. The dnf Condition for a rule + version: number, # Optional. The version of role + }, # Optional. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/PolicyElementsClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/PolicyElementsClient.xml new file mode 100644 index 000000000000..ff18551fb645 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/PolicyElementsClient.xml @@ -0,0 +1,101 @@ + + + + + +This sample shows how to call GetPolicyElementsAsync with required parameters and parse the result. +", credential); + +await foreach (var data in client.GetPolicyElementsAsync("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.ToString()); +} +]]> +This sample shows how to call GetPolicyElementsAsync with all parameters, and how to parse the result. +", credential); + +await foreach (var data in client.GetPolicyElementsAsync("", "")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("scopes")[0].ToString()); + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("updatedAt").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("elementJson").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for PolicyResponseElements: +{ + id: string, # Optional. Id of the policy element. + scopes: [string], # Optional. List of scopes included in this policy. + kind: string, # Optional. Kind of policy element. Possible values: policy/policySet/attributeRule. + updatedAt: string, # Optional. Time at which this policy element is last updated. + version: number, # Optional. Current version of policy element. This is auto incremented with each change. Starts with 1. + elementJson: string, # Optional. Policy element serialized json payload. +} + + + + + + +This sample shows how to call GetPolicyElements with required parameters and parse the result. +", credential); + +foreach (var data in client.GetPolicyElements("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.ToString()); +} +]]> +This sample shows how to call GetPolicyElements with all parameters, and how to parse the result. +", credential); + +foreach (var data in client.GetPolicyElements("", "")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("scopes")[0].ToString()); + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("updatedAt").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("elementJson").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for PolicyResponseElements: +{ + id: string, # Optional. Id of the policy element. + scopes: [string], # Optional. List of scopes included in this policy. + kind: string, # Optional. Kind of policy element. Possible values: policy/policySet/attributeRule. + updatedAt: string, # Optional. Time at which this policy element is last updated. + version: number, # Optional. Current version of policy element. This is auto incremented with each change. Starts with 1. + elementJson: string, # Optional. Policy element serialized json payload. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/PolicyEventsClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/PolicyEventsClient.xml new file mode 100644 index 000000000000..bf2c6183d641 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/PolicyEventsClient.xml @@ -0,0 +1,97 @@ + + + + + +This sample shows how to call GetPolicyEventsAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetPolicyEventsAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("syncToken").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("scopes")[0].ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("updatedAt").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("elementJson").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("eventType").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for PolicyEventsResponse: +{ + count: number, # Optional. Count of elements in payload. + syncToken: string, # Optional. Sync token represents the checkpoint upto which this policy elements list is updated. Client need to store this value and keep updating if PDS returns a new value. Call this API with the most recent value received. + elements: [ + { + id: string, # Optional. Id of the policy element. + scopes: [string], # Optional. List of scopes included in this policy. + kind: string, # Optional. Kind of policy element. Possible values: policy/policySet/attributeRule. + updatedAt: string, # Optional. Time at which this policy element is last updated. + version: number, # Optional. Current version of policy element. This is auto incremented with each change. Starts with 1. + elementJson: string, # Optional. Policy element serialized json payload. + eventType: string, # Optional. Type of event. Format: <RP-Name>/<Resource-Type>/<Action>. For Example: Microsoft.Purview/PolicyElements/Delete. + } + ], # Optional. List of created/updated policy elements. +} + + + + + + +This sample shows how to call GetPolicyEvents with required parameters and parse the result. +", credential); + +Response response = client.GetPolicyEvents("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("count").ToString()); +Console.WriteLine(result.GetProperty("syncToken").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("scopes")[0].ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("updatedAt").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("elementJson").ToString()); +Console.WriteLine(result.GetProperty("elements")[0].GetProperty("eventType").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for PolicyEventsResponse: +{ + count: number, # Optional. Count of elements in payload. + syncToken: string, # Optional. Sync token represents the checkpoint upto which this policy elements list is updated. Client need to store this value and keep updating if PDS returns a new value. Call this API with the most recent value received. + elements: [ + { + id: string, # Optional. Id of the policy element. + scopes: [string], # Optional. List of scopes included in this policy. + kind: string, # Optional. Kind of policy element. Possible values: policy/policySet/attributeRule. + updatedAt: string, # Optional. Time at which this policy element is last updated. + version: number, # Optional. Current version of policy element. This is auto incremented with each change. Starts with 1. + elementJson: string, # Optional. Policy element serialized json payload. + eventType: string, # Optional. Type of event. Format: <RP-Name>/<Resource-Type>/<Action>. For Example: Microsoft.Purview/PolicyElements/Delete. + } + ], # Optional. List of created/updated policy elements. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/RelationshipClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/RelationshipClient.xml new file mode 100644 index 000000000000..978ace4003eb --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/RelationshipClient.xml @@ -0,0 +1,977 @@ + + + + + +This sample shows how to call CreateAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateAsync with all request content, and how to parse the result. +", credential); + +var data = new { + createTime = 123.45f, + createdBy = "", + end1 = new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + }, + end2 = new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + }, + guid = "", + homeId = "", + label = " + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasRelationship: +{ + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + +Response Body: + +Schema for AtlasRelationship: +{ + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call Create and parse the result. +", credential); + +var data = new {}; + +Response response = client.Create(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call Create with all request content, and how to parse the result. +", credential); + +var data = new { + createTime = 123.45f, + createdBy = "", + end1 = new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + }, + end2 = new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + }, + guid = "", + homeId = "", + label = " + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasRelationship: +{ + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + +Response Body: + +Schema for AtlasRelationship: +{ + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call UpdateAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.UpdateAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateAsync with all request content, and how to parse the result. +", credential); + +var data = new { + createTime = 123.45f, + createdBy = "", + end1 = new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + }, + end2 = new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + }, + guid = "", + homeId = "", + label = " + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasRelationship: +{ + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + +Response Body: + +Schema for AtlasRelationship: +{ + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call Update and parse the result. +", credential); + +var data = new {}; + +Response response = client.Update(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call Update with all request content, and how to parse the result. +", credential); + +var data = new { + createTime = 123.45f, + createdBy = "", + end1 = new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + }, + end2 = new { + displayText = "", + entityStatus = "ACTIVE", + relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, + relationshipGuid = "", + relationshipStatus = "ACTIVE", + guid = "", + typeName = "", + uniqueAttributes = new { + key = new {}, + }, + }, + guid = "", + homeId = "", + label = " + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasRelationship: +{ + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + +Response Body: + +Schema for AtlasRelationship: +{ + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetRelationshipAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetRelationshipAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetRelationshipAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetRelationshipAsync("", true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end1").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end1").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end1").GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end2").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end2").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end2").GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("label").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelationshipWithExtInfo: +{ + referredEntities: Dictionary<string, AtlasEntityHeader>, # Optional. The referred entity header. + relationship: { + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Atlas relationship instance. +} + + + + + + +This sample shows how to call GetRelationship with required parameters and parse the result. +", credential); + +Response response = client.GetRelationship(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetRelationship with all parameters, and how to parse the result. +", credential); + +Response response = client.GetRelationship("", true); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classificationNames")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("entityStatus").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("removePropagationsOnEntityDelete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("validityPeriods")[0].GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("sourceDetails").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("classifications")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("isIncomplete").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("labels")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meaningNames")[0].ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("confidence").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("displayText").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("expression").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("relationGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("source").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("steward").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("meanings")[0].GetProperty("termGuid").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("referredEntities").GetProperty("").GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end1").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end1").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end1").GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end2").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end2").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("end2").GetProperty("uniqueAttributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("homeId").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("label").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("provenanceType").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("attributes").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationship").GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelationshipWithExtInfo: +{ + referredEntities: Dictionary<string, AtlasEntityHeader>, # Optional. The referred entity header. + relationship: { + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + end1: { + guid: string, # Optional. The GUID of the object. + typeName: string, # Optional. The name of the type. + uniqueAttributes: Dictionary<string, AnyObject>, # Optional. The unique attributes of the object. + }, # Optional. Reference to an object-instance of an Atlas type - like entity. + end2: AtlasObjectId, # Optional. Reference to an object-instance of an Atlas type - like entity. + guid: string, # Optional. The GUID of the relationship. + homeId: string, # Optional. The home ID of the relationship. + label: string, # Optional. The label of the relationship. + provenanceType: number, # Optional. Used to record the provenance of an instance of an entity or relationship + status: "ACTIVE" | "DELETED", # Optional. The enum of relationship status. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the relationship. + attributes: Dictionary<string, AnyObject>, # Optional. The attributes of the struct. + typeName: string, # Optional. The name of the type. + lastModifiedTS: string, # Optional. ETag for concurrency control. + }, # Optional. Atlas relationship instance. +} + + + + + + +This sample shows how to call DeleteAsync with required parameters. +", credential); + +Response response = await client.DeleteAsync(""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call Delete with required parameters. +", credential); + +Response response = client.Delete(""); +Console.WriteLine(response.Status); +]]> + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScanResultClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScanResultClient.xml new file mode 100644 index 000000000000..c9ecc14b5211 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScanResultClient.xml @@ -0,0 +1,405 @@ + + + + + +This sample shows how to call RunScanAsync with required parameters and parse the result. +", credential); + +Response response = await client.RunScanAsync("", "", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call RunScanAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.RunScanAsync("", "", "", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("scanResultId").ToString()); +Console.WriteLine(result.GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for OperationResponse: +{ + scanResultId: Guid, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + status: "Accepted" | "InProgress" | "TransientFailure" | "Succeeded" | "Failed" | "Canceled", # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorInfo], # Optional. + } + ], # Optional. + }, # Optional. +} + + + + + + +This sample shows how to call RunScan with required parameters and parse the result. +", credential); + +Response response = client.RunScan("", "", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call RunScan with all parameters, and how to parse the result. +", credential); + +Response response = client.RunScan("", "", "", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("scanResultId").ToString()); +Console.WriteLine(result.GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for OperationResponse: +{ + scanResultId: Guid, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + status: "Accepted" | "InProgress" | "TransientFailure" | "Succeeded" | "Failed" | "Canceled", # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorInfo], # Optional. + } + ], # Optional. + }, # Optional. +} + + + + + + +This sample shows how to call CancelScanAsync with required parameters and parse the result. +", credential); + +Response response = await client.CancelScanAsync("", "", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("scanResultId").ToString()); +Console.WriteLine(result.GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for OperationResponse: +{ + scanResultId: Guid, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + status: "Accepted" | "InProgress" | "TransientFailure" | "Succeeded" | "Failed" | "Canceled", # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorInfo], # Optional. + } + ], # Optional. + }, # Optional. +} + + + + + + +This sample shows how to call CancelScan with required parameters and parse the result. +", credential); + +Response response = client.CancelScan("", "", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("scanResultId").ToString()); +Console.WriteLine(result.GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for OperationResponse: +{ + scanResultId: Guid, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + status: "Accepted" | "InProgress" | "TransientFailure" | "Succeeded" | "Failed" | "Canceled", # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorInfo], # Optional. + } + ], # Optional. + }, # Optional. +} + + + + + + +This sample shows how to call GetScanHistoriesAsync with required parameters and parse the result. +", credential); + +await foreach (var data in client.GetScanHistoriesAsync("", "")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("parentId").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("resourceId").ToString()); + Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("assetsDiscovered").ToString()); + Console.WriteLine(result.GetProperty("assetsClassified").ToString()); + Console.WriteLine(result.GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); + Console.WriteLine(result.GetProperty("startTime").ToString()); + Console.WriteLine(result.GetProperty("queuedTime").ToString()); + Console.WriteLine(result.GetProperty("pipelineStartTime").ToString()); + Console.WriteLine(result.GetProperty("endTime").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetVersion").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("scanLevelType").ToString()); + Console.WriteLine(result.GetProperty("errorMessage").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("runType").ToString()); + Console.WriteLine(result.GetProperty("dataSourceType").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ScanHistoryListValue: +{ + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. +} + + + + + + +This sample shows how to call GetScanHistories with required parameters and parse the result. +", credential); + +foreach (var data in client.GetScanHistories("", "")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("parentId").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("resourceId").ToString()); + Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("assetsDiscovered").ToString()); + Console.WriteLine(result.GetProperty("assetsClassified").ToString()); + Console.WriteLine(result.GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); + Console.WriteLine(result.GetProperty("startTime").ToString()); + Console.WriteLine(result.GetProperty("queuedTime").ToString()); + Console.WriteLine(result.GetProperty("pipelineStartTime").ToString()); + Console.WriteLine(result.GetProperty("endTime").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetVersion").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("scanLevelType").ToString()); + Console.WriteLine(result.GetProperty("errorMessage").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("runType").ToString()); + Console.WriteLine(result.GetProperty("dataSourceType").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ScanHistoryListValue: +{ + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScanRulesetsClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScanRulesetsClient.xml new file mode 100644 index 000000000000..bfe809eaa670 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScanRulesetsClient.xml @@ -0,0 +1,4475 @@ + + + + + +This sample shows how to call GetScanRulesetAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetScanRulesetAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionScanRulesetSchema for AzureSubscriptionScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupScanRulesetSchema for AzureResourceGroupScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceScanRulesetSchema for AzureSynapseWorkspaceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseScanRulesetSchema for AzureSynapseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1ScanRulesetSchema for AdlsGen1ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2ScanRulesetSchema for AdlsGen2ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountScanRulesetSchema for AmazonAccountScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3ScanRulesetSchema for AmazonS3ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlScanRulesetSchema for AmazonSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbScanRulesetSchema for AzureCosmosDbScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerScanRulesetSchema for AzureDataExplorerScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceScanRulesetSchema for AzureFileServiceScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseScanRulesetSchema for AzureSqlDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlScanRulesetSchema for AmazonPostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlScanRulesetSchema for AzurePostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseScanRulesetSchema for SqlServerDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceScanRulesetSchema for AzureSqlDatabaseManagedInstanceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseScanRulesetSchema for AzureSqlDataWarehouseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlScanRulesetSchema for AzureMySqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageScanRulesetSchema for AzureStorageScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataScanRulesetSchema for TeradataScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Teradata, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleScanRulesetSchema for OracleScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Oracle, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaScanRulesetSchema for SapS4HanaScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccScanRulesetSchema for SapEccScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapEcc, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIScanRulesetSchema for PowerBIScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: PowerBI, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetScanRuleset with required parameters and parse the result. +", credential); + +Response response = client.GetScanRuleset(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionScanRulesetSchema for AzureSubscriptionScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupScanRulesetSchema for AzureResourceGroupScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceScanRulesetSchema for AzureSynapseWorkspaceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseScanRulesetSchema for AzureSynapseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1ScanRulesetSchema for AdlsGen1ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2ScanRulesetSchema for AdlsGen2ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountScanRulesetSchema for AmazonAccountScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3ScanRulesetSchema for AmazonS3ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlScanRulesetSchema for AmazonSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbScanRulesetSchema for AzureCosmosDbScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerScanRulesetSchema for AzureDataExplorerScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceScanRulesetSchema for AzureFileServiceScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseScanRulesetSchema for AzureSqlDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlScanRulesetSchema for AmazonPostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlScanRulesetSchema for AzurePostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseScanRulesetSchema for SqlServerDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceScanRulesetSchema for AzureSqlDatabaseManagedInstanceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseScanRulesetSchema for AzureSqlDataWarehouseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlScanRulesetSchema for AzureMySqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageScanRulesetSchema for AzureStorageScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataScanRulesetSchema for TeradataScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Teradata, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleScanRulesetSchema for OracleScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Oracle, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaScanRulesetSchema for SapS4HanaScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccScanRulesetSchema for SapEccScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapEcc, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIScanRulesetSchema for PowerBIScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: PowerBI, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call CreateOrUpdateAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + kind = "AzureSubscription", +}; + +Response response = await client.CreateOrUpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + description = "", + excludedSystemClassifications = new[] { + "" + }, + includedCustomClassificationRuleNames = new[] { + "" + }, + }, + kind = "AzureSubscription", + scanRulesetType = "Custom", +}; + +Response response = await client.CreateOrUpdateAsync("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionScanRulesetSchema for AzureSubscriptionScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupScanRulesetSchema for AzureResourceGroupScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceScanRulesetSchema for AzureSynapseWorkspaceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseScanRulesetSchema for AzureSynapseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1ScanRulesetSchema for AdlsGen1ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2ScanRulesetSchema for AdlsGen2ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountScanRulesetSchema for AmazonAccountScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3ScanRulesetSchema for AmazonS3ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlScanRulesetSchema for AmazonSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbScanRulesetSchema for AzureCosmosDbScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerScanRulesetSchema for AzureDataExplorerScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceScanRulesetSchema for AzureFileServiceScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseScanRulesetSchema for AzureSqlDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlScanRulesetSchema for AmazonPostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlScanRulesetSchema for AzurePostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseScanRulesetSchema for SqlServerDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceScanRulesetSchema for AzureSqlDatabaseManagedInstanceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseScanRulesetSchema for AzureSqlDataWarehouseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlScanRulesetSchema for AzureMySqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageScanRulesetSchema for AzureStorageScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataScanRulesetSchema for TeradataScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Teradata, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleScanRulesetSchema for OracleScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Oracle, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaScanRulesetSchema for SapS4HanaScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccScanRulesetSchema for SapEccScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapEcc, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIScanRulesetSchema for PowerBIScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: PowerBI, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionScanRulesetSchema for AzureSubscriptionScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupScanRulesetSchema for AzureResourceGroupScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceScanRulesetSchema for AzureSynapseWorkspaceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseScanRulesetSchema for AzureSynapseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1ScanRulesetSchema for AdlsGen1ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2ScanRulesetSchema for AdlsGen2ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountScanRulesetSchema for AmazonAccountScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3ScanRulesetSchema for AmazonS3ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlScanRulesetSchema for AmazonSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbScanRulesetSchema for AzureCosmosDbScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerScanRulesetSchema for AzureDataExplorerScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceScanRulesetSchema for AzureFileServiceScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseScanRulesetSchema for AzureSqlDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlScanRulesetSchema for AmazonPostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlScanRulesetSchema for AzurePostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseScanRulesetSchema for SqlServerDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceScanRulesetSchema for AzureSqlDatabaseManagedInstanceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseScanRulesetSchema for AzureSqlDataWarehouseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlScanRulesetSchema for AzureMySqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageScanRulesetSchema for AzureStorageScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataScanRulesetSchema for TeradataScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Teradata, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleScanRulesetSchema for OracleScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Oracle, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaScanRulesetSchema for SapS4HanaScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccScanRulesetSchema for SapEccScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapEcc, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIScanRulesetSchema for PowerBIScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: PowerBI, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call CreateOrUpdate with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + kind = "AzureSubscription", +}; + +Response response = client.CreateOrUpdate("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdate with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + description = "", + excludedSystemClassifications = new[] { + "" + }, + includedCustomClassificationRuleNames = new[] { + "" + }, + }, + kind = "AzureSubscription", + scanRulesetType = "Custom", +}; + +Response response = client.CreateOrUpdate("", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionScanRulesetSchema for AzureSubscriptionScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupScanRulesetSchema for AzureResourceGroupScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceScanRulesetSchema for AzureSynapseWorkspaceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseScanRulesetSchema for AzureSynapseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1ScanRulesetSchema for AdlsGen1ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2ScanRulesetSchema for AdlsGen2ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountScanRulesetSchema for AmazonAccountScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3ScanRulesetSchema for AmazonS3ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlScanRulesetSchema for AmazonSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbScanRulesetSchema for AzureCosmosDbScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerScanRulesetSchema for AzureDataExplorerScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceScanRulesetSchema for AzureFileServiceScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseScanRulesetSchema for AzureSqlDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlScanRulesetSchema for AmazonPostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlScanRulesetSchema for AzurePostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseScanRulesetSchema for SqlServerDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceScanRulesetSchema for AzureSqlDatabaseManagedInstanceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseScanRulesetSchema for AzureSqlDataWarehouseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlScanRulesetSchema for AzureMySqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageScanRulesetSchema for AzureStorageScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataScanRulesetSchema for TeradataScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Teradata, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleScanRulesetSchema for OracleScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Oracle, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaScanRulesetSchema for SapS4HanaScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccScanRulesetSchema for SapEccScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapEcc, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIScanRulesetSchema for PowerBIScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: PowerBI, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionScanRulesetSchema for AzureSubscriptionScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupScanRulesetSchema for AzureResourceGroupScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceScanRulesetSchema for AzureSynapseWorkspaceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseScanRulesetSchema for AzureSynapseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1ScanRulesetSchema for AdlsGen1ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2ScanRulesetSchema for AdlsGen2ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountScanRulesetSchema for AmazonAccountScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3ScanRulesetSchema for AmazonS3ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlScanRulesetSchema for AmazonSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbScanRulesetSchema for AzureCosmosDbScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerScanRulesetSchema for AzureDataExplorerScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceScanRulesetSchema for AzureFileServiceScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseScanRulesetSchema for AzureSqlDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlScanRulesetSchema for AmazonPostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlScanRulesetSchema for AzurePostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseScanRulesetSchema for SqlServerDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceScanRulesetSchema for AzureSqlDatabaseManagedInstanceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseScanRulesetSchema for AzureSqlDataWarehouseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlScanRulesetSchema for AzureMySqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageScanRulesetSchema for AzureStorageScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataScanRulesetSchema for TeradataScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Teradata, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleScanRulesetSchema for OracleScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Oracle, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaScanRulesetSchema for SapS4HanaScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccScanRulesetSchema for SapEccScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapEcc, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIScanRulesetSchema for PowerBIScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: PowerBI, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call DeleteAsync with required parameters and parse the result. +", credential); + +Response response = await client.DeleteAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionScanRulesetSchema for AzureSubscriptionScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupScanRulesetSchema for AzureResourceGroupScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceScanRulesetSchema for AzureSynapseWorkspaceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseScanRulesetSchema for AzureSynapseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1ScanRulesetSchema for AdlsGen1ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2ScanRulesetSchema for AdlsGen2ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountScanRulesetSchema for AmazonAccountScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3ScanRulesetSchema for AmazonS3ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlScanRulesetSchema for AmazonSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbScanRulesetSchema for AzureCosmosDbScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerScanRulesetSchema for AzureDataExplorerScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceScanRulesetSchema for AzureFileServiceScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseScanRulesetSchema for AzureSqlDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlScanRulesetSchema for AmazonPostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlScanRulesetSchema for AzurePostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseScanRulesetSchema for SqlServerDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceScanRulesetSchema for AzureSqlDatabaseManagedInstanceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseScanRulesetSchema for AzureSqlDataWarehouseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlScanRulesetSchema for AzureMySqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageScanRulesetSchema for AzureStorageScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataScanRulesetSchema for TeradataScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Teradata, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleScanRulesetSchema for OracleScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Oracle, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaScanRulesetSchema for SapS4HanaScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccScanRulesetSchema for SapEccScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapEcc, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIScanRulesetSchema for PowerBIScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: PowerBI, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call Delete with required parameters and parse the result. +", credential); + +Response response = client.Delete(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionScanRulesetSchema for AzureSubscriptionScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSubscription, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupScanRulesetSchema for AzureResourceGroupScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureResourceGroup, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceScanRulesetSchema for AzureSynapseWorkspaceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapseWorkspace, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseScanRulesetSchema for AzureSynapseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSynapse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1ScanRulesetSchema for AdlsGen1ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen1, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2ScanRulesetSchema for AdlsGen2ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AdlsGen2, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountScanRulesetSchema for AmazonAccountScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonAccount, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3ScanRulesetSchema for AmazonS3ScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonS3, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlScanRulesetSchema for AmazonSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbScanRulesetSchema for AzureCosmosDbScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureCosmosDb, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerScanRulesetSchema for AzureDataExplorerScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureDataExplorer, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceScanRulesetSchema for AzureFileServiceScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureFileService, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseScanRulesetSchema for AzureSqlDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlScanRulesetSchema for AmazonPostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AmazonPostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlScanRulesetSchema for AzurePostgreSqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzurePostgreSql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseScanRulesetSchema for SqlServerDatabaseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SqlServerDatabase, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceScanRulesetSchema for AzureSqlDatabaseManagedInstanceScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstance, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseScanRulesetSchema for AzureSqlDataWarehouseScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureSqlDataWarehouse, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlScanRulesetSchema for AzureMySqlScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureMySql, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageScanRulesetSchema for AzureStorageScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: AzureStorage, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataScanRulesetSchema for TeradataScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Teradata, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleScanRulesetSchema for OracleScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: Oracle, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaScanRulesetSchema for SapS4HanaScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapS4Hana, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccScanRulesetSchema for SapEccScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: SapEcc, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIScanRulesetSchema for PowerBIScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: PowerBI, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetScanRulesetsAsync and parse the result. +", credential); + +await foreach (var data in client.GetScanRulesetsAsync()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ScanRulesetListValue: +{ + kind: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetScanRulesets and parse the result. +", credential); + +foreach (var data in client.GetScanRulesets()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ScanRulesetListValue: +{ + kind: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + +
+
\ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScansClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScansClient.xml new file mode 100644 index 000000000000..4115214a5cdb --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/ScansClient.xml @@ -0,0 +1,28357 @@ + + + + + +This sample shows how to call CreateOrUpdateAsync with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + kind = "AzureSubscriptionCredential", +}; + +Response response = await client.CreateOrUpdateAsync("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdateAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + resourceTypes = new { + None = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSubscription = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureResourceGroup = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSynapseWorkspace = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSynapse = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AdlsGen1 = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AdlsGen2 = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonAccount = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonS3 = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonSql = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureCosmosDb = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureDataExplorer = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureFileService = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSqlDatabase = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonPostgreSql = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzurePostgreSql = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + SqlServerDatabase = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSqlDatabaseManagedInstance = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSqlDataWarehouse = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureMySql = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureStorage = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + Teradata = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + Oracle = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + SapS4Hana = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + SapEcc = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + PowerBI = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + scanRulesetName = "", + scanRulesetType = "Custom", + collection = new { + referenceName = "", + type = "", + }, + workers = 1234, + connectedVia = new { + referenceName = "", + }, + }, + kind = "AzureSubscriptionCredential", +}; + +Response response = await client.CreateOrUpdateAsync("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionCredentialScanSchema for AzureSubscriptionCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 42 more JSON objects
AzureSubscriptionMsiScanSchema for AzureSubscriptionMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupCredentialScanSchema for AzureResourceGroupCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupMsiScanSchema for AzureResourceGroupMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceCredentialScanSchema for AzureSynapseWorkspaceCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceMsiScanSchema for AzureSynapseWorkspaceMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseCredentialScanSchema for AzureSynapseCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseMsiScanSchema for AzureSynapseMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1CredentialScanSchema for AdlsGen1CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1MsiScanSchema for AdlsGen1MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2CredentialScanSchema for AdlsGen2CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2MsiScanSchema for AdlsGen2MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountCredentialScanSchema for AmazonAccountCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccountCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3CredentialScanSchema for AmazonS3CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3RoleARNScanSchema for AmazonS3RoleARNScan: +{ + properties: { + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3RoleARN, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlCredentialScanSchema for AmazonSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbCredentialScanSchema for AzureCosmosDbCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDbCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerCredentialScanSchema for AzureDataExplorerCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerMsiScanSchema for AzureDataExplorerMsiScan: +{ + properties: { + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceCredentialScanSchema for AzureFileServiceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + shareName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileServiceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseCredentialScanSchema for AzureSqlDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseMsiScanSchema for AzureSqlDatabaseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlCredentialScanSchema for AmazonPostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlCredentialScanSchema for AzurePostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: number, # Optional. + sslMode: number, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseCredentialScanSchema for SqlServerDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceCredentialScanSchema for AzureSqlDatabaseManagedInstanceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceMsiScanSchema for AzureSqlDatabaseManagedInstanceMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseCredentialScanSchema for AzureSqlDataWarehouseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseMsiScanSchema for AzureSqlDataWarehouseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlCredentialScanSchema for AzureMySqlCredentialScan: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + databaseName: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageCredentialScanSchema for AzureStorageCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageMsiScanSchema for AzureStorageMsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataCredentialScanSchema for TeradataCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataUserPassScanSchema for TeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataTeradataUserPassScanSchema for TeradataTeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleCredentialScanSchema for OracleCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleUserPassScanSchema for OracleUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaCredentialScanSchema for SapS4HanaSapS4HanaCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaUserPassScanSchema for SapS4HanaSapS4HanaUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccCredentialScanSchema for SapEccCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccUserPassScanSchema for SapEccUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDelegatedScanSchema for PowerBIDelegatedScan: +{ + properties: { + tenant: string, # Optional. + authenticationType: string, # Optional. + clientId: string, # Optional. + userName: string, # Optional. + password: string, # Optional. + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIDelegated, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIMsiScanSchema for PowerBIMsiScan: +{ + properties: { + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionCredentialScanSchema for AzureSubscriptionCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 42 more JSON objects
AzureSubscriptionMsiScanSchema for AzureSubscriptionMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupCredentialScanSchema for AzureResourceGroupCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupMsiScanSchema for AzureResourceGroupMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceCredentialScanSchema for AzureSynapseWorkspaceCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceMsiScanSchema for AzureSynapseWorkspaceMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseCredentialScanSchema for AzureSynapseCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseMsiScanSchema for AzureSynapseMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1CredentialScanSchema for AdlsGen1CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1MsiScanSchema for AdlsGen1MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2CredentialScanSchema for AdlsGen2CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2MsiScanSchema for AdlsGen2MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountCredentialScanSchema for AmazonAccountCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccountCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3CredentialScanSchema for AmazonS3CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3RoleARNScanSchema for AmazonS3RoleARNScan: +{ + properties: { + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3RoleARN, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlCredentialScanSchema for AmazonSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbCredentialScanSchema for AzureCosmosDbCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDbCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerCredentialScanSchema for AzureDataExplorerCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerMsiScanSchema for AzureDataExplorerMsiScan: +{ + properties: { + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceCredentialScanSchema for AzureFileServiceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + shareName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileServiceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseCredentialScanSchema for AzureSqlDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseMsiScanSchema for AzureSqlDatabaseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlCredentialScanSchema for AmazonPostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlCredentialScanSchema for AzurePostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: number, # Optional. + sslMode: number, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseCredentialScanSchema for SqlServerDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceCredentialScanSchema for AzureSqlDatabaseManagedInstanceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceMsiScanSchema for AzureSqlDatabaseManagedInstanceMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseCredentialScanSchema for AzureSqlDataWarehouseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseMsiScanSchema for AzureSqlDataWarehouseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlCredentialScanSchema for AzureMySqlCredentialScan: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + databaseName: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageCredentialScanSchema for AzureStorageCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageMsiScanSchema for AzureStorageMsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataCredentialScanSchema for TeradataCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataUserPassScanSchema for TeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataTeradataUserPassScanSchema for TeradataTeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleCredentialScanSchema for OracleCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleUserPassScanSchema for OracleUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaCredentialScanSchema for SapS4HanaSapS4HanaCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaUserPassScanSchema for SapS4HanaSapS4HanaUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccCredentialScanSchema for SapEccCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccUserPassScanSchema for SapEccUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDelegatedScanSchema for PowerBIDelegatedScan: +{ + properties: { + tenant: string, # Optional. + authenticationType: string, # Optional. + clientId: string, # Optional. + userName: string, # Optional. + password: string, # Optional. + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIDelegated, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIMsiScanSchema for PowerBIMsiScan: +{ + properties: { + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call CreateOrUpdate with required parameters and request content, and how to parse the result. +", credential); + +var data = new { + kind = "AzureSubscriptionCredential", +}; + +Response response = client.CreateOrUpdate("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateOrUpdate with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + resourceTypes = new { + None = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSubscription = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureResourceGroup = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSynapseWorkspace = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSynapse = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AdlsGen1 = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AdlsGen2 = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonAccount = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonS3 = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonSql = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureCosmosDb = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureDataExplorer = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureFileService = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSqlDatabase = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonPostgreSql = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzurePostgreSql = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + SqlServerDatabase = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSqlDatabaseManagedInstance = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSqlDataWarehouse = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureMySql = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureStorage = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + Teradata = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + Oracle = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + SapS4Hana = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + SapEcc = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + PowerBI = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + scanRulesetName = "", + scanRulesetType = "Custom", + collection = new { + referenceName = "", + type = "", + }, + workers = 1234, + connectedVia = new { + referenceName = "", + }, + }, + kind = "AzureSubscriptionCredential", +}; + +Response response = client.CreateOrUpdate("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionCredentialScanSchema for AzureSubscriptionCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 42 more JSON objects
AzureSubscriptionMsiScanSchema for AzureSubscriptionMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupCredentialScanSchema for AzureResourceGroupCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupMsiScanSchema for AzureResourceGroupMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceCredentialScanSchema for AzureSynapseWorkspaceCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceMsiScanSchema for AzureSynapseWorkspaceMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseCredentialScanSchema for AzureSynapseCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseMsiScanSchema for AzureSynapseMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1CredentialScanSchema for AdlsGen1CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1MsiScanSchema for AdlsGen1MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2CredentialScanSchema for AdlsGen2CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2MsiScanSchema for AdlsGen2MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountCredentialScanSchema for AmazonAccountCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccountCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3CredentialScanSchema for AmazonS3CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3RoleARNScanSchema for AmazonS3RoleARNScan: +{ + properties: { + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3RoleARN, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlCredentialScanSchema for AmazonSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbCredentialScanSchema for AzureCosmosDbCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDbCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerCredentialScanSchema for AzureDataExplorerCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerMsiScanSchema for AzureDataExplorerMsiScan: +{ + properties: { + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceCredentialScanSchema for AzureFileServiceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + shareName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileServiceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseCredentialScanSchema for AzureSqlDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseMsiScanSchema for AzureSqlDatabaseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlCredentialScanSchema for AmazonPostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlCredentialScanSchema for AzurePostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: number, # Optional. + sslMode: number, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseCredentialScanSchema for SqlServerDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceCredentialScanSchema for AzureSqlDatabaseManagedInstanceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceMsiScanSchema for AzureSqlDatabaseManagedInstanceMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseCredentialScanSchema for AzureSqlDataWarehouseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseMsiScanSchema for AzureSqlDataWarehouseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlCredentialScanSchema for AzureMySqlCredentialScan: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + databaseName: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageCredentialScanSchema for AzureStorageCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageMsiScanSchema for AzureStorageMsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataCredentialScanSchema for TeradataCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataUserPassScanSchema for TeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataTeradataUserPassScanSchema for TeradataTeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleCredentialScanSchema for OracleCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleUserPassScanSchema for OracleUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaCredentialScanSchema for SapS4HanaSapS4HanaCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaUserPassScanSchema for SapS4HanaSapS4HanaUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccCredentialScanSchema for SapEccCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccUserPassScanSchema for SapEccUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDelegatedScanSchema for PowerBIDelegatedScan: +{ + properties: { + tenant: string, # Optional. + authenticationType: string, # Optional. + clientId: string, # Optional. + userName: string, # Optional. + password: string, # Optional. + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIDelegated, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIMsiScanSchema for PowerBIMsiScan: +{ + properties: { + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionCredentialScanSchema for AzureSubscriptionCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 42 more JSON objects
AzureSubscriptionMsiScanSchema for AzureSubscriptionMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupCredentialScanSchema for AzureResourceGroupCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupMsiScanSchema for AzureResourceGroupMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceCredentialScanSchema for AzureSynapseWorkspaceCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceMsiScanSchema for AzureSynapseWorkspaceMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseCredentialScanSchema for AzureSynapseCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseMsiScanSchema for AzureSynapseMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1CredentialScanSchema for AdlsGen1CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1MsiScanSchema for AdlsGen1MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2CredentialScanSchema for AdlsGen2CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2MsiScanSchema for AdlsGen2MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountCredentialScanSchema for AmazonAccountCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccountCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3CredentialScanSchema for AmazonS3CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3RoleARNScanSchema for AmazonS3RoleARNScan: +{ + properties: { + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3RoleARN, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlCredentialScanSchema for AmazonSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbCredentialScanSchema for AzureCosmosDbCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDbCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerCredentialScanSchema for AzureDataExplorerCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerMsiScanSchema for AzureDataExplorerMsiScan: +{ + properties: { + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceCredentialScanSchema for AzureFileServiceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + shareName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileServiceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseCredentialScanSchema for AzureSqlDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseMsiScanSchema for AzureSqlDatabaseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlCredentialScanSchema for AmazonPostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlCredentialScanSchema for AzurePostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: number, # Optional. + sslMode: number, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseCredentialScanSchema for SqlServerDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceCredentialScanSchema for AzureSqlDatabaseManagedInstanceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceMsiScanSchema for AzureSqlDatabaseManagedInstanceMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseCredentialScanSchema for AzureSqlDataWarehouseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseMsiScanSchema for AzureSqlDataWarehouseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlCredentialScanSchema for AzureMySqlCredentialScan: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + databaseName: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageCredentialScanSchema for AzureStorageCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageMsiScanSchema for AzureStorageMsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataCredentialScanSchema for TeradataCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataUserPassScanSchema for TeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataTeradataUserPassScanSchema for TeradataTeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleCredentialScanSchema for OracleCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleUserPassScanSchema for OracleUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaCredentialScanSchema for SapS4HanaSapS4HanaCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaUserPassScanSchema for SapS4HanaSapS4HanaUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccCredentialScanSchema for SapEccCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccUserPassScanSchema for SapEccUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDelegatedScanSchema for PowerBIDelegatedScan: +{ + properties: { + tenant: string, # Optional. + authenticationType: string, # Optional. + clientId: string, # Optional. + userName: string, # Optional. + password: string, # Optional. + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIDelegated, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIMsiScanSchema for PowerBIMsiScan: +{ + properties: { + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetScanAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetScanAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionCredentialScanSchema for AzureSubscriptionCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 42 more JSON objects
AzureSubscriptionMsiScanSchema for AzureSubscriptionMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupCredentialScanSchema for AzureResourceGroupCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupMsiScanSchema for AzureResourceGroupMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceCredentialScanSchema for AzureSynapseWorkspaceCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceMsiScanSchema for AzureSynapseWorkspaceMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseCredentialScanSchema for AzureSynapseCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseMsiScanSchema for AzureSynapseMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1CredentialScanSchema for AdlsGen1CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1MsiScanSchema for AdlsGen1MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2CredentialScanSchema for AdlsGen2CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2MsiScanSchema for AdlsGen2MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountCredentialScanSchema for AmazonAccountCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccountCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3CredentialScanSchema for AmazonS3CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3RoleARNScanSchema for AmazonS3RoleARNScan: +{ + properties: { + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3RoleARN, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlCredentialScanSchema for AmazonSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbCredentialScanSchema for AzureCosmosDbCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDbCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerCredentialScanSchema for AzureDataExplorerCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerMsiScanSchema for AzureDataExplorerMsiScan: +{ + properties: { + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceCredentialScanSchema for AzureFileServiceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + shareName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileServiceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseCredentialScanSchema for AzureSqlDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseMsiScanSchema for AzureSqlDatabaseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlCredentialScanSchema for AmazonPostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlCredentialScanSchema for AzurePostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: number, # Optional. + sslMode: number, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseCredentialScanSchema for SqlServerDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceCredentialScanSchema for AzureSqlDatabaseManagedInstanceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceMsiScanSchema for AzureSqlDatabaseManagedInstanceMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseCredentialScanSchema for AzureSqlDataWarehouseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseMsiScanSchema for AzureSqlDataWarehouseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlCredentialScanSchema for AzureMySqlCredentialScan: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + databaseName: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageCredentialScanSchema for AzureStorageCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageMsiScanSchema for AzureStorageMsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataCredentialScanSchema for TeradataCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataUserPassScanSchema for TeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataTeradataUserPassScanSchema for TeradataTeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleCredentialScanSchema for OracleCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleUserPassScanSchema for OracleUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaCredentialScanSchema for SapS4HanaSapS4HanaCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaUserPassScanSchema for SapS4HanaSapS4HanaUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccCredentialScanSchema for SapEccCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccUserPassScanSchema for SapEccUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDelegatedScanSchema for PowerBIDelegatedScan: +{ + properties: { + tenant: string, # Optional. + authenticationType: string, # Optional. + clientId: string, # Optional. + userName: string, # Optional. + password: string, # Optional. + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIDelegated, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIMsiScanSchema for PowerBIMsiScan: +{ + properties: { + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetScan with required parameters and parse the result. +", credential); + +Response response = client.GetScan("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionCredentialScanSchema for AzureSubscriptionCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 42 more JSON objects
AzureSubscriptionMsiScanSchema for AzureSubscriptionMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupCredentialScanSchema for AzureResourceGroupCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupMsiScanSchema for AzureResourceGroupMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceCredentialScanSchema for AzureSynapseWorkspaceCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceMsiScanSchema for AzureSynapseWorkspaceMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseCredentialScanSchema for AzureSynapseCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseMsiScanSchema for AzureSynapseMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1CredentialScanSchema for AdlsGen1CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1MsiScanSchema for AdlsGen1MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2CredentialScanSchema for AdlsGen2CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2MsiScanSchema for AdlsGen2MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountCredentialScanSchema for AmazonAccountCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccountCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3CredentialScanSchema for AmazonS3CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3RoleARNScanSchema for AmazonS3RoleARNScan: +{ + properties: { + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3RoleARN, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlCredentialScanSchema for AmazonSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbCredentialScanSchema for AzureCosmosDbCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDbCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerCredentialScanSchema for AzureDataExplorerCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerMsiScanSchema for AzureDataExplorerMsiScan: +{ + properties: { + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceCredentialScanSchema for AzureFileServiceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + shareName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileServiceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseCredentialScanSchema for AzureSqlDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseMsiScanSchema for AzureSqlDatabaseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlCredentialScanSchema for AmazonPostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlCredentialScanSchema for AzurePostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: number, # Optional. + sslMode: number, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseCredentialScanSchema for SqlServerDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceCredentialScanSchema for AzureSqlDatabaseManagedInstanceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceMsiScanSchema for AzureSqlDatabaseManagedInstanceMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseCredentialScanSchema for AzureSqlDataWarehouseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseMsiScanSchema for AzureSqlDataWarehouseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlCredentialScanSchema for AzureMySqlCredentialScan: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + databaseName: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageCredentialScanSchema for AzureStorageCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageMsiScanSchema for AzureStorageMsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataCredentialScanSchema for TeradataCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataUserPassScanSchema for TeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataTeradataUserPassScanSchema for TeradataTeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleCredentialScanSchema for OracleCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleUserPassScanSchema for OracleUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaCredentialScanSchema for SapS4HanaSapS4HanaCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaUserPassScanSchema for SapS4HanaSapS4HanaUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccCredentialScanSchema for SapEccCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccUserPassScanSchema for SapEccUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDelegatedScanSchema for PowerBIDelegatedScan: +{ + properties: { + tenant: string, # Optional. + authenticationType: string, # Optional. + clientId: string, # Optional. + userName: string, # Optional. + password: string, # Optional. + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIDelegated, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIMsiScanSchema for PowerBIMsiScan: +{ + properties: { + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call DeleteAsync with required parameters and parse the result. +", credential); + +Response response = await client.DeleteAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionCredentialScanSchema for AzureSubscriptionCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 42 more JSON objects
AzureSubscriptionMsiScanSchema for AzureSubscriptionMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupCredentialScanSchema for AzureResourceGroupCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupMsiScanSchema for AzureResourceGroupMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceCredentialScanSchema for AzureSynapseWorkspaceCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceMsiScanSchema for AzureSynapseWorkspaceMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseCredentialScanSchema for AzureSynapseCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseMsiScanSchema for AzureSynapseMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1CredentialScanSchema for AdlsGen1CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1MsiScanSchema for AdlsGen1MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2CredentialScanSchema for AdlsGen2CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2MsiScanSchema for AdlsGen2MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountCredentialScanSchema for AmazonAccountCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccountCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3CredentialScanSchema for AmazonS3CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3RoleARNScanSchema for AmazonS3RoleARNScan: +{ + properties: { + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3RoleARN, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlCredentialScanSchema for AmazonSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbCredentialScanSchema for AzureCosmosDbCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDbCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerCredentialScanSchema for AzureDataExplorerCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerMsiScanSchema for AzureDataExplorerMsiScan: +{ + properties: { + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceCredentialScanSchema for AzureFileServiceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + shareName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileServiceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseCredentialScanSchema for AzureSqlDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseMsiScanSchema for AzureSqlDatabaseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlCredentialScanSchema for AmazonPostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlCredentialScanSchema for AzurePostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: number, # Optional. + sslMode: number, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseCredentialScanSchema for SqlServerDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceCredentialScanSchema for AzureSqlDatabaseManagedInstanceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceMsiScanSchema for AzureSqlDatabaseManagedInstanceMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseCredentialScanSchema for AzureSqlDataWarehouseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseMsiScanSchema for AzureSqlDataWarehouseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlCredentialScanSchema for AzureMySqlCredentialScan: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + databaseName: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageCredentialScanSchema for AzureStorageCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageMsiScanSchema for AzureStorageMsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataCredentialScanSchema for TeradataCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataUserPassScanSchema for TeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataTeradataUserPassScanSchema for TeradataTeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleCredentialScanSchema for OracleCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleUserPassScanSchema for OracleUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaCredentialScanSchema for SapS4HanaSapS4HanaCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaUserPassScanSchema for SapS4HanaSapS4HanaUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccCredentialScanSchema for SapEccCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccUserPassScanSchema for SapEccUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDelegatedScanSchema for PowerBIDelegatedScan: +{ + properties: { + tenant: string, # Optional. + authenticationType: string, # Optional. + clientId: string, # Optional. + userName: string, # Optional. + password: string, # Optional. + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIDelegated, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIMsiScanSchema for PowerBIMsiScan: +{ + properties: { + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call Delete with required parameters and parse the result. +", credential); + +Response response = client.Delete("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("parentId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("runType").ToString()); +Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionCredentialScanSchema for AzureSubscriptionCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 42 more JSON objects
AzureSubscriptionMsiScanSchema for AzureSubscriptionMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSubscriptionMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupCredentialScanSchema for AzureResourceGroupCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureResourceGroupMsiScanSchema for AzureResourceGroupMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureResourceGroupMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceCredentialScanSchema for AzureSynapseWorkspaceCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceMsiScanSchema for AzureSynapseWorkspaceMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseWorkspaceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseCredentialScanSchema for AzureSynapseCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseMsiScanSchema for AzureSynapseMsiScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSynapseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1CredentialScanSchema for AdlsGen1CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1MsiScanSchema for AdlsGen1MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen1Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2CredentialScanSchema for AdlsGen2CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2MsiScanSchema for AdlsGen2MsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AdlsGen2Msi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountCredentialScanSchema for AmazonAccountCredentialScan: +{ + properties: { + resourceTypes: { + None: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + resourceNameFilter: { + excludePrefixes: [string], # Optional. + includePrefixes: [string], # Optional. + resources: [string], # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + }, # Optional. + AzureSubscription: ResourceTypeFilter, # Optional. + AzureResourceGroup: ResourceTypeFilter, # Optional. + AzureSynapseWorkspace: ResourceTypeFilter, # Optional. + AzureSynapse: ResourceTypeFilter, # Optional. + AdlsGen1: ResourceTypeFilter, # Optional. + AdlsGen2: ResourceTypeFilter, # Optional. + AmazonAccount: ResourceTypeFilter, # Optional. + AmazonS3: ResourceTypeFilter, # Optional. + AmazonSql: ResourceTypeFilter, # Optional. + AzureCosmosDb: ResourceTypeFilter, # Optional. + AzureDataExplorer: ResourceTypeFilter, # Optional. + AzureFileService: ResourceTypeFilter, # Optional. + AzureSqlDatabase: ResourceTypeFilter, # Optional. + AmazonPostgreSql: ResourceTypeFilter, # Optional. + AzurePostgreSql: ResourceTypeFilter, # Optional. + SqlServerDatabase: ResourceTypeFilter, # Optional. + AzureSqlDatabaseManagedInstance: ResourceTypeFilter, # Optional. + AzureSqlDataWarehouse: ResourceTypeFilter, # Optional. + AzureMySql: ResourceTypeFilter, # Optional. + AzureStorage: ResourceTypeFilter, # Optional. + Teradata: ResourceTypeFilter, # Optional. + Oracle: ResourceTypeFilter, # Optional. + SapS4Hana: ResourceTypeFilter, # Optional. + SapEcc: ResourceTypeFilter, # Optional. + PowerBI: ResourceTypeFilter, # Optional. + }, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonAccountCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3CredentialScanSchema for AmazonS3CredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3Credential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3RoleARNScanSchema for AmazonS3RoleARNScan: +{ + properties: { + roleARN: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonS3RoleARN, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlCredentialScanSchema for AmazonSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbCredentialScanSchema for AzureCosmosDbCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureCosmosDbCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerCredentialScanSchema for AzureDataExplorerCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerMsiScanSchema for AzureDataExplorerMsiScan: +{ + properties: { + database: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureDataExplorerMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceCredentialScanSchema for AzureFileServiceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + shareName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureFileServiceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseCredentialScanSchema for AzureSqlDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseMsiScanSchema for AzureSqlDatabaseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlCredentialScanSchema for AmazonPostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AmazonPostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlCredentialScanSchema for AzurePostgreSqlCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + port: number, # Optional. + sslMode: number, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzurePostgreSqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseCredentialScanSchema for SqlServerDatabaseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SqlServerDatabaseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceCredentialScanSchema for AzureSqlDatabaseManagedInstanceCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceMsiScanSchema for AzureSqlDatabaseManagedInstanceMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDatabaseManagedInstanceMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseCredentialScanSchema for AzureSqlDataWarehouseCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseMsiScanSchema for AzureSqlDataWarehouseMsiScan: +{ + properties: { + serverEndpoint: string, # Optional. + databaseName: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureSqlDataWarehouseMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlCredentialScanSchema for AzureMySqlCredentialScan: +{ + properties: { + serverEndpoint: string, # Optional. + port: number, # Optional. + databaseName: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureMySqlCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageCredentialScanSchema for AzureStorageCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageMsiScanSchema for AzureStorageMsiScan: +{ + properties: { + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: AzureStorageMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataCredentialScanSchema for TeradataCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataUserPassScanSchema for TeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataTeradataUserPassScanSchema for TeradataTeradataUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: TeradataTeradataUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleCredentialScanSchema for OracleCredentialScan: +{ + properties: { + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleUserPassScanSchema for OracleUserPassScan: +{ + properties: { + username: string, # Optional. + password: string, # Optional. + schema: string, # Optional. + driverLocation: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: OracleOracleUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaCredentialScanSchema for SapS4HanaSapS4HanaCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSapS4HanaUserPassScanSchema for SapS4HanaSapS4HanaUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapS4HanaSapS4HanaUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccCredentialScanSchema for SapEccCredentialScan: +{ + properties: { + clientId: string, # Optional. + credential: { + referenceName: string, # Optional. + credentialType: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN", # Optional. + }, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccCredential, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccUserPassScanSchema for SapEccUserPassScan: +{ + properties: { + clientId: string, # Optional. + username: string, # Optional. + password: string, # Optional. + jCoLibraryPath: string, # Optional. + maximumMemoryAllowedInGb: string, # Optional. + mitiCache: string, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: SapEccSapEccUserPass, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIDelegatedScanSchema for PowerBIDelegatedScan: +{ + properties: { + tenant: string, # Optional. + authenticationType: string, # Optional. + clientId: string, # Optional. + userName: string, # Optional. + password: string, # Optional. + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIDelegated, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBIMsiScanSchema for PowerBIMsiScan: +{ + properties: { + includePersonalWorkspaces: boolean, # Optional. + scanRulesetName: string, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + collection: { + lastModifiedAt: string (ISO 8601 Format), # Optional. + referenceName: string, # Optional. + type: string, # Optional. + }, # Optional. + workers: number, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + connectedVia: { + referenceName: string, # Optional. + }, # Optional. + }, # Optional. + kind: PowerBIMsi, # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetScansByDataSourceAsync with required parameters and parse the result. +", credential); + +await foreach (var data in client.GetScansByDataSourceAsync("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("parentId").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("startTime").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("endTime").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("runType").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ScanListValue: +{ + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetScansByDataSource with required parameters and parse the result. +", credential); + +foreach (var data in client.GetScansByDataSource("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("parentId").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("resourceId").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsDiscovered").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("assetsClassified").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("notifications")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("diagnostics").GetProperty("exceptionCountMap").GetProperty("").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("startTime").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("queuedTime").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("pipelineStartTime").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("endTime").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetVersion").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("scanLevelType").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("errorMessage").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("code").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("message").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("error").GetProperty("details")[0].GetProperty("target").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("runType").ToString()); + Console.WriteLine(result.GetProperty("scanResults")[0].GetProperty("dataSourceType").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for ScanListValue: +{ + kind: "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi", # Required. + scanResults: [ + { + parentId: string, # Optional. + id: string, # Optional. + resourceId: string, # Optional. + status: string, # Optional. + assetsDiscovered: number, # Optional. + assetsClassified: number, # Optional. + diagnostics: { + notifications: [ + { + message: string, # Optional. + code: number, # Optional. + } + ], # Optional. + exceptionCountMap: Dictionary<string, number>, # Optional. Dictionary of <integer> + }, # Optional. + startTime: string (ISO 8601 Format), # Optional. + queuedTime: string (ISO 8601 Format), # Optional. + pipelineStartTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + scanRulesetVersion: number, # Optional. + scanRulesetType: "Custom" | "System", # Optional. + scanLevelType: "Full" | "Incremental", # Optional. + errorMessage: string, # Optional. + error: { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ + { + code: string, # Optional. + message: string, # Optional. + target: string, # Optional. + details: [ErrorModel], # Optional. + } + ], # Optional. + }, # Optional. + runType: string, # Optional. + dataSourceType: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Optional. + } + ], # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + +
+
\ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/SystemScanRulesetsClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/SystemScanRulesetsClient.xml new file mode 100644 index 000000000000..335a8ed13339 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/SystemScanRulesetsClient.xml @@ -0,0 +1,3509 @@ + + + + + +This sample shows how to call GetSystemScanRulesetAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetSystemScanRulesetAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionSystemScanRulesetSchema for AzureSubscriptionSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupSystemScanRulesetSchema for AzureResourceGroupSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceSystemScanRulesetSchema for AzureSynapseWorkspaceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseSystemScanRulesetSchema for AzureSynapseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1SystemScanRulesetSchema for AdlsGen1SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2SystemScanRulesetSchema for AdlsGen2SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountSystemScanRulesetSchema for AmazonAccountSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3SystemScanRulesetSchema for AmazonS3SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlSystemScanRulesetSchema for AmazonSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbSystemScanRulesetSchema for AzureCosmosDbSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerSystemScanRulesetSchema for AzureDataExplorerSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceSystemScanRulesetSchema for AzureFileServiceSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseSystemScanRulesetSchema for AzureSqlDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlSystemScanRulesetSchema for AmazonPostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlSystemScanRulesetSchema for AzurePostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseSystemScanRulesetSchema for SqlServerDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceSystemScanRulesetSchema for AzureSqlDatabaseManagedInstanceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseSystemScanRulesetSchema for AzureSqlDataWarehouseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlSystemScanRulesetSchema for AzureMySqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageSystemScanRulesetSchema for AzureStorageSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataSystemScanRulesetSchema for TeradataSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleSystemScanRulesetSchema for OracleSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSystemScanRulesetSchema for SapS4HanaSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccSystemScanRulesetSchema for SapEccSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBISystemScanRulesetSchema for PowerBISystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetSystemScanRuleset with required parameters and parse the result. +", credential); + +Response response = client.GetSystemScanRuleset(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionSystemScanRulesetSchema for AzureSubscriptionSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupSystemScanRulesetSchema for AzureResourceGroupSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceSystemScanRulesetSchema for AzureSynapseWorkspaceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseSystemScanRulesetSchema for AzureSynapseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1SystemScanRulesetSchema for AdlsGen1SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2SystemScanRulesetSchema for AdlsGen2SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountSystemScanRulesetSchema for AmazonAccountSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3SystemScanRulesetSchema for AmazonS3SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlSystemScanRulesetSchema for AmazonSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbSystemScanRulesetSchema for AzureCosmosDbSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerSystemScanRulesetSchema for AzureDataExplorerSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceSystemScanRulesetSchema for AzureFileServiceSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseSystemScanRulesetSchema for AzureSqlDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlSystemScanRulesetSchema for AmazonPostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlSystemScanRulesetSchema for AzurePostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseSystemScanRulesetSchema for SqlServerDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceSystemScanRulesetSchema for AzureSqlDatabaseManagedInstanceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseSystemScanRulesetSchema for AzureSqlDataWarehouseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlSystemScanRulesetSchema for AzureMySqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageSystemScanRulesetSchema for AzureStorageSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataSystemScanRulesetSchema for TeradataSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleSystemScanRulesetSchema for OracleSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSystemScanRulesetSchema for SapS4HanaSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccSystemScanRulesetSchema for SapEccSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBISystemScanRulesetSchema for PowerBISystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetByVersionAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetByVersionAsync(1234); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetByVersionAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetByVersionAsync(1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionSystemScanRulesetSchema for AzureSubscriptionSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupSystemScanRulesetSchema for AzureResourceGroupSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceSystemScanRulesetSchema for AzureSynapseWorkspaceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseSystemScanRulesetSchema for AzureSynapseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1SystemScanRulesetSchema for AdlsGen1SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2SystemScanRulesetSchema for AdlsGen2SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountSystemScanRulesetSchema for AmazonAccountSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3SystemScanRulesetSchema for AmazonS3SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlSystemScanRulesetSchema for AmazonSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbSystemScanRulesetSchema for AzureCosmosDbSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerSystemScanRulesetSchema for AzureDataExplorerSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceSystemScanRulesetSchema for AzureFileServiceSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseSystemScanRulesetSchema for AzureSqlDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlSystemScanRulesetSchema for AmazonPostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlSystemScanRulesetSchema for AzurePostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseSystemScanRulesetSchema for SqlServerDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceSystemScanRulesetSchema for AzureSqlDatabaseManagedInstanceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseSystemScanRulesetSchema for AzureSqlDataWarehouseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlSystemScanRulesetSchema for AzureMySqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageSystemScanRulesetSchema for AzureStorageSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataSystemScanRulesetSchema for TeradataSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleSystemScanRulesetSchema for OracleSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSystemScanRulesetSchema for SapS4HanaSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccSystemScanRulesetSchema for SapEccSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBISystemScanRulesetSchema for PowerBISystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetByVersion with required parameters and parse the result. +", credential); + +Response response = client.GetByVersion(1234); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetByVersion with all parameters, and how to parse the result. +", credential); + +Response response = client.GetByVersion(1234, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionSystemScanRulesetSchema for AzureSubscriptionSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupSystemScanRulesetSchema for AzureResourceGroupSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceSystemScanRulesetSchema for AzureSynapseWorkspaceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseSystemScanRulesetSchema for AzureSynapseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1SystemScanRulesetSchema for AdlsGen1SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2SystemScanRulesetSchema for AdlsGen2SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountSystemScanRulesetSchema for AmazonAccountSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3SystemScanRulesetSchema for AmazonS3SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlSystemScanRulesetSchema for AmazonSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbSystemScanRulesetSchema for AzureCosmosDbSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerSystemScanRulesetSchema for AzureDataExplorerSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceSystemScanRulesetSchema for AzureFileServiceSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseSystemScanRulesetSchema for AzureSqlDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlSystemScanRulesetSchema for AmazonPostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlSystemScanRulesetSchema for AzurePostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseSystemScanRulesetSchema for SqlServerDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceSystemScanRulesetSchema for AzureSqlDatabaseManagedInstanceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseSystemScanRulesetSchema for AzureSqlDataWarehouseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlSystemScanRulesetSchema for AzureMySqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageSystemScanRulesetSchema for AzureStorageSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataSystemScanRulesetSchema for TeradataSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleSystemScanRulesetSchema for OracleSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSystemScanRulesetSchema for SapS4HanaSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccSystemScanRulesetSchema for SapEccSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBISystemScanRulesetSchema for PowerBISystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetLatestAsync and parse the result. +", credential); + +Response response = await client.GetLatestAsync(); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetLatestAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetLatestAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionSystemScanRulesetSchema for AzureSubscriptionSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupSystemScanRulesetSchema for AzureResourceGroupSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceSystemScanRulesetSchema for AzureSynapseWorkspaceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseSystemScanRulesetSchema for AzureSynapseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1SystemScanRulesetSchema for AdlsGen1SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2SystemScanRulesetSchema for AdlsGen2SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountSystemScanRulesetSchema for AmazonAccountSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3SystemScanRulesetSchema for AmazonS3SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlSystemScanRulesetSchema for AmazonSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbSystemScanRulesetSchema for AzureCosmosDbSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerSystemScanRulesetSchema for AzureDataExplorerSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceSystemScanRulesetSchema for AzureFileServiceSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseSystemScanRulesetSchema for AzureSqlDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlSystemScanRulesetSchema for AmazonPostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlSystemScanRulesetSchema for AzurePostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseSystemScanRulesetSchema for SqlServerDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceSystemScanRulesetSchema for AzureSqlDatabaseManagedInstanceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseSystemScanRulesetSchema for AzureSqlDataWarehouseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlSystemScanRulesetSchema for AzureMySqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageSystemScanRulesetSchema for AzureStorageSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataSystemScanRulesetSchema for TeradataSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleSystemScanRulesetSchema for OracleSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSystemScanRulesetSchema for SapS4HanaSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccSystemScanRulesetSchema for SapEccSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBISystemScanRulesetSchema for PowerBISystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetLatest and parse the result. +", credential); + +Response response = client.GetLatest(); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetLatest with all parameters, and how to parse the result. +", credential); + +Response response = client.GetLatest(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("kind").ToString()); +Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); +Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AzureSubscriptionSystemScanRulesetSchema for AzureSubscriptionSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
~+ 24 more JSON objects
AzureResourceGroupSystemScanRulesetSchema for AzureResourceGroupSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseWorkspaceSystemScanRulesetSchema for AzureSynapseWorkspaceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSynapseSystemScanRulesetSchema for AzureSynapseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen1SystemScanRulesetSchema for AdlsGen1SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AdlsGen2SystemScanRulesetSchema for AdlsGen2SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonAccountSystemScanRulesetSchema for AmazonAccountSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonS3SystemScanRulesetSchema for AmazonS3SystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonSqlSystemScanRulesetSchema for AmazonSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureCosmosDbSystemScanRulesetSchema for AzureCosmosDbSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureDataExplorerSystemScanRulesetSchema for AzureDataExplorerSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureFileServiceSystemScanRulesetSchema for AzureFileServiceSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseSystemScanRulesetSchema for AzureSqlDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AmazonPostgreSqlSystemScanRulesetSchema for AmazonPostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzurePostgreSqlSystemScanRulesetSchema for AzurePostgreSqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SqlServerDatabaseSystemScanRulesetSchema for SqlServerDatabaseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDatabaseManagedInstanceSystemScanRulesetSchema for AzureSqlDatabaseManagedInstanceSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureSqlDataWarehouseSystemScanRulesetSchema for AzureSqlDataWarehouseSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureMySqlSystemScanRulesetSchema for AzureMySqlSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
AzureStorageSystemScanRulesetSchema for AzureStorageSystemScanRuleset: +{ + properties: { + scanningRule: { + fileExtensions: ["AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"], # Optional. + customFileExtensions: [ + { + customFileType: { + builtInType: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT", # Optional. + customDelimiter: string, # Optional. + }, # Optional. + description: string, # Optional. + enabled: boolean, # Optional. + fileExtension: string, # Optional. + } + ], # Optional. + }, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
TeradataSystemScanRulesetSchema for TeradataSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
OracleSystemScanRulesetSchema for OracleSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapS4HanaSystemScanRulesetSchema for SapS4HanaSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
SapEccSystemScanRulesetSchema for SapEccSystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
PowerBISystemScanRulesetSchema for PowerBISystemScanRuleset: +{ + properties: { + createdAt: string (ISO 8601 Format), # Optional. + description: string, # Optional. + excludedSystemClassifications: [string], # Optional. + includedCustomClassificationRuleNames: [string], # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + }, # Optional. + kind: None, # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + +
+
+ +
+
+ + +This sample shows how to call GetSystemScanRulesetsAsync and parse the result. +", credential); + +await foreach (var data in client.GetSystemScanRulesetsAsync()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for SystemScanRulesetListValue: +{ + kind: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetSystemScanRulesets and parse the result. +", credential); + +foreach (var data in client.GetSystemScanRulesets()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for SystemScanRulesetListValue: +{ + kind: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetVersionsByDataSourceAsync and parse the result. +", credential); + +await foreach (var data in client.GetVersionsByDataSourceAsync()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.ToString()); +} +]]> +This sample shows how to call GetVersionsByDataSourceAsync with all parameters, and how to parse the result. +", credential); + +await foreach (var data in client.GetVersionsByDataSourceAsync("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for SystemScanRulesetListValue: +{ + kind: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetVersionsByDataSource and parse the result. +", credential); + +foreach (var data in client.GetVersionsByDataSource()) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.ToString()); +} +]]> +This sample shows how to call GetVersionsByDataSource with all parameters, and how to parse the result. +", credential); + +foreach (var data in client.GetVersionsByDataSource("")) +{ + JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("kind").ToString()); + Console.WriteLine(result.GetProperty("scanRulesetType").ToString()); + Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("version").ToString()); + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); +} +]]> + + +Below is the JSON schema for one item in the pageable response. + +Response Body: + +Schema for SystemScanRulesetListValue: +{ + kind: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI", # Required. + scanRulesetType: "Custom" | "System", # Optional. + status: "Enabled" | "Disabled", # Optional. + version: number, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + +
+
\ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/TriggersClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/TriggersClient.xml new file mode 100644 index 000000000000..3ba1f2427226 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/TriggersClient.xml @@ -0,0 +1,643 @@ + + + + + +This sample shows how to call GetTriggerAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetTriggerAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("frequency").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("interval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("minutes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("hours")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("weekDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("day").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("occurrence").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrenceInterval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastModifiedAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastScheduled").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("scanLevel").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("incrementalScanStartTime").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for Trigger: +{ + properties: { + recurrence: { + frequency: "Week" | "Month", # Optional. + interval: number, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + schedule: { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + minutes: [number], # Optional. + hours: [number], # Optional. + weekDays: ["Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"], # Optional. + monthDays: [number], # Optional. + monthlyOccurrences: [ + { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday", # Optional. + occurrence: number, # Optional. + } + ], # Optional. + }, # Optional. + timeZone: string, # Optional. + }, # Optional. + recurrenceInterval: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + lastScheduled: string (ISO 8601 Format), # Optional. + scanLevel: "Full" | "Incremental", # Optional. + incrementalScanStartTime: string (ISO 8601 Format), # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call GetTrigger with required parameters and parse the result. +", credential); + +Response response = client.GetTrigger("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("frequency").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("interval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("minutes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("hours")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("weekDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("day").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("occurrence").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrenceInterval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastModifiedAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastScheduled").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("scanLevel").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("incrementalScanStartTime").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for Trigger: +{ + properties: { + recurrence: { + frequency: "Week" | "Month", # Optional. + interval: number, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + schedule: { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + minutes: [number], # Optional. + hours: [number], # Optional. + weekDays: ["Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"], # Optional. + monthDays: [number], # Optional. + monthlyOccurrences: [ + { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday", # Optional. + occurrence: number, # Optional. + } + ], # Optional. + }, # Optional. + timeZone: string, # Optional. + }, # Optional. + recurrenceInterval: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + lastScheduled: string (ISO 8601 Format), # Optional. + scanLevel: "Full" | "Incremental", # Optional. + incrementalScanStartTime: string (ISO 8601 Format), # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call CreateTriggerAsync with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateTriggerAsync("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateTriggerAsync with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + recurrence = new { + frequency = "Week", + interval = 1234, + startTime = "2022-05-10T18:57:31.2311892Z", + endTime = "2022-05-10T18:57:31.2311892Z", + schedule = new { + additionalProperties = new { + key = new {}, + }, + minutes = new[] { + 1234 + }, + hours = new[] { + 1234 + }, + weekDays = new[] { + "Sunday" + }, + monthDays = new[] { + 1234 + }, + monthlyOccurrences = new[] { + new { + additionalProperties = new { + key = new {}, + }, + day = "Sunday", + occurrence = 1234, + } + }, + }, + timeZone = "", + }, + recurrenceInterval = "", + scanLevel = "Full", + incrementalScanStartTime = "2022-05-10T18:57:31.2311892Z", + }, +}; + +Response response = await client.CreateTriggerAsync("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("frequency").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("interval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("minutes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("hours")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("weekDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("day").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("occurrence").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrenceInterval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastModifiedAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastScheduled").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("scanLevel").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("incrementalScanStartTime").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for Trigger: +{ + properties: { + recurrence: { + frequency: "Week" | "Month", # Optional. + interval: number, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + schedule: { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + minutes: [number], # Optional. + hours: [number], # Optional. + weekDays: ["Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"], # Optional. + monthDays: [number], # Optional. + monthlyOccurrences: [ + { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday", # Optional. + occurrence: number, # Optional. + } + ], # Optional. + }, # Optional. + timeZone: string, # Optional. + }, # Optional. + recurrenceInterval: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + lastScheduled: string (ISO 8601 Format), # Optional. + scanLevel: "Full" | "Incremental", # Optional. + incrementalScanStartTime: string (ISO 8601 Format), # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + +Response Body: + +Schema for Trigger: +{ + properties: { + recurrence: { + frequency: "Week" | "Month", # Optional. + interval: number, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + schedule: { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + minutes: [number], # Optional. + hours: [number], # Optional. + weekDays: ["Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"], # Optional. + monthDays: [number], # Optional. + monthlyOccurrences: [ + { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday", # Optional. + occurrence: number, # Optional. + } + ], # Optional. + }, # Optional. + timeZone: string, # Optional. + }, # Optional. + recurrenceInterval: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + lastScheduled: string (ISO 8601 Format), # Optional. + scanLevel: "Full" | "Incremental", # Optional. + incrementalScanStartTime: string (ISO 8601 Format), # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call CreateTrigger with required parameters and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateTrigger("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateTrigger with all parameters and request content, and how to parse the result. +", credential); + +var data = new { + properties = new { + recurrence = new { + frequency = "Week", + interval = 1234, + startTime = "2022-05-10T18:57:31.2311892Z", + endTime = "2022-05-10T18:57:31.2311892Z", + schedule = new { + additionalProperties = new { + key = new {}, + }, + minutes = new[] { + 1234 + }, + hours = new[] { + 1234 + }, + weekDays = new[] { + "Sunday" + }, + monthDays = new[] { + 1234 + }, + monthlyOccurrences = new[] { + new { + additionalProperties = new { + key = new {}, + }, + day = "Sunday", + occurrence = 1234, + } + }, + }, + timeZone = "", + }, + recurrenceInterval = "", + scanLevel = "Full", + incrementalScanStartTime = "2022-05-10T18:57:31.2311892Z", + }, +}; + +Response response = client.CreateTrigger("", "", RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("frequency").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("interval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("minutes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("hours")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("weekDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("day").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("occurrence").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrenceInterval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastModifiedAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastScheduled").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("scanLevel").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("incrementalScanStartTime").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for Trigger: +{ + properties: { + recurrence: { + frequency: "Week" | "Month", # Optional. + interval: number, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + schedule: { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + minutes: [number], # Optional. + hours: [number], # Optional. + weekDays: ["Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"], # Optional. + monthDays: [number], # Optional. + monthlyOccurrences: [ + { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday", # Optional. + occurrence: number, # Optional. + } + ], # Optional. + }, # Optional. + timeZone: string, # Optional. + }, # Optional. + recurrenceInterval: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + lastScheduled: string (ISO 8601 Format), # Optional. + scanLevel: "Full" | "Incremental", # Optional. + incrementalScanStartTime: string (ISO 8601 Format), # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + +Response Body: + +Schema for Trigger: +{ + properties: { + recurrence: { + frequency: "Week" | "Month", # Optional. + interval: number, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + schedule: { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + minutes: [number], # Optional. + hours: [number], # Optional. + weekDays: ["Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"], # Optional. + monthDays: [number], # Optional. + monthlyOccurrences: [ + { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday", # Optional. + occurrence: number, # Optional. + } + ], # Optional. + }, # Optional. + timeZone: string, # Optional. + }, # Optional. + recurrenceInterval: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + lastScheduled: string (ISO 8601 Format), # Optional. + scanLevel: "Full" | "Incremental", # Optional. + incrementalScanStartTime: string (ISO 8601 Format), # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call DeleteTriggerAsync with required parameters and parse the result. +", credential); + +Response response = await client.DeleteTriggerAsync("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("frequency").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("interval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("minutes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("hours")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("weekDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("day").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("occurrence").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrenceInterval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastModifiedAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastScheduled").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("scanLevel").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("incrementalScanStartTime").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for Trigger: +{ + properties: { + recurrence: { + frequency: "Week" | "Month", # Optional. + interval: number, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + schedule: { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + minutes: [number], # Optional. + hours: [number], # Optional. + weekDays: ["Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"], # Optional. + monthDays: [number], # Optional. + monthlyOccurrences: [ + { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday", # Optional. + occurrence: number, # Optional. + } + ], # Optional. + }, # Optional. + timeZone: string, # Optional. + }, # Optional. + recurrenceInterval: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + lastScheduled: string (ISO 8601 Format), # Optional. + scanLevel: "Full" | "Incremental", # Optional. + incrementalScanStartTime: string (ISO 8601 Format), # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + +This sample shows how to call DeleteTrigger with required parameters and parse the result. +", credential); + +Response response = client.DeleteTrigger("", ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("frequency").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("interval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("startTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("endTime").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("minutes")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("hours")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("weekDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthDays")[0].ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("additionalProperties").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("day").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("schedule").GetProperty("monthlyOccurrences")[0].GetProperty("occurrence").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrence").GetProperty("timeZone").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("recurrenceInterval").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastModifiedAt").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("lastScheduled").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("scanLevel").ToString()); +Console.WriteLine(result.GetProperty("properties").GetProperty("incrementalScanStartTime").ToString()); +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for Trigger: +{ + properties: { + recurrence: { + frequency: "Week" | "Month", # Optional. + interval: number, # Optional. + startTime: string (ISO 8601 Format), # Optional. + endTime: string (ISO 8601 Format), # Optional. + schedule: { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + minutes: [number], # Optional. + hours: [number], # Optional. + weekDays: ["Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"], # Optional. + monthDays: [number], # Optional. + monthlyOccurrences: [ + { + additionalProperties: Dictionary<string, AnyObject>, # Optional. Dictionary of <AnyObject> + day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday", # Optional. + occurrence: number, # Optional. + } + ], # Optional. + }, # Optional. + timeZone: string, # Optional. + }, # Optional. + recurrenceInterval: string, # Optional. + createdAt: string (ISO 8601 Format), # Optional. + lastModifiedAt: string (ISO 8601 Format), # Optional. + lastScheduled: string (ISO 8601 Format), # Optional. + scanLevel: "Full" | "Incremental", # Optional. + incrementalScanStartTime: string (ISO 8601 Format), # Optional. + }, # Optional. + id: string, # Optional. + name: string, # Optional. +} + + + + + + \ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/TypesClient.xml b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/TypesClient.xml new file mode 100644 index 000000000000..b6e10e2da50a --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/Docs/TypesClient.xml @@ -0,0 +1,14697 @@ + + + + + +This sample shows how to call GetBusinessMetadataDefByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetBusinessMetadataDefByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasBusinessMetadataDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetBusinessMetadataDefByGuid with required parameters and parse the result. +", credential); + +Response response = client.GetBusinessMetadataDefByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasBusinessMetadataDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetBusinessMetadataDefByNameAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetBusinessMetadataDefByNameAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasBusinessMetadataDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetBusinessMetadataDefByName with required parameters and parse the result. +", credential); + +Response response = client.GetBusinessMetadataDefByName(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasBusinessMetadataDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetClassificationDefByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetClassificationDefByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasClassificationDef: +{ + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetClassificationDefByGuid with required parameters and parse the result. +", credential); + +Response response = client.GetClassificationDefByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasClassificationDef: +{ + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetClassificationDefByNameAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetClassificationDefByNameAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasClassificationDef: +{ + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetClassificationDefByName with required parameters and parse the result. +", credential); + +Response response = client.GetClassificationDefByName(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasClassificationDef: +{ + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetEntityDefinitionByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetEntityDefinitionByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityDef: +{ + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetEntityDefinitionByGuid with required parameters and parse the result. +", credential); + +Response response = client.GetEntityDefinitionByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityDef: +{ + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetEntityDefinitionByNameAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetEntityDefinitionByNameAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityDef: +{ + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetEntityDefinitionByName with required parameters and parse the result. +", credential); + +Response response = client.GetEntityDefinitionByName(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEntityDef: +{ + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetEnumDefByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetEnumDefByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEnumDef: +{ + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetEnumDefByGuid with required parameters and parse the result. +", credential); + +Response response = client.GetEnumDefByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEnumDef: +{ + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetEnumDefByNameAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetEnumDefByNameAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEnumDef: +{ + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetEnumDefByName with required parameters and parse the result. +", credential); + +Response response = client.GetEnumDefByName(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasEnumDef: +{ + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetRelationshipDefByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetRelationshipDefByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelationshipDef: +{ + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetRelationshipDefByGuid with required parameters and parse the result. +", credential); + +Response response = client.GetRelationshipDefByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelationshipDef: +{ + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetRelationshipDefByNameAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetRelationshipDefByNameAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelationshipDef: +{ + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetRelationshipDefByName with required parameters and parse the result. +", credential); + +Response response = client.GetRelationshipDefByName(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasRelationshipDef: +{ + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetStructDefByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetStructDefByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AtlasBusinessMetadataDefSchema for AtlasBusinessMetadataDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
~+ 4 more JSON objects
AtlasClassificationDefSchema for AtlasClassificationDef: +{ + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
AtlasEntityDefSchema for AtlasEntityDef: +{ + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
AtlasRelationshipDefSchema for AtlasRelationshipDef: +{ + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
TermTemplateDefSchema for TermTemplateDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
+ +
+
+ + +This sample shows how to call GetStructDefByGuid with required parameters and parse the result. +", credential); + +Response response = client.GetStructDefByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AtlasBusinessMetadataDefSchema for AtlasBusinessMetadataDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
~+ 4 more JSON objects
AtlasClassificationDefSchema for AtlasClassificationDef: +{ + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
AtlasEntityDefSchema for AtlasEntityDef: +{ + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
AtlasRelationshipDefSchema for AtlasRelationshipDef: +{ + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
TermTemplateDefSchema for TermTemplateDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
+ +
+
+ + +This sample shows how to call GetStructDefByNameAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetStructDefByNameAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AtlasBusinessMetadataDefSchema for AtlasBusinessMetadataDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
~+ 4 more JSON objects
AtlasClassificationDefSchema for AtlasClassificationDef: +{ + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
AtlasEntityDefSchema for AtlasEntityDef: +{ + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
AtlasRelationshipDefSchema for AtlasRelationshipDef: +{ + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
TermTemplateDefSchema for TermTemplateDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
+ +
+
+ + +This sample shows how to call GetStructDefByName with required parameters and parse the result. +", credential); + +Response response = client.GetStructDefByName(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +This method takes one of the JSON objects below as a payload. Please select a JSON object to view the schema for this. +
AtlasBusinessMetadataDefSchema for AtlasBusinessMetadataDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
~+ 4 more JSON objects
AtlasClassificationDefSchema for AtlasClassificationDef: +{ + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
AtlasEntityDefSchema for AtlasEntityDef: +{ + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
AtlasRelationshipDefSchema for AtlasRelationshipDef: +{ + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
TermTemplateDefSchema for TermTemplateDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + +
+
+ +
+
+ + +This sample shows how to call GetTypeDefinitionByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetTypeDefinitionByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasTypeDef: +{ + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetTypeDefinitionByGuid with required parameters and parse the result. +", credential); + +Response response = client.GetTypeDefinitionByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasTypeDef: +{ + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetTypeDefinitionByNameAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetTypeDefinitionByNameAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasTypeDef: +{ + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetTypeDefinitionByName with required parameters and parse the result. +", credential); + +Response response = client.GetTypeDefinitionByName(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasTypeDef: +{ + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call DeleteTypeByNameAsync with required parameters. +", credential); + +Response response = await client.DeleteTypeByNameAsync(""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call DeleteTypeByName with required parameters. +", credential); + +Response response = client.DeleteTypeByName(""); +Console.WriteLine(response.Status); +]]> + + + + +This sample shows how to call GetAllTypeDefinitionsAsync and parse the result. +", credential); + +Response response = await client.GetAllTypeDefinitionsAsync(); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetAllTypeDefinitionsAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetAllTypeDefinitionsAsync(true, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + + + + + +This sample shows how to call GetAllTypeDefinitions and parse the result. +", credential); + +Response response = client.GetAllTypeDefinitions(); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call GetAllTypeDefinitions with all parameters, and how to parse the result. +", credential); + +Response response = client.GetAllTypeDefinitions(true, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + + + + + +This sample shows how to call CreateTypeDefinitionsAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.CreateTypeDefinitionsAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateTypeDefinitionsAsync with all request content, and how to parse the result. +", credential); + +var data = new { + businessMetadataDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + classificationDefs = new[] { + new { + entityTypes = new[] { + "" + }, + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + enumDefs = new[] { + new { + defaultValue = "", + elementDefs = new[] { + new { + description = "", + ordinal = 123.45f, + value = "", + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + relationshipCategory = "ASSOCIATION", + relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + structDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, +}; + +Response response = await client.CreateTypeDefinitionsAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + +Response Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + + + + + +This sample shows how to call CreateTypeDefinitions and parse the result. +", credential); + +var data = new {}; + +Response response = client.CreateTypeDefinitions(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call CreateTypeDefinitions with all request content, and how to parse the result. +", credential); + +var data = new { + businessMetadataDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + classificationDefs = new[] { + new { + entityTypes = new[] { + "" + }, + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + enumDefs = new[] { + new { + defaultValue = "", + elementDefs = new[] { + new { + description = "", + ordinal = 123.45f, + value = "", + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + relationshipCategory = "ASSOCIATION", + relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + structDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, +}; + +Response response = client.CreateTypeDefinitions(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + +Response Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + + + + + +This sample shows how to call UpdateAtlasTypeDefinitionsAsync and parse the result. +", credential); + +var data = new {}; + +Response response = await client.UpdateAtlasTypeDefinitionsAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateAtlasTypeDefinitionsAsync with all request content, and how to parse the result. +", credential); + +var data = new { + businessMetadataDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + classificationDefs = new[] { + new { + entityTypes = new[] { + "" + }, + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + enumDefs = new[] { + new { + defaultValue = "", + elementDefs = new[] { + new { + description = "", + ordinal = 123.45f, + value = "", + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + relationshipCategory = "ASSOCIATION", + relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + structDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, +}; + +Response response = await client.UpdateAtlasTypeDefinitionsAsync(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + +Response Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + + + + + +This sample shows how to call UpdateAtlasTypeDefinitions and parse the result. +", credential); + +var data = new {}; + +Response response = client.UpdateAtlasTypeDefinitions(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.ToString()); +]]> +This sample shows how to call UpdateAtlasTypeDefinitions with all request content, and how to parse the result. +", credential); + +var data = new { + businessMetadataDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + classificationDefs = new[] { + new { + entityTypes = new[] { + "" + }, + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + enumDefs = new[] { + new { + defaultValue = "", + elementDefs = new[] { + new { + description = "", + ordinal = 123.45f, + value = "", + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + relationshipCategory = "ASSOCIATION", + relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + structDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, +}; + +Response response = client.UpdateAtlasTypeDefinitions(RequestContent.Create(data)); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("businessMetadataDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("entityTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("classificationDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("subTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("superTypes")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("relationshipTypeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("relationshipAttributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("entityDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("ordinal").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("elementDefs")[0].GetProperty("value").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("enumDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef1").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isContainer").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("isLegacyAttribute").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("endDef2").GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipCategory").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("relationshipLabel").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("relationshipDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("structDefs")[0].GetProperty("lastModifiedTS").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the request and response payloads. + +Request Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + +Response Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + + + + + +This sample shows how to call DeleteTypeDefinitionsAsync. +", credential); + +var data = new {}; + +Response response = await client.DeleteTypeDefinitionsAsync(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call DeleteTypeDefinitionsAsync with all request content. +", credential); + +var data = new { + businessMetadataDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + classificationDefs = new[] { + new { + entityTypes = new[] { + "" + }, + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + enumDefs = new[] { + new { + defaultValue = "", + elementDefs = new[] { + new { + description = "", + ordinal = 123.45f, + value = "", + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + relationshipCategory = "ASSOCIATION", + relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + structDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, +}; + +Response response = await client.DeleteTypeDefinitionsAsync(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + + + + + +This sample shows how to call DeleteTypeDefinitions. +", credential); + +var data = new {}; + +Response response = client.DeleteTypeDefinitions(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call DeleteTypeDefinitions with all request content. +", credential); + +var data = new { + businessMetadataDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + classificationDefs = new[] { + new { + entityTypes = new[] { + "" + }, + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + enumDefs = new[] { + new { + defaultValue = "", + elementDefs = new[] { + new { + description = "", + ordinal = 123.45f, + value = "", + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + relationshipCategory = "ASSOCIATION", + relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + structDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, +}; + +Response response = client.DeleteTypeDefinitions(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + +Below is the JSON schema for the request payload. + +Request Body: + +Schema for AtlasTypesDef: +{ + businessMetadataDefs: [ + { + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. businessMetadataDefs + classificationDefs: [ + { + entityTypes: [string], # Optional. Specifying a list of entityType names in the classificationDef, ensures that classifications can +only be applied to those entityTypes. +<ul> +<li>Any subtypes of the entity types inherit the restriction</li> +<li>Any classificationDef subtypes inherit the parents entityTypes restrictions</li> +<li>Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes</li> +<li>An empty entityTypes list when there are no parent restrictions means there are no restrictions</li> +<li>An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions</li> +<li>If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs</li> +</ul> + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of classification definitions. + entityDefs: [ + { + subTypes: [string], # Optional. An array of sub types. + superTypes: [string], # Optional. An array of super types. + relationshipAttributeDefs: [ + { + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + relationshipTypeName: string, # Optional. The name of the relationship type. + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [AtlasConstraintDef], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of relationship attributes. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of entity definitions. + enumDefs: [ + { + defaultValue: string, # Optional. The default value. + elementDefs: [ + { + description: string, # Optional. The description of the enum element definition. + ordinal: number, # Optional. The ordinal of the enum element definition. + value: string, # Optional. The value of the enum element definition. + } + ], # Optional. An array of enum element definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of enum definitions. + relationshipDefs: [ + { + endDef1: { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + description: string, # Optional. The description of the relationship end definition. + isContainer: boolean, # Optional. Determines if it is container. + isLegacyAttribute: boolean, # Optional. Determines if it is a legacy attribute. + name: string, # Optional. The name of the relationship end definition. + type: string, # Optional. The type of the relationship end. + }, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + endDef2: AtlasRelationshipEndDef, # Optional. The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an +attribute name, cardinality and whether it is the container end of the relationship. + relationshipCategory: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION", # Optional. The Relationship category determines the style of relationship around containment and lifecycle. +UML terminology is used for the values. +<p> +ASSOCIATION is a relationship with no containment. <br> +COMPOSITION and AGGREGATION are containment relationships. +<p> +The difference being in the lifecycles of the container and its children. In the COMPOSITION case, +the children cannot exist without the container. For AGGREGATION, the life cycles +of the container and children are totally independent. + relationshipLabel: string, # Optional. The label of the relationship. + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of relationship definitions. + structDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of struct definitions. + termTemplateDefs: [ + { + attributeDefs: [AtlasAttributeDef], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: DateFormat, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. + } + ], # Optional. An array of term template definitions. +} + + + + + + +This sample shows how to call GetTypeDefinitionHeadersAsync and parse the result. +", credential); + +Response response = await client.GetTypeDefinitionHeadersAsync(); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetTypeDefinitionHeadersAsync with all parameters, and how to parse the result. +", credential); + +Response response = await client.GetTypeDefinitionHeadersAsync(true, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("category").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasTypeDefHeader: +{ + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. +} + + + + + + +This sample shows how to call GetTypeDefinitionHeaders and parse the result. +", credential); + +Response response = client.GetTypeDefinitionHeaders(); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].ToString()); +]]> +This sample shows how to call GetTypeDefinitionHeaders with all parameters, and how to parse the result. +", credential); + +Response response = client.GetTypeDefinitionHeaders(true, ""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result[0].GetProperty("category").ToString()); +Console.WriteLine(result[0].GetProperty("guid").ToString()); +Console.WriteLine(result[0].GetProperty("name").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for AtlasTypeDefHeader: +{ + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. +} + + + + + + +This sample shows how to call GetTermTemplateDefByGuidAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetTermTemplateDefByGuidAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for TermTemplateDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetTermTemplateDefByGuid with required parameters and parse the result. +", credential); + +Response response = client.GetTermTemplateDefByGuid(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for TermTemplateDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetTermTemplateDefByNameAsync with required parameters and parse the result. +", credential); + +Response response = await client.GetTermTemplateDefByNameAsync(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for TermTemplateDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + + + +This sample shows how to call GetTermTemplateDefByName with required parameters and parse the result. +", credential); + +Response response = client.GetTermTemplateDefByName(""); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("cardinality").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("params").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("constraints")[0].GetProperty("type").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("defaultValue").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("includeInNotification").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isIndexable").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isOptional").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("isUnique").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("typeName").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMaxCount").ToString()); +Console.WriteLine(result.GetProperty("attributeDefs")[0].GetProperty("valuesMinCount").ToString()); +Console.WriteLine(result.GetProperty("category").ToString()); +Console.WriteLine(result.GetProperty("createTime").ToString()); +Console.WriteLine(result.GetProperty("createdBy").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("calendar").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("lenient").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("availableLocales")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("currency").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("groupingUsed").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("maximumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumFractionDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("minimumIntegerDigits").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("parseIntegerOnly").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("numberFormat").GetProperty("roundingMode").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("dstSavings").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("availableIds")[0].ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("displayName").ToString()); +Console.WriteLine(result.GetProperty("dateFormatter").GetProperty("timeZone").GetProperty("rawOffset").ToString()); +Console.WriteLine(result.GetProperty("description").ToString()); +Console.WriteLine(result.GetProperty("guid").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("options").GetProperty("").ToString()); +Console.WriteLine(result.GetProperty("serviceType").ToString()); +Console.WriteLine(result.GetProperty("typeVersion").ToString()); +Console.WriteLine(result.GetProperty("updateTime").ToString()); +Console.WriteLine(result.GetProperty("updatedBy").ToString()); +Console.WriteLine(result.GetProperty("version").ToString()); +Console.WriteLine(result.GetProperty("lastModifiedTS").ToString()); +]]> + + +Below is the JSON schema for the response payload. + +Response Body: + +Schema for TermTemplateDef: +{ + attributeDefs: [ + { + cardinality: "SINGLE" | "LIST" | "SET", # Optional. single-valued attribute or multi-valued attribute. + constraints: [ + { + params: Dictionary<string, AnyObject>, # Optional. The parameters of the constraint definition. + type: string, # Optional. The type of the constraint. + } + ], # Optional. An array of constraints. + defaultValue: string, # Optional. The default value of the attribute. + description: string, # Optional. The description of the attribute. + includeInNotification: boolean, # Optional. Determines if it is included in notification. + isIndexable: boolean, # Optional. Determines if it is indexable. + isOptional: boolean, # Optional. Determines if it is optional. + isUnique: boolean, # Optional. Determines if it unique. + name: string, # Optional. The name of the attribute. + options: Dictionary<string, string>, # Optional. The options for the attribute. + typeName: string, # Optional. The name of the type. + valuesMaxCount: number, # Optional. The maximum count of the values. + valuesMinCount: number, # Optional. The minimum count of the values. + } + ], # Optional. An array of attribute definitions. + category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE", # Optional. The enum of type category. + createTime: number, # Optional. The created time of the record. + createdBy: string, # Optional. The user who created the record. + dateFormatter: { + availableLocales: [string], # Optional. An array of available locales. + calendar: number, # Optional. + dateInstance: DateFormat, # Optional. The date format. + dateTimeInstance: DateFormat, # Optional. The date format. + instance: DateFormat, # Optional. The date format. + lenient: boolean, # Optional. Determines the leniency of the date format. + numberFormat: { + availableLocales: [string], # Optional. The number format. + currency: string, # Optional. The currency. + currencyInstance: NumberFormat, # Optional. The number format. + groupingUsed: boolean, # Optional. Determines if grouping is used. + instance: NumberFormat, # Optional. The number format. + integerInstance: NumberFormat, # Optional. The number format. + maximumFractionDigits: number, # Optional. The maximum of fraction digits. + maximumIntegerDigits: number, # Optional. The maximum of integer digits. + minimumFractionDigits: number, # Optional. The minimum of fraction digits. + minimumIntegerDigits: number, # Optional. The minimum of integer digits. + numberInstance: NumberFormat, # Optional. The number format. + parseIntegerOnly: boolean, # Optional. Determines if only integer is parsed. + percentInstance: NumberFormat, # Optional. The number format. + roundingMode: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY", # Optional. The enum of rounding mode. + }, # Optional. The number format. + timeInstance: DateFormat, # Optional. The date format. + timeZone: { + dstSavings: number, # Optional. The value of the daylight saving time. + id: string, # Optional. The ID of the timezone. + availableIds: [string], # Optional. An array of available IDs. + default: TimeZone, # Optional. The timezone information. + displayName: string, # Optional. The display name of the timezone. + rawOffset: number, # Optional. The raw offset of the timezone. + }, # Optional. The timezone information. + }, # Optional. The date format. + description: string, # Optional. The description of the type definition. + guid: string, # Optional. The GUID of the type definition. + name: string, # Optional. The name of the type definition. + options: Dictionary<string, string>, # Optional. The options for the type definition. + serviceType: string, # Optional. The service type. + typeVersion: string, # Optional. The version of the type. + updateTime: number, # Optional. The update time of the record. + updatedBy: string, # Optional. The user who updated the record. + version: number, # Optional. The version of the record. + lastModifiedTS: string, # Optional. ETag for concurrency control. +} + + + + +
+
\ No newline at end of file diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/EmailRegistrationClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/EmailRegistrationClient.cs index 3392a6f1db67..b03edea0afc0 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/EmailRegistrationClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/EmailRegistrationClient.cs @@ -21,7 +21,6 @@ public partial class EmailRegistrationClient private readonly TokenCredential _tokenCredential; private readonly HttpPipeline _pipeline; private readonly string _endpoint; - private readonly string _apiVersion; /// The ClientDiagnostics is used to provide tracing support for the client library. internal ClientDiagnostics ClientDiagnostics { get; } @@ -38,7 +37,7 @@ protected EmailRegistrationClient() /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. /// A credential used to authenticate to an Azure Service. /// or is null. - public EmailRegistrationClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewShareClientOptions()) + public EmailRegistrationClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) { } @@ -47,17 +46,16 @@ protected EmailRegistrationClient() /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. /// or is null. - public EmailRegistrationClient(string endpoint, TokenCredential credential, PurviewShareClientOptions options) + public EmailRegistrationClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) { Argument.AssertNotNull(endpoint, nameof(endpoint)); Argument.AssertNotNull(credential, nameof(credential)); - options ??= new PurviewShareClientOptions(); + options ??= new PurviewPDSClientOptions(); ClientDiagnostics = new ClientDiagnostics(options, true); _tokenCredential = credential; _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); _endpoint = endpoint; - _apiVersion = options.Version; } /// Activates the tenant and email combination using the activation code received. @@ -164,7 +162,7 @@ internal HttpMessage CreateActivateRequest(RequestContent content, string repeat var uri = new RawRequestUriBuilder(); uri.AppendRaw(_endpoint, false); uri.AppendPath("/activateEmail", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; if (repeatabilityRequestId != null) { @@ -184,7 +182,7 @@ internal HttpMessage CreateRegisterRequest(string repeatabilityRequestId, Reques var uri = new RawRequestUriBuilder(); uri.AppendRaw(_endpoint, false); uri.AppendPath("/registerEmail", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; if (repeatabilityRequestId != null) { diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/EntityClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/EntityClient.cs new file mode 100644 index 000000000000..42f6a9ed34a2 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/EntityClient.cs @@ -0,0 +1,2659 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Entity service client. + /// The Entity service client. + public partial class EntityClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of EntityClient for mocking. + protected EntityClient() + { + } + + /// Initializes a new instance of EntityClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public EntityClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of EntityClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public EntityClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// + /// Create or update an entity in Atlas. + /// Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. + /// Map and array of collections are not well supported. E.g., array<array<int>>, array<map<string, int>>. + /// + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateOrUpdateAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or update an entity in Atlas. + /// Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. + /// Map and array of collections are not well supported. E.g., array<array<int>>, array<map<string, int>>. + /// + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateOrUpdate(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List entities in bulk identified by its GUIDs. + /// An array of GUIDs of entities to list. + /// Whether to return minimal information for referred entities. + /// Whether to ignore relationship attributes. + /// An array of the relationship types need to be excluded from the response. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetEntitiesByGuidsAsync(IEnumerable guids, bool? minExtInfo = null, bool? ignoreRelationships = null, IEnumerable excludeRelationshipTypes = null, RequestContext context = null) + { + Argument.AssertNotNull(guids, nameof(guids)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetEntitiesByGuids"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntitiesByGuidsRequest(guids, minExtInfo, ignoreRelationships, excludeRelationshipTypes, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List entities in bulk identified by its GUIDs. + /// An array of GUIDs of entities to list. + /// Whether to return minimal information for referred entities. + /// Whether to ignore relationship attributes. + /// An array of the relationship types need to be excluded from the response. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetEntitiesByGuids(IEnumerable guids, bool? minExtInfo = null, bool? ignoreRelationships = null, IEnumerable excludeRelationshipTypes = null, RequestContext context = null) + { + Argument.AssertNotNull(guids, nameof(guids)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetEntitiesByGuids"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntitiesByGuidsRequest(guids, minExtInfo, ignoreRelationships, excludeRelationshipTypes, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or update entities in Atlas in bulk. + /// Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. + /// Map and array of collections are not well supported. E.g., array<array<int>>, array<map<string, int>>. + /// + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.CreateOrUpdateEntities"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateEntitiesRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or update entities in Atlas in bulk. + /// Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. + /// Map and array of collections are not well supported. E.g., array<array<int>>, array<map<string, int>>. + /// + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateOrUpdateEntities(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.CreateOrUpdateEntities"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateEntitiesRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a list of entities in bulk identified by their GUIDs or unique attributes. + /// An array of GUIDs of entities to delete. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task DeleteByGuidsAsync(IEnumerable guids, RequestContext context = null) + { + Argument.AssertNotNull(guids, nameof(guids)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteByGuids"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteByGuidsRequest(guids, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a list of entities in bulk identified by their GUIDs or unique attributes. + /// An array of GUIDs of entities to delete. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response DeleteByGuids(IEnumerable guids, RequestContext context = null) + { + Argument.AssertNotNull(guids, nameof(guids)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteByGuids"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteByGuidsRequest(guids, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Associate a classification to multiple entities in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task AddClassificationAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddClassification"); + scope.Start(); + try + { + using HttpMessage message = CreateAddClassificationRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Associate a classification to multiple entities in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response AddClassification(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddClassification"); + scope.Start(); + try + { + using HttpMessage message = CreateAddClassificationRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get complete definition of an entity given its GUID. + /// The globally unique identifier of the entity. + /// Whether to return minimal information for referred entities. + /// Whether to ignore relationship attributes. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetByGuidAsync(string guid, bool? minExtInfo = null, bool? ignoreRelationships = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetByGuidRequest(guid, minExtInfo, ignoreRelationships, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get complete definition of an entity given its GUID. + /// The globally unique identifier of the entity. + /// Whether to return minimal information for referred entities. + /// Whether to ignore relationship attributes. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetByGuid(string guid, bool? minExtInfo = null, bool? ignoreRelationships = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetByGuidRequest(guid, minExtInfo, ignoreRelationships, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Update entity partially - create or update entity attribute identified by its GUID. + /// Supports only primitive attribute type and entity references. + /// It does not support updating complex types like arrays, and maps. + /// Null updates are not possible. + /// + /// The globally unique identifier of the entity. + /// The name of the attribute. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task PartialUpdateEntityAttributeByGuidAsync(string guid, string name, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(name, nameof(name)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.PartialUpdateEntityAttributeByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateEntityAttributeByGuidRequest(guid, name, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Update entity partially - create or update entity attribute identified by its GUID. + /// Supports only primitive attribute type and entity references. + /// It does not support updating complex types like arrays, and maps. + /// Null updates are not possible. + /// + /// The globally unique identifier of the entity. + /// The name of the attribute. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response PartialUpdateEntityAttributeByGuid(string guid, string name, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(name, nameof(name)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.PartialUpdateEntityAttributeByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateEntityAttributeByGuidRequest(guid, name, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete an entity identified by its GUID. + /// The globally unique identifier of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task DeleteByGuidAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteByGuidRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete an entity identified by its GUID. + /// The globally unique identifier of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response DeleteByGuid(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteByGuidRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List classifications for a given entity represented by a GUID. + /// The globally unique identifier of the entity. + /// The name of the classification. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetClassificationAsync(string guid, string classificationName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNullOrEmpty(classificationName, nameof(classificationName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetClassification"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationRequest(guid, classificationName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List classifications for a given entity represented by a GUID. + /// The globally unique identifier of the entity. + /// The name of the classification. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetClassification(string guid, string classificationName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNullOrEmpty(classificationName, nameof(classificationName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetClassification"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationRequest(guid, classificationName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a given classification from an existing entity represented by a GUID. + /// The globally unique identifier of the entity. + /// The name of the classification. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteClassificationAsync(string guid, string classificationName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNullOrEmpty(classificationName, nameof(classificationName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteClassification"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteClassificationRequest(guid, classificationName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a given classification from an existing entity represented by a GUID. + /// The globally unique identifier of the entity. + /// The name of the classification. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteClassification(string guid, string classificationName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNullOrEmpty(classificationName, nameof(classificationName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteClassification"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteClassificationRequest(guid, classificationName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List classifications for a given entity represented by a GUID. + /// The globally unique identifier of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetClassificationsAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetClassifications"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationsRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List classifications for a given entity represented by a GUID. + /// The globally unique identifier of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetClassifications(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetClassifications"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationsRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add classifications to an existing entity represented by a GUID. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task AddClassificationsAsync(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddClassifications"); + scope.Start(); + try + { + using HttpMessage message = CreateAddClassificationsRequest(guid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add classifications to an existing entity represented by a GUID. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response AddClassifications(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddClassifications"); + scope.Start(); + try + { + using HttpMessage message = CreateAddClassificationsRequest(guid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update classifications to an existing entity represented by a guid. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task UpdateClassificationsAsync(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.UpdateClassifications"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateClassificationsRequest(guid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update classifications to an existing entity represented by a guid. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response UpdateClassifications(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.UpdateClassifications"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateClassificationsRequest(guid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get complete definition of an entity given its type and unique attribute. + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: + /// attr:\<attrName>=<attrValue>. + /// NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. + /// The REST request would look something like this: + /// GET /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// + /// The name of the type. + /// Whether to return minimal information for referred entities. + /// Whether to ignore relationship attributes. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetByUniqueAttributesAsync(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetByUniqueAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreateGetByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get complete definition of an entity given its type and unique attribute. + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: + /// attr:\<attrName>=<attrValue>. + /// NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. + /// The REST request would look something like this: + /// GET /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// + /// The name of the type. + /// Whether to return minimal information for referred entities. + /// Whether to ignore relationship attributes. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetByUniqueAttributes(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetByUniqueAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreateGetByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Update entity partially - Allow a subset of attributes to be updated on + /// an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. + /// Null updates are not possible. + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: + /// attr:<attrName>=<attrValue>. + /// NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. + /// The REST request would look something like this: + /// PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.PartialUpdateEntityByUniqueAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateEntityByUniqueAttributesRequest(typeName, content, attrQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Update entity partially - Allow a subset of attributes to be updated on + /// an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. + /// Null updates are not possible. + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: + /// attr:<attrName>=<attrValue>. + /// NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. + /// The REST request would look something like this: + /// PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response PartialUpdateEntityByUniqueAttributes(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.PartialUpdateEntityByUniqueAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateEntityByUniqueAttributesRequest(typeName, content, attrQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete an entity identified by its type and unique attributes. + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: + /// attr:\<attrName>=\<attrValue>. + /// NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. + /// The REST request would look something like this: + /// DELETE /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// + /// The name of the type. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task DeleteByUniqueAttributeAsync(string typeName, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteByUniqueAttributeRequest(typeName, attrQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete an entity identified by its type and unique attributes. + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: + /// attr:\<attrName>=\<attrValue>. + /// NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. + /// The REST request would look something like this: + /// DELETE /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// + /// The name of the type. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response DeleteByUniqueAttribute(string typeName, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteByUniqueAttributeRequest(typeName, attrQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a given classification from an entity identified by its type and unique attributes. + /// The name of the type. + /// The name of the classification. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteClassificationByUniqueAttributeAsync(string typeName, string classificationName, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNullOrEmpty(classificationName, nameof(classificationName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteClassificationByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteClassificationByUniqueAttributeRequest(typeName, classificationName, attrQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a given classification from an entity identified by its type and unique attributes. + /// The name of the type. + /// The name of the classification. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteClassificationByUniqueAttribute(string typeName, string classificationName, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNullOrEmpty(classificationName, nameof(classificationName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteClassificationByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteClassificationByUniqueAttributeRequest(typeName, classificationName, attrQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add classification to the entity identified by its type and unique attributes. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task AddClassificationsByUniqueAttributeAsync(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddClassificationsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateAddClassificationsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add classification to the entity identified by its type and unique attributes. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response AddClassificationsByUniqueAttribute(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddClassificationsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateAddClassificationsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update classification on an entity identified by its type and unique attributes. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task UpdateClassificationsByUniqueAttributeAsync(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.UpdateClassificationsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateClassificationsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update classification on an entity identified by its type and unique attributes. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response UpdateClassificationsByUniqueAttribute(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.UpdateClassificationsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateClassificationsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Set classifications on entities in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task SetClassificationsAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.SetClassifications"); + scope.Start(); + try + { + using HttpMessage message = CreateSetClassificationsRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Set classifications on entities in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response SetClassifications(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.SetClassifications"); + scope.Start(); + try + { + using HttpMessage message = CreateSetClassificationsRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Bulk API to retrieve list of entities identified by its unique attributes. + /// + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format + /// + /// typeName=\<typeName>&attr_1:\<attrName>=\<attrValue>&attr_2:\<attrName>=\<attrValue>&attr_3:\<attrName>=\<attrValue> + /// + /// NOTE: The attrName should be an unique attribute for the given entity-type + /// + /// The REST request would look something like this + /// + /// GET /v2/entity/bulk/uniqueAttribute/type/hive_db?attr_0:qualifiedName=db1@cl1&attr_2:qualifiedName=db2@cl1 + /// + /// The name of the type. + /// Whether to return minimal information for referred entities. + /// Whether to ignore relationship attributes. + /// Qualified name of an entity. E.g. to find 2 entities you can set attrs_0:qualifiedName=db1@cl1&attrs_2:qualifiedName=db2@cl1. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetEntitiesByUniqueAttributesAsync(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrNQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetEntitiesByUniqueAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntitiesByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrNQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Bulk API to retrieve list of entities identified by its unique attributes. + /// + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format + /// + /// typeName=\<typeName>&attr_1:\<attrName>=\<attrValue>&attr_2:\<attrName>=\<attrValue>&attr_3:\<attrName>=\<attrValue> + /// + /// NOTE: The attrName should be an unique attribute for the given entity-type + /// + /// The REST request would look something like this + /// + /// GET /v2/entity/bulk/uniqueAttribute/type/hive_db?attr_0:qualifiedName=db1@cl1&attr_2:qualifiedName=db2@cl1 + /// + /// The name of the type. + /// Whether to return minimal information for referred entities. + /// Whether to ignore relationship attributes. + /// Qualified name of an entity. E.g. to find 2 entities you can set attrs_0:qualifiedName=db1@cl1&attrs_2:qualifiedName=db2@cl1. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetEntitiesByUniqueAttributes(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrNQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetEntitiesByUniqueAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntitiesByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrNQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get entity header given its GUID. + /// The globally unique identifier of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetHeaderAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetHeader"); + scope.Start(); + try + { + using HttpMessage message = CreateGetHeaderRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get entity header given its GUID. + /// The globally unique identifier of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetHeader(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetHeader"); + scope.Start(); + try + { + using HttpMessage message = CreateGetHeaderRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Remove business metadata from an entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteBusinessMetadataAsync(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteBusinessMetadata"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteBusinessMetadataRequest(guid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Remove business metadata from an entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteBusinessMetadata(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteBusinessMetadata"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteBusinessMetadataRequest(guid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add business metadata to an entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether to overwrite the existing business metadata on the entity or not, default is false. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task AddOrUpdateBusinessMetadataAsync(string guid, RequestContent content, bool? isOverwrite = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddOrUpdateBusinessMetadata"); + scope.Start(); + try + { + using HttpMessage message = CreateAddOrUpdateBusinessMetadataRequest(guid, content, isOverwrite, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add business metadata to an entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether to overwrite the existing business metadata on the entity or not, default is false. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response AddOrUpdateBusinessMetadata(string guid, RequestContent content, bool? isOverwrite = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddOrUpdateBusinessMetadata"); + scope.Start(); + try + { + using HttpMessage message = CreateAddOrUpdateBusinessMetadataRequest(guid, content, isOverwrite, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete business metadata attributes from an entity. + /// The globally unique identifier of the entity. + /// BusinessMetadata name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteBusinessMetadataAttributesAsync(string guid, string bmName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNullOrEmpty(bmName, nameof(bmName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteBusinessMetadataAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteBusinessMetadataAttributesRequest(guid, bmName, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete business metadata attributes from an entity. + /// The globally unique identifier of the entity. + /// BusinessMetadata name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteBusinessMetadataAttributes(string guid, string bmName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNullOrEmpty(bmName, nameof(bmName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteBusinessMetadataAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteBusinessMetadataAttributesRequest(guid, bmName, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add or update business metadata attributes. + /// The globally unique identifier of the entity. + /// BusinessMetadata name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task AddOrUpdateBusinessMetadataAttributesAsync(string guid, string bmName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNullOrEmpty(bmName, nameof(bmName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddOrUpdateBusinessMetadataAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreateAddOrUpdateBusinessMetadataAttributesRequest(guid, bmName, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add or update business metadata attributes. + /// The globally unique identifier of the entity. + /// BusinessMetadata name. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response AddOrUpdateBusinessMetadataAttributes(string guid, string bmName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNullOrEmpty(bmName, nameof(bmName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddOrUpdateBusinessMetadataAttributes"); + scope.Start(); + try + { + using HttpMessage message = CreateAddOrUpdateBusinessMetadataAttributesRequest(guid, bmName, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the sample Template for uploading/creating bulk BusinessMetaData. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task GetSampleBusinessMetadataTemplateAsync(RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetSampleBusinessMetadataTemplate"); + scope.Start(); + try + { + using HttpMessage message = CreateGetSampleBusinessMetadataTemplateRequest(context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the sample Template for uploading/creating bulk BusinessMetaData. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response GetSampleBusinessMetadataTemplate(RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("EntityClient.GetSampleBusinessMetadataTemplate"); + scope.Start(); + try + { + using HttpMessage message = CreateGetSampleBusinessMetadataTemplateRequest(context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Upload the file for creating Business Metadata in BULK. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task ImportBusinessMetadataAsync(RequestContent content, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("EntityClient.ImportBusinessMetadata"); + scope.Start(); + try + { + using HttpMessage message = CreateImportBusinessMetadataRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Upload the file for creating Business Metadata in BULK. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response ImportBusinessMetadata(RequestContent content, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("EntityClient.ImportBusinessMetadata"); + scope.Start(); + try + { + using HttpMessage message = CreateImportBusinessMetadataRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// delete given labels to a given entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteLabelsAsync(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteLabels"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteLabelsRequest(guid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// delete given labels to a given entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteLabels(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteLabels"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteLabelsRequest(guid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Set labels to a given entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task SetLabelsAsync(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.SetLabels"); + scope.Start(); + try + { + using HttpMessage message = CreateSetLabelsRequest(guid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Set labels to a given entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response SetLabels(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.SetLabels"); + scope.Start(); + try + { + using HttpMessage message = CreateSetLabelsRequest(guid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// add given labels to a given entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task AddLabelAsync(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddLabel"); + scope.Start(); + try + { + using HttpMessage message = CreateAddLabelRequest(guid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// add given labels to a given entity. + /// The globally unique identifier of the entity. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response AddLabel(string guid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddLabel"); + scope.Start(); + try + { + using HttpMessage message = CreateAddLabelRequest(guid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete given labels to a given entity identified by its type and unique attributes, if labels is null/empty, no labels will be removed. If any labels in labels set are non-existing labels, they will be ignored, only existing labels will be removed. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: DELETE /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteLabelsByUniqueAttributeAsync(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteLabelsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteLabelsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete given labels to a given entity identified by its type and unique attributes, if labels is null/empty, no labels will be removed. If any labels in labels set are non-existing labels, they will be ignored, only existing labels will be removed. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: DELETE /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteLabelsByUniqueAttribute(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.DeleteLabelsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteLabelsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Set labels to a given entity identified by its type and unique attributes, if labels is null/empty, existing labels will all be removed. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: POST /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task SetLabelsByUniqueAttributeAsync(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.SetLabelsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateSetLabelsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Set labels to a given entity identified by its type and unique attributes, if labels is null/empty, existing labels will all be removed. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: POST /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response SetLabelsByUniqueAttribute(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.SetLabelsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateSetLabelsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add given labels to a given entity identified by its type and unique attributes, if labels is null/empty, no labels will be added. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task AddLabelsByUniqueAttributeAsync(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddLabelsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateAddLabelsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Add given labels to a given entity identified by its type and unique attributes, if labels is null/empty, no labels will be added. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. + /// The name of the type. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The qualified name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response AddLabelsByUniqueAttribute(string typeName, RequestContent content, string attrQualifiedName = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + + using var scope = ClientDiagnostics.CreateScope("EntityClient.AddLabelsByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateAddLabelsByUniqueAttributeRequest(typeName, content, attrQualifiedName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateCreateOrUpdateRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetEntitiesByGuidsRequest(IEnumerable guids, bool? minExtInfo, bool? ignoreRelationships, IEnumerable excludeRelationshipTypes, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/bulk", false); + foreach (var param in guids) + { + uri.AppendQuery("guid", param, true); + } + if (minExtInfo != null) + { + uri.AppendQuery("minExtInfo", minExtInfo.Value, true); + } + if (ignoreRelationships != null) + { + uri.AppendQuery("ignoreRelationships", ignoreRelationships.Value, true); + } + if (excludeRelationshipTypes != null) + { + foreach (var param0 in excludeRelationshipTypes) + { + uri.AppendQuery("excludeRelationshipTypes", param0, true); + } + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCreateOrUpdateEntitiesRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/bulk", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteByGuidsRequest(IEnumerable guids, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/bulk", false); + foreach (var param in guids) + { + uri.AppendQuery("guid", param, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateAddClassificationRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/bulk/classification", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetByGuidRequest(string guid, bool? minExtInfo, bool? ignoreRelationships, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + if (minExtInfo != null) + { + uri.AppendQuery("minExtInfo", minExtInfo.Value, true); + } + if (ignoreRelationships != null) + { + uri.AppendQuery("ignoreRelationships", ignoreRelationships.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreatePartialUpdateEntityAttributeByGuidRequest(string guid, string name, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendQuery("name", name, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteByGuidRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetClassificationRequest(string guid, string classificationName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/classification/", false); + uri.AppendPath(classificationName, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateDeleteClassificationRequest(string guid, string classificationName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/classification/", false); + uri.AppendPath(classificationName, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetClassificationsRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/classifications", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateAddClassificationsRequest(string guid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/classifications", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateUpdateClassificationsRequest(string guid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/classifications", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? minExtInfo, bool? ignoreRelationships, string attrQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + if (minExtInfo != null) + { + uri.AppendQuery("minExtInfo", minExtInfo.Value, true); + } + if (ignoreRelationships != null) + { + uri.AppendQuery("ignoreRelationships", ignoreRelationships.Value, true); + } + if (attrQualifiedName != null) + { + uri.AppendQuery("attr:qualifiedName", attrQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreatePartialUpdateEntityByUniqueAttributesRequest(string typeName, RequestContent content, string attrQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + if (attrQualifiedName != null) + { + uri.AppendQuery("attr:qualifiedName", attrQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteByUniqueAttributeRequest(string typeName, string attrQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + if (attrQualifiedName != null) + { + uri.AppendQuery("attr:qualifiedName", attrQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateDeleteClassificationByUniqueAttributeRequest(string typeName, string classificationName, string attrQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + uri.AppendPath("/classification/", false); + uri.AppendPath(classificationName, true); + if (attrQualifiedName != null) + { + uri.AppendQuery("attr:qualifiedName", attrQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateAddClassificationsByUniqueAttributeRequest(string typeName, RequestContent content, string attrQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + uri.AppendPath("/classifications", false); + if (attrQualifiedName != null) + { + uri.AppendQuery("attr:qualifiedName", attrQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string typeName, RequestContent content, string attrQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + uri.AppendPath("/classifications", false); + if (attrQualifiedName != null) + { + uri.AppendQuery("attr:qualifiedName", attrQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateSetClassificationsRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/bulk/setClassifications", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetEntitiesByUniqueAttributesRequest(string typeName, bool? minExtInfo, bool? ignoreRelationships, string attrNQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/bulk/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + if (minExtInfo != null) + { + uri.AppendQuery("minExtInfo", minExtInfo.Value, true); + } + if (ignoreRelationships != null) + { + uri.AppendQuery("ignoreRelationships", ignoreRelationships.Value, true); + } + if (attrNQualifiedName != null) + { + uri.AppendQuery("attr_N:qualifiedName", attrNQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetHeaderRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/header", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateDeleteBusinessMetadataRequest(string guid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/businessmetadata", false); + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateAddOrUpdateBusinessMetadataRequest(string guid, RequestContent content, bool? isOverwrite, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/businessmetadata", false); + if (isOverwrite != null) + { + uri.AppendQuery("isOverwrite", isOverwrite.Value, true); + } + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteBusinessMetadataAttributesRequest(string guid, string bmName, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/businessmetadata/", false); + uri.AppendPath(bmName, true); + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateAddOrUpdateBusinessMetadataAttributesRequest(string guid, string bmName, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/businessmetadata/", false); + uri.AppendPath(bmName, true); + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetSampleBusinessMetadataTemplateRequest(RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/businessmetadata/import/template", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/octet-stream"); + return message; + } + + internal HttpMessage CreateImportBusinessMetadataRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/businessmetadata/import", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "multipart/form-data"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteLabelsRequest(string guid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/labels", false); + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateSetLabelsRequest(string guid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/labels", false); + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateAddLabelRequest(string guid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/guid/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/labels", false); + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteLabelsByUniqueAttributeRequest(string typeName, RequestContent content, string attrQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + uri.AppendPath("/labels", false); + if (attrQualifiedName != null) + { + uri.AppendQuery("attr:qualifiedName", attrQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateSetLabelsByUniqueAttributeRequest(string typeName, RequestContent content, string attrQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + uri.AppendPath("/labels", false); + if (attrQualifiedName != null) + { + uri.AppendQuery("attr:qualifiedName", attrQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateAddLabelsByUniqueAttributeRequest(string typeName, RequestContent content, string attrQualifiedName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/entity/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + uri.AppendPath("/labels", false); + if (attrQualifiedName != null) + { + uri.AppendQuery("attr:qualifiedName", attrQualifiedName, true); + } + request.Uri = uri; + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier204; + private static ResponseClassifier ResponseClassifier204 => _responseClassifier204 ??= new StatusCodeClassifier(stackalloc ushort[] { 204 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/FiltersClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/FiltersClient.cs new file mode 100644 index 000000000000..f459f77699fc --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/FiltersClient.cs @@ -0,0 +1,218 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Filters service client. + /// The Filters service client. + public partial class FiltersClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of FiltersClient for mocking. + protected FiltersClient() + { + } + + /// Initializes a new instance of FiltersClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public FiltersClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of FiltersClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public FiltersClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get a filter. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetFilterAsync(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("FiltersClient.GetFilter"); + scope.Start(); + try + { + using HttpMessage message = CreateGetFilterRequest(dataSourceName, scanName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a filter. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetFilter(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("FiltersClient.GetFilter"); + scope.Start(); + try + { + using HttpMessage message = CreateGetFilterRequest(dataSourceName, scanName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates or updates a filter. + /// The String to use. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateOrUpdateAsync(string dataSourceName, string scanName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("FiltersClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(dataSourceName, scanName, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates or updates a filter. + /// The String to use. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateOrUpdate(string dataSourceName, string scanName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("FiltersClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(dataSourceName, scanName, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateGetFilterRequest(string dataSourceName, string scanName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendPath("/filters/custom", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCreateOrUpdateRequest(string dataSourceName, string scanName, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200201); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendPath("/filters/custom", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier200201; + private static ResponseClassifier ResponseClassifier200201 => _responseClassifier200201 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 201 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/GlossaryClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/GlossaryClient.cs new file mode 100644 index 000000000000..e841c9179261 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/GlossaryClient.cs @@ -0,0 +1,2759 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Glossary service client. + /// The Glossary service client. + public partial class GlossaryClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of GlossaryClient for mocking. + protected GlossaryClient() + { + } + + /// Initializes a new instance of GlossaryClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public GlossaryClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of GlossaryClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public GlossaryClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get all glossaries registered with Atlas. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// Whether ignore terms and categories. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetGlossariesAsync(int? limit = null, int? offset = null, string sort = null, bool? ignoreTermsAndCategories = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaries"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossariesRequest(limit, offset, sort, ignoreTermsAndCategories, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all glossaries registered with Atlas. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// Whether ignore terms and categories. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetGlossaries(int? limit = null, int? offset = null, string sort = null, bool? ignoreTermsAndCategories = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaries"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossariesRequest(limit, offset, sort, ignoreTermsAndCategories, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create a glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateGlossaryAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create a glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateGlossary(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create glossary category in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateGlossaryCategoriesAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossaryCategories"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryCategoriesRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create glossary category in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateGlossaryCategories(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossaryCategories"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryCategoriesRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create a glossary category. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateGlossaryCategoryAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryCategoryRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create a glossary category. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateGlossaryCategory(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryCategoryRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get specific glossary category by its GUID. + /// The globally unique identifier of the category. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetGlossaryCategoryAsync(string categoryGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryCategoryRequest(categoryGuid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get specific glossary category by its GUID. + /// The globally unique identifier of the category. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetGlossaryCategory(string categoryGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryCategoryRequest(categoryGuid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the given glossary category by its GUID. + /// The globally unique identifier of the category. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task UpdateGlossaryCategoryAsync(string categoryGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.UpdateGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateGlossaryCategoryRequest(categoryGuid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the given glossary category by its GUID. + /// The globally unique identifier of the category. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response UpdateGlossaryCategory(string categoryGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.UpdateGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateGlossaryCategoryRequest(categoryGuid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a glossary category. + /// The globally unique identifier of the category. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteGlossaryCategoryAsync(string categoryGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.DeleteGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteGlossaryCategoryRequest(categoryGuid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a glossary category. + /// The globally unique identifier of the category. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteGlossaryCategory(string categoryGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.DeleteGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteGlossaryCategoryRequest(categoryGuid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the glossary category partially. + /// The globally unique identifier of the category. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task PartialUpdateGlossaryCategoryAsync(string categoryGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.PartialUpdateGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateGlossaryCategoryRequest(categoryGuid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the glossary category partially. + /// The globally unique identifier of the category. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response PartialUpdateGlossaryCategory(string categoryGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.PartialUpdateGlossaryCategory"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateGlossaryCategoryRequest(categoryGuid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all related categories (parent and children). Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. + /// The globally unique identifier of the category. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetRelatedCategoriesAsync(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetRelatedCategories"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelatedCategoriesRequest(categoryGuid, limit, offset, sort, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all related categories (parent and children). Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. + /// The globally unique identifier of the category. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetRelatedCategories(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetRelatedCategories"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelatedCategoriesRequest(categoryGuid, limit, offset, sort, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all terms associated with the specific category. + /// The globally unique identifier of the category. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetCategoryTermsAsync(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetCategoryTerms"); + scope.Start(); + try + { + using HttpMessage message = CreateGetCategoryTermsRequest(categoryGuid, limit, offset, sort, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all terms associated with the specific category. + /// The globally unique identifier of the category. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetCategoryTerms(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(categoryGuid, nameof(categoryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetCategoryTerms"); + scope.Start(); + try + { + using HttpMessage message = CreateGetCategoryTermsRequest(categoryGuid, limit, offset, sort, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create a glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateGlossaryTermAsync(RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryTermRequest(content, includeTermHierarchy, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create a glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateGlossaryTerm(RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryTermRequest(content, includeTermHierarchy, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a specific glossary term by its GUID. + /// The globally unique identifier for glossary term. + /// Whether include term hierarchy. + /// An array of relationship types which need to be excluded. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetGlossaryTermAsync(string termGuid, bool? includeTermHierarchy = null, IEnumerable excludeRelationshipTypeList = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryTermRequest(termGuid, includeTermHierarchy, excludeRelationshipTypeList, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a specific glossary term by its GUID. + /// The globally unique identifier for glossary term. + /// Whether include term hierarchy. + /// An array of relationship types which need to be excluded. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetGlossaryTerm(string termGuid, bool? includeTermHierarchy = null, IEnumerable excludeRelationshipTypeList = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryTermRequest(termGuid, includeTermHierarchy, excludeRelationshipTypeList, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the given glossary term by its GUID. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task UpdateGlossaryTermAsync(string termGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.UpdateGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateGlossaryTermRequest(termGuid, content, includeTermHierarchy, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the given glossary term by its GUID. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response UpdateGlossaryTerm(string termGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.UpdateGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateGlossaryTermRequest(termGuid, content, includeTermHierarchy, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a glossary term. + /// The globally unique identifier for glossary term. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteGlossaryTermAsync(string termGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.DeleteGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteGlossaryTermRequest(termGuid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a glossary term. + /// The globally unique identifier for glossary term. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteGlossaryTerm(string termGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.DeleteGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteGlossaryTermRequest(termGuid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the glossary term partially. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task PartialUpdateGlossaryTermAsync(string termGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.PartialUpdateGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateGlossaryTermRequest(termGuid, content, includeTermHierarchy, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the glossary term partially. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response PartialUpdateGlossaryTerm(string termGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.PartialUpdateGlossaryTerm"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateGlossaryTermRequest(termGuid, content, includeTermHierarchy, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create glossary terms in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateGlossaryTermsAsync(RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossaryTerms"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryTermsRequest(content, includeTermHierarchy, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create glossary terms in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateGlossaryTerms(RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.CreateGlossaryTerms"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateGlossaryTermsRequest(content, includeTermHierarchy, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all related objects assigned with the specified term. + /// The globally unique identifier for glossary term. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetEntitiesAssignedWithTermAsync(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetEntitiesAssignedWithTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntitiesAssignedWithTermRequest(termGuid, limit, offset, sort, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all related objects assigned with the specified term. + /// The globally unique identifier for glossary term. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetEntitiesAssignedWithTerm(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetEntitiesAssignedWithTerm"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntitiesAssignedWithTermRequest(termGuid, limit, offset, sort, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Assign the given term to the provided list of related objects. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task AssignTermToEntitiesAsync(string termGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.AssignTermToEntities"); + scope.Start(); + try + { + using HttpMessage message = CreateAssignTermToEntitiesRequest(termGuid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Assign the given term to the provided list of related objects. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response AssignTermToEntities(string termGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.AssignTermToEntities"); + scope.Start(); + try + { + using HttpMessage message = CreateAssignTermToEntitiesRequest(termGuid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete the term assignment for the given list of related objects. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task RemoveTermAssignmentFromEntitiesAsync(string termGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.RemoveTermAssignmentFromEntities"); + scope.Start(); + try + { + using HttpMessage message = CreateRemoveTermAssignmentFromEntitiesRequest(termGuid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete the term assignment for the given list of related objects. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response RemoveTermAssignmentFromEntities(string termGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.RemoveTermAssignmentFromEntities"); + scope.Start(); + try + { + using HttpMessage message = CreateRemoveTermAssignmentFromEntitiesRequest(termGuid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete the term assignment for the given list of related objects. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteTermAssignmentFromEntitiesAsync(string termGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.DeleteTermAssignmentFromEntities"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteTermAssignmentFromEntitiesRequest(termGuid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete the term assignment for the given list of related objects. + /// The globally unique identifier for glossary term. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteTermAssignmentFromEntities(string termGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.DeleteTermAssignmentFromEntities"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteTermAssignmentFromEntitiesRequest(termGuid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. + /// The globally unique identifier for glossary term. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetRelatedTermsAsync(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetRelatedTerms"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelatedTermsRequest(termGuid, limit, offset, sort, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. + /// The globally unique identifier for glossary term. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetRelatedTerms(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(termGuid, nameof(termGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetRelatedTerms"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelatedTermsRequest(termGuid, limit, offset, sort, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a specific Glossary by its GUID. + /// The globally unique identifier for glossary. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetGlossaryAsync(string glossaryGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryRequest(glossaryGuid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a specific Glossary by its GUID. + /// The globally unique identifier for glossary. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetGlossary(string glossaryGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryRequest(glossaryGuid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the given glossary. + /// The globally unique identifier for glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task UpdateGlossaryAsync(string glossaryGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.UpdateGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateGlossaryRequest(glossaryGuid, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the given glossary. + /// The globally unique identifier for glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response UpdateGlossary(string glossaryGuid, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.UpdateGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateGlossaryRequest(glossaryGuid, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a glossary. + /// The globally unique identifier for glossary. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteGlossaryAsync(string glossaryGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.DeleteGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteGlossaryRequest(glossaryGuid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a glossary. + /// The globally unique identifier for glossary. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteGlossary(string glossaryGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.DeleteGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteGlossaryRequest(glossaryGuid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the categories belonging to a specific glossary. + /// The globally unique identifier for glossary. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetGlossaryCategoriesAsync(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryCategories"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryCategoriesRequest(glossaryGuid, limit, offset, sort, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the categories belonging to a specific glossary. + /// The globally unique identifier for glossary. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetGlossaryCategories(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryCategories"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryCategoriesRequest(glossaryGuid, limit, offset, sort, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the category headers belonging to a specific glossary. + /// The globally unique identifier for glossary. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetGlossaryCategoriesHeadersAsync(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryCategoriesHeaders"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryCategoriesHeadersRequest(glossaryGuid, limit, offset, sort, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the category headers belonging to a specific glossary. + /// The globally unique identifier for glossary. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetGlossaryCategoriesHeaders(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryCategoriesHeaders"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryCategoriesHeadersRequest(glossaryGuid, limit, offset, sort, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a specific glossary with detailed information. + /// The globally unique identifier for glossary. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetDetailedGlossaryAsync(string glossaryGuid, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetDetailedGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateGetDetailedGlossaryRequest(glossaryGuid, includeTermHierarchy, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a specific glossary with detailed information. + /// The globally unique identifier for glossary. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetDetailedGlossary(string glossaryGuid, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetDetailedGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreateGetDetailedGlossaryRequest(glossaryGuid, includeTermHierarchy, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. + /// The globally unique identifier for glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task PartialUpdateGlossaryAsync(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.PartialUpdateGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateGlossaryRequest(glossaryGuid, content, includeTermHierarchy, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. + /// The globally unique identifier for glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response PartialUpdateGlossary(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.PartialUpdateGlossary"); + scope.Start(); + try + { + using HttpMessage message = CreatePartialUpdateGlossaryRequest(glossaryGuid, content, includeTermHierarchy, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get terms belonging to a specific glossary. + /// The globally unique identifier for glossary. + /// Whether include term hierarchy. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetGlossaryTermsAsync(string glossaryGuid, bool? includeTermHierarchy = null, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryTerms"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryTermsRequest(glossaryGuid, includeTermHierarchy, limit, offset, sort, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get terms belonging to a specific glossary. + /// The globally unique identifier for glossary. + /// Whether include term hierarchy. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetGlossaryTerms(string glossaryGuid, bool? includeTermHierarchy = null, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryTerms"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryTermsRequest(glossaryGuid, includeTermHierarchy, limit, offset, sort, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get term headers belonging to a specific glossary. + /// The globally unique identifier for glossary. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetGlossaryTermHeadersAsync(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryTermHeaders"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryTermHeadersRequest(glossaryGuid, limit, offset, sort, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get term headers belonging to a specific glossary. + /// The globally unique identifier for glossary. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// The sort order, ASC (default) or DESC. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetGlossaryTermHeaders(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetGlossaryTermHeaders"); + scope.Start(); + try + { + using HttpMessage message = CreateGetGlossaryTermHeadersRequest(glossaryGuid, limit, offset, sort, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the status of import csv operation. + /// The globally unique identifier for async operation/job. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetImportCsvOperationStatusAsync(string operationGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(operationGuid, nameof(operationGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetImportCsvOperationStatus"); + scope.Start(); + try + { + using HttpMessage message = CreateGetImportCsvOperationStatusRequest(operationGuid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the status of import csv operation. + /// The globally unique identifier for async operation/job. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetImportCsvOperationStatus(string operationGuid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(operationGuid, nameof(operationGuid)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetImportCsvOperationStatus"); + scope.Start(); + try + { + using HttpMessage message = CreateGetImportCsvOperationStatusRequest(operationGuid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Export Glossary Terms as csv file. + /// The globally unique identifier for glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task ExportGlossaryTermsAsCsvAsync(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.ExportGlossaryTermsAsCsv"); + scope.Start(); + try + { + using HttpMessage message = CreateExportGlossaryTermsAsCsvRequest(glossaryGuid, content, includeTermHierarchy, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Export Glossary Terms as csv file. + /// The globally unique identifier for glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response ExportGlossaryTermsAsCsv(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.ExportGlossaryTermsAsCsv"); + scope.Start(); + try + { + using HttpMessage message = CreateExportGlossaryTermsAsCsvRequest(glossaryGuid, content, includeTermHierarchy, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get terms by glossary name. + /// The name of the glossary. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetTermsByGlossaryNameAsync(string glossaryName, int? limit = null, int? offset = null, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryName, nameof(glossaryName)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetTermsByGlossaryName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTermsByGlossaryNameRequest(glossaryName, limit, offset, includeTermHierarchy, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get terms by glossary name. + /// The name of the glossary. + /// The page size - by default there is no paging. + /// The offset for pagination purpose. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetTermsByGlossaryName(string glossaryName, int? limit = null, int? offset = null, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryName, nameof(glossaryName)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.GetTermsByGlossaryName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTermsByGlossaryNameRequest(glossaryName, limit, offset, includeTermHierarchy, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Import Glossary Terms from local csv file. + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The globally unique identifier for glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service that will contain a object once the asynchronous operation on the service has completed. Details of the body schema for the operation's final value are in the Remarks section below. + /// + public virtual async Task> ImportGlossaryTermsViaCsvAsync(WaitUntil waitUntil, string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.ImportGlossaryTermsViaCsv"); + scope.Start(); + try + { + using HttpMessage message = CreateImportGlossaryTermsViaCsvRequest(glossaryGuid, content, includeTermHierarchy, context); + return await ProtocolOperationHelpers.ProcessMessageAsync(_pipeline, message, ClientDiagnostics, "GlossaryClient.ImportGlossaryTermsViaCsv", OperationFinalStateVia.AzureAsyncOperation, context, waitUntil).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Import Glossary Terms from local csv file. + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The globally unique identifier for glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service that will contain a object once the asynchronous operation on the service has completed. Details of the body schema for the operation's final value are in the Remarks section below. + /// + public virtual Operation ImportGlossaryTermsViaCsv(WaitUntil waitUntil, string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryGuid, nameof(glossaryGuid)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.ImportGlossaryTermsViaCsv"); + scope.Start(); + try + { + using HttpMessage message = CreateImportGlossaryTermsViaCsvRequest(glossaryGuid, content, includeTermHierarchy, context); + return ProtocolOperationHelpers.ProcessMessage(_pipeline, message, ClientDiagnostics, "GlossaryClient.ImportGlossaryTermsViaCsv", OperationFinalStateVia.AzureAsyncOperation, context, waitUntil); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Import Glossary Terms from local csv file by glossaryName. + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The name of the glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service that will contain a object once the asynchronous operation on the service has completed. Details of the body schema for the operation's final value are in the Remarks section below. + /// + public virtual async Task> ImportGlossaryTermsViaCsvByGlossaryNameAsync(WaitUntil waitUntil, string glossaryName, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryName, nameof(glossaryName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.ImportGlossaryTermsViaCsvByGlossaryName"); + scope.Start(); + try + { + using HttpMessage message = CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(glossaryName, content, includeTermHierarchy, context); + return await ProtocolOperationHelpers.ProcessMessageAsync(_pipeline, message, ClientDiagnostics, "GlossaryClient.ImportGlossaryTermsViaCsvByGlossaryName", OperationFinalStateVia.AzureAsyncOperation, context, waitUntil).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Import Glossary Terms from local csv file by glossaryName. + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The name of the glossary. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// Whether include term hierarchy. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service that will contain a object once the asynchronous operation on the service has completed. Details of the body schema for the operation's final value are in the Remarks section below. + /// + public virtual Operation ImportGlossaryTermsViaCsvByGlossaryName(WaitUntil waitUntil, string glossaryName, RequestContent content, bool? includeTermHierarchy = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(glossaryName, nameof(glossaryName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("GlossaryClient.ImportGlossaryTermsViaCsvByGlossaryName"); + scope.Start(); + try + { + using HttpMessage message = CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(glossaryName, content, includeTermHierarchy, context); + return ProtocolOperationHelpers.ProcessMessage(_pipeline, message, ClientDiagnostics, "GlossaryClient.ImportGlossaryTermsViaCsvByGlossaryName", OperationFinalStateVia.AzureAsyncOperation, context, waitUntil); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateGetGlossariesRequest(int? limit, int? offset, string sort, bool? ignoreTermsAndCategories, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary", false); + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (sort != null) + { + uri.AppendQuery("sort", sort, true); + } + if (ignoreTermsAndCategories != null) + { + uri.AppendQuery("ignoreTermsAndCategories", ignoreTermsAndCategories.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCreateGlossaryRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/categories", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateCreateGlossaryCategoryRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/category", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/category/", false); + uri.AppendPath(categoryGuid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateUpdateGlossaryCategoryRequest(string categoryGuid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/category/", false); + uri.AppendPath(categoryGuid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteGlossaryCategoryRequest(string categoryGuid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/category/", false); + uri.AppendPath(categoryGuid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreatePartialUpdateGlossaryCategoryRequest(string categoryGuid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/category/", false); + uri.AppendPath(categoryGuid, true); + uri.AppendPath("/partial", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetRelatedCategoriesRequest(string categoryGuid, int? limit, int? offset, string sort, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/category/", false); + uri.AppendPath(categoryGuid, true); + uri.AppendPath("/related", false); + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (sort != null) + { + uri.AppendQuery("sort", sort, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limit, int? offset, string sort, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/category/", false); + uri.AppendPath(categoryGuid, true); + uri.AppendPath("/terms", false); + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (sort != null) + { + uri.AppendQuery("sort", sort, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCreateGlossaryTermRequest(RequestContent content, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/term", false); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeTermHierarchy, IEnumerable excludeRelationshipTypeList, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/term/", false); + uri.AppendPath(termGuid, true); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + if (excludeRelationshipTypeList != null) + { + foreach (var param in excludeRelationshipTypeList) + { + uri.AppendQuery("excludeRelationshipTypes", param, true); + } + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateUpdateGlossaryTermRequest(string termGuid, RequestContent content, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/term/", false); + uri.AppendPath(termGuid, true); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteGlossaryTermRequest(string termGuid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/term/", false); + uri.AppendPath(termGuid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, RequestContent content, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/term/", false); + uri.AppendPath(termGuid, true); + uri.AppendPath("/partial", false); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateCreateGlossaryTermsRequest(RequestContent content, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/terms", false); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetEntitiesAssignedWithTermRequest(string termGuid, int? limit, int? offset, string sort, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/terms/", false); + uri.AppendPath(termGuid, true); + uri.AppendPath("/assignedEntities", false); + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (sort != null) + { + uri.AppendQuery("sort", sort, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateAssignTermToEntitiesRequest(string termGuid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/terms/", false); + uri.AppendPath(termGuid, true); + uri.AppendPath("/assignedEntities", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateRemoveTermAssignmentFromEntitiesRequest(string termGuid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/terms/", false); + uri.AppendPath(termGuid, true); + uri.AppendPath("/assignedEntities", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteTermAssignmentFromEntitiesRequest(string termGuid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/terms/", false); + uri.AppendPath(termGuid, true); + uri.AppendPath("/assignedEntities", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetRelatedTermsRequest(string termGuid, int? limit, int? offset, string sort, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/terms/", false); + uri.AppendPath(termGuid, true); + uri.AppendPath("/related", false); + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (sort != null) + { + uri.AppendQuery("sort", sort, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetGlossaryRequest(string glossaryGuid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/", false); + uri.AppendPath(glossaryGuid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateUpdateGlossaryRequest(string glossaryGuid, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/", false); + uri.AppendPath(glossaryGuid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteGlossaryRequest(string glossaryGuid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/", false); + uri.AppendPath(glossaryGuid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetGlossaryCategoriesRequest(string glossaryGuid, int? limit, int? offset, string sort, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/", false); + uri.AppendPath(glossaryGuid, true); + uri.AppendPath("/categories", false); + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (sort != null) + { + uri.AppendQuery("sort", sort, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetGlossaryCategoriesHeadersRequest(string glossaryGuid, int? limit, int? offset, string sort, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/", false); + uri.AppendPath(glossaryGuid, true); + uri.AppendPath("/categories/headers", false); + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (sort != null) + { + uri.AppendQuery("sort", sort, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetDetailedGlossaryRequest(string glossaryGuid, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/", false); + uri.AppendPath(glossaryGuid, true); + uri.AppendPath("/detailed", false); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreatePartialUpdateGlossaryRequest(string glossaryGuid, RequestContent content, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/", false); + uri.AppendPath(glossaryGuid, true); + uri.AppendPath("/partial", false); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetGlossaryTermsRequest(string glossaryGuid, bool? includeTermHierarchy, int? limit, int? offset, string sort, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/", false); + uri.AppendPath(glossaryGuid, true); + uri.AppendPath("/terms", false); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (sort != null) + { + uri.AppendQuery("sort", sort, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetGlossaryTermHeadersRequest(string glossaryGuid, int? limit, int? offset, string sort, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/glossary/", false); + uri.AppendPath(glossaryGuid, true); + uri.AppendPath("/terms/headers", false); + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (sort != null) + { + uri.AppendQuery("sort", sort, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateImportGlossaryTermsViaCsvRequest(string glossaryGuid, RequestContent content, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier202); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/glossary/", false); + uri.AppendPath(glossaryGuid, true); + uri.AppendPath("/terms/import", false); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "multipart/form-data"); + request.Content = content; + return message; + } + + internal HttpMessage CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(string glossaryName, RequestContent content, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier202); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/glossary/name/", false); + uri.AppendPath(glossaryName, true); + uri.AppendPath("/terms/import", false); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "multipart/form-data"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetImportCsvOperationStatusRequest(string operationGuid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/glossary/terms/import/", false); + uri.AppendPath(operationGuid, true); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateExportGlossaryTermsAsCsvRequest(string glossaryGuid, RequestContent content, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/glossary/", false); + uri.AppendPath(glossaryGuid, true); + uri.AppendPath("/terms/export", false); + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "text/csv"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetTermsByGlossaryNameRequest(string glossaryName, int? limit, int? offset, bool? includeTermHierarchy, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/glossary/name/", false); + uri.AppendPath(glossaryName, true); + uri.AppendPath("/terms", false); + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (includeTermHierarchy != null) + { + uri.AppendQuery("includeTermHierarchy", includeTermHierarchy.Value, true); + } + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier204; + private static ResponseClassifier ResponseClassifier204 => _responseClassifier204 ??= new StatusCodeClassifier(stackalloc ushort[] { 204 }); + private static ResponseClassifier _responseClassifier202; + private static ResponseClassifier ResponseClassifier202 => _responseClassifier202 ??= new StatusCodeClassifier(stackalloc ushort[] { 202 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/KeyVaultConnectionsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/KeyVaultConnectionsClient.cs new file mode 100644 index 000000000000..a5e8c1a7a66e --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/KeyVaultConnectionsClient.cs @@ -0,0 +1,357 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The KeyVaultConnections service client. + /// The KeyVaultConnections service client. + public partial class KeyVaultConnectionsClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of KeyVaultConnectionsClient for mocking. + protected KeyVaultConnectionsClient() + { + } + + /// Initializes a new instance of KeyVaultConnectionsClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public KeyVaultConnectionsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of KeyVaultConnectionsClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public KeyVaultConnectionsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Gets key vault information. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetKeyVaultConnectionAsync(string keyVaultName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(keyVaultName, nameof(keyVaultName)); + + using var scope = ClientDiagnostics.CreateScope("KeyVaultConnectionsClient.GetKeyVaultConnection"); + scope.Start(); + try + { + using HttpMessage message = CreateGetKeyVaultConnectionRequest(keyVaultName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets key vault information. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetKeyVaultConnection(string keyVaultName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(keyVaultName, nameof(keyVaultName)); + + using var scope = ClientDiagnostics.CreateScope("KeyVaultConnectionsClient.GetKeyVaultConnection"); + scope.Start(); + try + { + using HttpMessage message = CreateGetKeyVaultConnectionRequest(keyVaultName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates an instance of a key vault connection. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateAsync(string keyVaultName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(keyVaultName, nameof(keyVaultName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("KeyVaultConnectionsClient.Create"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateRequest(keyVaultName, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates an instance of a key vault connection. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Create(string keyVaultName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(keyVaultName, nameof(keyVaultName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("KeyVaultConnectionsClient.Create"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateRequest(keyVaultName, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes the key vault connection associated with the account. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task DeleteAsync(string keyVaultName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(keyVaultName, nameof(keyVaultName)); + + using var scope = ClientDiagnostics.CreateScope("KeyVaultConnectionsClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(keyVaultName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes the key vault connection associated with the account. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Delete(string keyVaultName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(keyVaultName, nameof(keyVaultName)); + + using var scope = ClientDiagnostics.CreateScope("KeyVaultConnectionsClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(keyVaultName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List key vault connections in account. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetKeyVaultConnectionsAsync(RequestContext context = null) + { + return GetKeyVaultConnectionsImplementationAsync("KeyVaultConnectionsClient.GetKeyVaultConnections", context); + } + + private AsyncPageable GetKeyVaultConnectionsImplementationAsync(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetKeyVaultConnectionsRequest(context) + : CreateGetKeyVaultConnectionsNextPageRequest(nextLink, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "value", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// List key vault connections in account. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetKeyVaultConnections(RequestContext context = null) + { + return GetKeyVaultConnectionsImplementation("KeyVaultConnectionsClient.GetKeyVaultConnections", context); + } + + private Pageable GetKeyVaultConnectionsImplementation(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetKeyVaultConnectionsRequest(context) + : CreateGetKeyVaultConnectionsNextPageRequest(nextLink, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateGetKeyVaultConnectionRequest(string keyVaultName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/azureKeyVaults/", false); + uri.AppendPath(keyVaultName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCreateRequest(string keyVaultName, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/azureKeyVaults/", false); + uri.AppendPath(keyVaultName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteRequest(string keyVaultName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/azureKeyVaults/", false); + uri.AppendPath(keyVaultName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetKeyVaultConnectionsRequest(RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/azureKeyVaults", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetKeyVaultConnectionsNextPageRequest(string nextLink, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier200204; + private static ResponseClassifier ResponseClassifier200204 => _responseClassifier200204 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 204 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/LineageClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/LineageClient.cs new file mode 100644 index 000000000000..0ef08256ab9a --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/LineageClient.cs @@ -0,0 +1,364 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Lineage service client. + /// The Lineage service client. + public partial class LineageClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of LineageClient for mocking. + protected LineageClient() + { + } + + /// Initializes a new instance of LineageClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public LineageClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of LineageClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public LineageClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get lineage info of the entity specified by GUID. + /// The globally unique identifier of the entity. + /// The direction of the lineage, which could be INPUT, OUTPUT or BOTH. Allowed values: "BOTH" | "INPUT" | "OUTPUT". + /// The number of hops for lineage. + /// The number of max expanding width in lineage. + /// True to include the parent chain in the response. + /// True to include derived lineage in the response. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetLineageGraphAsync(string guid, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(direction, nameof(direction)); + + using var scope = ClientDiagnostics.CreateScope("LineageClient.GetLineageGraph"); + scope.Start(); + try + { + using HttpMessage message = CreateGetLineageGraphRequest(guid, direction, depth, width, includeParent, getDerivedLineage, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get lineage info of the entity specified by GUID. + /// The globally unique identifier of the entity. + /// The direction of the lineage, which could be INPUT, OUTPUT or BOTH. Allowed values: "BOTH" | "INPUT" | "OUTPUT". + /// The number of hops for lineage. + /// The number of max expanding width in lineage. + /// True to include the parent chain in the response. + /// True to include derived lineage in the response. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetLineageGraph(string guid, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(direction, nameof(direction)); + + using var scope = ClientDiagnostics.CreateScope("LineageClient.GetLineageGraph"); + scope.Start(); + try + { + using HttpMessage message = CreateGetLineageGraphRequest(guid, direction, depth, width, includeParent, getDerivedLineage, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Return immediate next page lineage info about entity with pagination. + /// The globally unique identifier of the entity. + /// The direction of the lineage, which could be INPUT, OUTPUT or BOTH. Allowed values: "BOTH" | "INPUT" | "OUTPUT". + /// True to include derived lineage in the response. + /// The offset for pagination purpose. + /// The page size - by default there is no paging. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task NextPageLineageAsync(string guid, string direction, bool? getDerivedLineage = null, int? offset = null, int? limit = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(direction, nameof(direction)); + + using var scope = ClientDiagnostics.CreateScope("LineageClient.NextPageLineage"); + scope.Start(); + try + { + using HttpMessage message = CreateNextPageLineageRequest(guid, direction, getDerivedLineage, offset, limit, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Return immediate next page lineage info about entity with pagination. + /// The globally unique identifier of the entity. + /// The direction of the lineage, which could be INPUT, OUTPUT or BOTH. Allowed values: "BOTH" | "INPUT" | "OUTPUT". + /// True to include derived lineage in the response. + /// The offset for pagination purpose. + /// The page size - by default there is no paging. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response NextPageLineage(string guid, string direction, bool? getDerivedLineage = null, int? offset = null, int? limit = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + Argument.AssertNotNull(direction, nameof(direction)); + + using var scope = ClientDiagnostics.CreateScope("LineageClient.NextPageLineage"); + scope.Start(); + try + { + using HttpMessage message = CreateNextPageLineageRequest(guid, direction, getDerivedLineage, offset, limit, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Returns lineage info about entity. + /// + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format + /// + /// attr:[attrName]=[attrValue] + /// + /// NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName + /// + /// The name of the type. + /// The direction of the lineage, which could be INPUT, OUTPUT or BOTH. Allowed values: "BOTH" | "INPUT" | "OUTPUT". + /// The number of hops for lineage. + /// The number of max expanding width in lineage. + /// True to include the parent chain in the response. + /// True to include derived lineage in the response. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetLineageByUniqueAttributeAsync(string typeName, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNull(direction, nameof(direction)); + + using var scope = ClientDiagnostics.CreateScope("LineageClient.GetLineageByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateGetLineageByUniqueAttributeRequest(typeName, direction, depth, width, includeParent, getDerivedLineage, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Returns lineage info about entity. + /// + /// In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format + /// + /// attr:[attrName]=[attrValue] + /// + /// NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName + /// + /// The name of the type. + /// The direction of the lineage, which could be INPUT, OUTPUT or BOTH. Allowed values: "BOTH" | "INPUT" | "OUTPUT". + /// The number of hops for lineage. + /// The number of max expanding width in lineage. + /// True to include the parent chain in the response. + /// True to include derived lineage in the response. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetLineageByUniqueAttribute(string typeName, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); + Argument.AssertNotNull(direction, nameof(direction)); + + using var scope = ClientDiagnostics.CreateScope("LineageClient.GetLineageByUniqueAttribute"); + scope.Start(); + try + { + using HttpMessage message = CreateGetLineageByUniqueAttributeRequest(typeName, direction, depth, width, includeParent, getDerivedLineage, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateGetLineageGraphRequest(string guid, string direction, int? depth, int? width, bool? includeParent, bool? getDerivedLineage, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/lineage/", false); + uri.AppendPath(guid, true); + uri.AppendQuery("direction", direction, true); + if (depth != null) + { + uri.AppendQuery("depth", depth.Value, true); + } + if (width != null) + { + uri.AppendQuery("width", width.Value, true); + } + if (includeParent != null) + { + uri.AppendQuery("includeParent", includeParent.Value, true); + } + if (getDerivedLineage != null) + { + uri.AppendQuery("getDerivedLineage", getDerivedLineage.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateNextPageLineageRequest(string guid, string direction, bool? getDerivedLineage, int? offset, int? limit, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/lineage/", false); + uri.AppendPath(guid, true); + uri.AppendPath("/next/", false); + uri.AppendQuery("direction", direction, true); + if (getDerivedLineage != null) + { + uri.AppendQuery("getDerivedLineage", getDerivedLineage.Value, true); + } + if (offset != null) + { + uri.AppendQuery("offset", offset.Value, true); + } + if (limit != null) + { + uri.AppendQuery("limit", limit.Value, true); + } + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetLineageByUniqueAttributeRequest(string typeName, string direction, int? depth, int? width, bool? includeParent, bool? getDerivedLineage, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/lineage/uniqueAttribute/type/", false); + uri.AppendPath(typeName, true); + uri.AppendQuery("direction", direction, true); + if (depth != null) + { + uri.AppendQuery("depth", depth.Value, true); + } + if (width != null) + { + uri.AppendQuery("width", width.Value, true); + } + if (includeParent != null) + { + uri.AppendQuery("includeParent", includeParent.Value, true); + } + if (getDerivedLineage != null) + { + uri.AppendQuery("getDerivedLineage", getDerivedLineage.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/MetadataPolicyClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/MetadataPolicyClient.cs new file mode 100644 index 000000000000..d23e5fd5bc12 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/MetadataPolicyClient.cs @@ -0,0 +1,296 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The MetadataPolicy service client. + /// The MetadataPolicy service client. + public partial class MetadataPolicyClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of MetadataPolicyClient for mocking. + protected MetadataPolicyClient() + { + } + + /// Initializes a new instance of MetadataPolicyClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public MetadataPolicyClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of MetadataPolicyClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public MetadataPolicyClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Updates a metadata policy. + /// Unique policy id. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task UpdateAsync(string policyId, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(policyId, nameof(policyId)); + + using var scope = ClientDiagnostics.CreateScope("MetadataPolicyClient.Update"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateRequest(policyId, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Updates a metadata policy. + /// Unique policy id. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Update(string policyId, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(policyId, nameof(policyId)); + + using var scope = ClientDiagnostics.CreateScope("MetadataPolicyClient.Update"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateRequest(policyId, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets a metadata policy. + /// Id of an existing policy that needs to be fetched. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetMetadataPolicyAsync(string policyId, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(policyId, nameof(policyId)); + + using var scope = ClientDiagnostics.CreateScope("MetadataPolicyClient.GetMetadataPolicy"); + scope.Start(); + try + { + using HttpMessage message = CreateGetMetadataPolicyRequest(policyId, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets a metadata policy. + /// Id of an existing policy that needs to be fetched. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetMetadataPolicy(string policyId, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(policyId, nameof(policyId)); + + using var scope = ClientDiagnostics.CreateScope("MetadataPolicyClient.GetMetadataPolicy"); + scope.Start(); + try + { + using HttpMessage message = CreateGetMetadataPolicyRequest(policyId, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List or Get metadata policies. + /// The name of an existing collection for which one policy needs to be fetched. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetMetadataPoliciesAsync(string collectionName = null, RequestContext context = null) + { + return GetMetadataPoliciesImplementationAsync("MetadataPolicyClient.GetMetadataPolicies", collectionName, context); + } + + private AsyncPageable GetMetadataPoliciesImplementationAsync(string diagnosticsScopeName, string collectionName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetMetadataPoliciesRequest(collectionName, context) + : CreateGetMetadataPoliciesNextPageRequest(nextLink, collectionName, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "values", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// List or Get metadata policies. + /// The name of an existing collection for which one policy needs to be fetched. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetMetadataPolicies(string collectionName = null, RequestContext context = null) + { + return GetMetadataPoliciesImplementation("MetadataPolicyClient.GetMetadataPolicies", collectionName, context); + } + + private Pageable GetMetadataPoliciesImplementation(string diagnosticsScopeName, string collectionName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetMetadataPoliciesRequest(collectionName, context) + : CreateGetMetadataPoliciesNextPageRequest(nextLink, collectionName, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "values", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateGetMetadataPoliciesRequest(string collectionName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/policyStore", false); + uri.AppendPath("/metadataPolicies", false); + if (collectionName != null) + { + uri.AppendQuery("collectionName", collectionName, true); + } + uri.AppendQuery("api-version", "2021-07-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateUpdateRequest(string policyId, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/policyStore", false); + uri.AppendPath("/metadataPolicies/", false); + uri.AppendPath(policyId, true); + uri.AppendQuery("api-version", "2021-07-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetMetadataPolicyRequest(string policyId, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/policyStore", false); + uri.AppendPath("/metadataPolicies/", false); + uri.AppendPath(policyId, true); + uri.AppendQuery("api-version", "2021-07-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetMetadataPoliciesNextPageRequest(string nextLink, string collectionName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/policyStore", false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/MetadataRolesClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/MetadataRolesClient.cs new file mode 100644 index 000000000000..17dfab81da66 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/MetadataRolesClient.cs @@ -0,0 +1,149 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The MetadataRoles service client. + /// The MetadataRoles service client. + public partial class MetadataRolesClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of MetadataRolesClient for mocking. + protected MetadataRolesClient() + { + } + + /// Initializes a new instance of MetadataRolesClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public MetadataRolesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of MetadataRolesClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public MetadataRolesClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Lists roles for Purview Account. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetMetadataRolesAsync(RequestContext context = null) + { + return GetMetadataRolesImplementationAsync("MetadataRolesClient.GetMetadataRoles", context); + } + + private AsyncPageable GetMetadataRolesImplementationAsync(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetMetadataRolesRequest(context) + : CreateGetMetadataRolesNextPageRequest(nextLink, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "values", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// Lists roles for Purview Account. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetMetadataRoles(RequestContext context = null) + { + return GetMetadataRolesImplementation("MetadataRolesClient.GetMetadataRoles", context); + } + + private Pageable GetMetadataRolesImplementation(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetMetadataRolesRequest(context) + : CreateGetMetadataRolesNextPageRequest(nextLink, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "values", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateGetMetadataRolesRequest(RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/policyStore", false); + uri.AppendPath("/metadataRoles", false); + uri.AppendQuery("api-version", "2021-07-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetMetadataRolesNextPageRequest(string nextLink, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/policyStore", false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PolicyElementsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PolicyElementsClient.cs new file mode 100644 index 000000000000..ed8c2cd9ab7b --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PolicyElementsClient.cs @@ -0,0 +1,164 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The PolicyElements service client. + /// The PolicyElements service client. + public partial class PolicyElementsClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of PolicyElementsClient for mocking. + protected PolicyElementsClient() + { + } + + /// Initializes a new instance of PolicyElementsClient. + /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public PolicyElementsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of PolicyElementsClient. + /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public PolicyElementsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get policies for given scope. + /// Scope. + /// Optional value to filter policies based on hierarchy of resources. It is of type enum with possible values: AtScope, ChildrenScope, None, All. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetPolicyElementsAsync(string scope, string filter = null, RequestContext context = null) + { + Argument.AssertNotNull(scope, nameof(scope)); + + return GetPolicyElementsImplementationAsync("PolicyElementsClient.GetPolicyElements", scope, filter, context); + } + + private AsyncPageable GetPolicyElementsImplementationAsync(string diagnosticsScopeName, string scope, string filter, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetPolicyElementsRequest(scope, filter, context) + : CreateGetPolicyElementsNextPageRequest(nextLink, scope, filter, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "elements", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// Get policies for given scope. + /// Scope. + /// Optional value to filter policies based on hierarchy of resources. It is of type enum with possible values: AtScope, ChildrenScope, None, All. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetPolicyElements(string scope, string filter = null, RequestContext context = null) + { + Argument.AssertNotNull(scope, nameof(scope)); + + return GetPolicyElementsImplementation("PolicyElementsClient.GetPolicyElements", scope, filter, context); + } + + private Pageable GetPolicyElementsImplementation(string diagnosticsScopeName, string scope, string filter, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetPolicyElementsRequest(scope, filter, context) + : CreateGetPolicyElementsNextPageRequest(nextLink, scope, filter, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "elements", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateGetPolicyElementsRequest(string scope, string filter, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/pds", false); + uri.AppendPath("/policy-elements", false); + uri.AppendQuery("scope", scope, true); + uri.AppendQuery("api-version", "2022-11-01-preview", true); + if (filter != null) + { + uri.AppendQuery("filter", filter, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetPolicyElementsNextPageRequest(string nextLink, string scope, string filter, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/pds", false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PolicyEventsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PolicyEventsClient.cs new file mode 100644 index 000000000000..18d4c2f93e50 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PolicyEventsClient.cs @@ -0,0 +1,135 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The PolicyEvents service client. + /// The PolicyEvents service client. + public partial class PolicyEventsClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of PolicyEventsClient for mocking. + protected PolicyEventsClient() + { + } + + /// Initializes a new instance of PolicyEventsClient. + /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public PolicyEventsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of PolicyEventsClient. + /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public PolicyEventsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get policy events for given scope. + /// Scope. + /// The sync token. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetPolicyEventsAsync(string scope, string syncToken, RequestContext context = null) + { + Argument.AssertNotNull(scope, nameof(scope)); + Argument.AssertNotNull(syncToken, nameof(syncToken)); + + using var scope0 = ClientDiagnostics.CreateScope("PolicyEventsClient.GetPolicyEvents"); + scope0.Start(); + try + { + using HttpMessage message = CreateGetPolicyEventsRequest(scope, syncToken, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope0.Failed(e); + throw; + } + } + + /// Get policy events for given scope. + /// Scope. + /// The sync token. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetPolicyEvents(string scope, string syncToken, RequestContext context = null) + { + Argument.AssertNotNull(scope, nameof(scope)); + Argument.AssertNotNull(syncToken, nameof(syncToken)); + + using var scope0 = ClientDiagnostics.CreateScope("PolicyEventsClient.GetPolicyEvents"); + scope0.Start(); + try + { + using HttpMessage message = CreateGetPolicyEventsRequest(scope, syncToken, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope0.Failed(e); + throw; + } + } + + internal HttpMessage CreateGetPolicyEventsRequest(string scope, string syncToken, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200304); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/pds", false); + uri.AppendPath("/policy-events", false); + uri.AppendQuery("scope", scope, true); + uri.AppendQuery("syncToken", syncToken, true); + uri.AppendQuery("api-version", "2022-11-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200304; + private static ResponseClassifier ResponseClassifier200304 => _responseClassifier200304 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 304 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PurviewPDSClientOptions.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PurviewPDSClientOptions.cs new file mode 100644 index 000000000000..b14bdfa1cef4 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PurviewPDSClientOptions.cs @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using Azure.Core; + +namespace Azure.Analytics.Purview.Share +{ + /// Client options for PurviewPDSClient library clients. + public partial class PurviewPDSClientOptions : ClientOptions + { + private const ServiceVersion LatestVersion = ServiceVersion.V2022_11_01_Preview; + + /// The version of the service to use. + public enum ServiceVersion + { + /// Service version "2018-12-01-preview". + V2018_12_01_Preview = 1, + /// Service version "2021-07-01-preview". + V2021_07_01_Preview = 2, + /// Service version "2021-09-01-preview". + V2021_09_01_Preview = 3, + /// Service version "2022-03-01-preview". + V2022_03_01_Preview = 4, + /// Service version "2022-11-01-preview". + V2022_11_01_Preview = 5, + } + + internal string Version { get; } + + /// Initializes new instance of PurviewPDSClientOptions. + public PurviewPDSClientOptions(ServiceVersion version = LatestVersion) + { + Version = version switch + { + ServiceVersion.V2018_12_01_Preview => "2018-12-01-preview", + ServiceVersion.V2021_07_01_Preview => "2021-07-01-preview", + ServiceVersion.V2021_09_01_Preview => "2021-09-01-preview", + ServiceVersion.V2022_03_01_Preview => "2022-03-01-preview", + ServiceVersion.V2022_11_01_Preview => "2022-11-01-preview", + _ => throw new NotSupportedException() + }; + } + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PurviewShareClientOptions.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PurviewShareClientOptions.cs deleted file mode 100644 index bb53fc8dbcf0..000000000000 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/PurviewShareClientOptions.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using Azure.Core; - -namespace Azure.Analytics.Purview.Share -{ - /// Client options for PurviewShareClient library clients. - public partial class PurviewShareClientOptions : ClientOptions - { - private const ServiceVersion LatestVersion = ServiceVersion.V2021_09_01_Preview; - - /// The version of the service to use. - public enum ServiceVersion - { - /// Service version "2021-09-01-preview". - V2021_09_01_Preview = 1, - } - - internal string Version { get; } - - /// Initializes new instance of PurviewShareClientOptions. - public PurviewShareClientOptions(ServiceVersion version = LatestVersion) - { - Version = version switch - { - ServiceVersion.V2021_09_01_Preview => "2021-09-01-preview", - _ => throw new NotSupportedException() - }; - } - } -} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedAssetsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedAssetsClient.cs index a92b88f788eb..046543bef447 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedAssetsClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedAssetsClient.cs @@ -23,7 +23,6 @@ public partial class ReceivedAssetsClient private readonly TokenCredential _tokenCredential; private readonly HttpPipeline _pipeline; private readonly string _endpoint; - private readonly string _apiVersion; /// The ClientDiagnostics is used to provide tracing support for the client library. internal ClientDiagnostics ClientDiagnostics { get; } @@ -40,7 +39,7 @@ protected ReceivedAssetsClient() /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. /// A credential used to authenticate to an Azure Service. /// or is null. - public ReceivedAssetsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewShareClientOptions()) + public ReceivedAssetsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) { } @@ -49,17 +48,16 @@ protected ReceivedAssetsClient() /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. /// or is null. - public ReceivedAssetsClient(string endpoint, TokenCredential credential, PurviewShareClientOptions options) + public ReceivedAssetsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) { Argument.AssertNotNull(endpoint, nameof(endpoint)); Argument.AssertNotNull(credential, nameof(credential)); - options ??= new PurviewShareClientOptions(); + options ??= new PurviewPDSClientOptions(); ClientDiagnostics = new ClientDiagnostics(options, true); _tokenCredential = credential; _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); _endpoint = endpoint; - _apiVersion = options.Version; } /// List source asset of a received share. @@ -138,7 +136,7 @@ internal HttpMessage CreateGetReceivedAssetsRequest(string receivedShareName, st uri.AppendPath("/receivedShares/", false); uri.AppendPath(receivedShareName, true); uri.AppendPath("/receivedAssets", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); if (skipToken != null) { uri.AppendQuery("skipToken", skipToken, true); diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedInvitationsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedInvitationsClient.cs index a97ac6e1d216..a858ed19c33a 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedInvitationsClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedInvitationsClient.cs @@ -24,7 +24,6 @@ public partial class ReceivedInvitationsClient private readonly TokenCredential _tokenCredential; private readonly HttpPipeline _pipeline; private readonly string _endpoint; - private readonly string _apiVersion; /// The ClientDiagnostics is used to provide tracing support for the client library. internal ClientDiagnostics ClientDiagnostics { get; } @@ -41,7 +40,7 @@ protected ReceivedInvitationsClient() /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. /// A credential used to authenticate to an Azure Service. /// or is null. - public ReceivedInvitationsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewShareClientOptions()) + public ReceivedInvitationsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) { } @@ -50,17 +49,16 @@ protected ReceivedInvitationsClient() /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. /// or is null. - public ReceivedInvitationsClient(string endpoint, TokenCredential credential, PurviewShareClientOptions options) + public ReceivedInvitationsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) { Argument.AssertNotNull(endpoint, nameof(endpoint)); Argument.AssertNotNull(credential, nameof(credential)); - options ??= new PurviewShareClientOptions(); + options ??= new PurviewPDSClientOptions(); ClientDiagnostics = new ClientDiagnostics(options, true); _tokenCredential = credential; _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); _endpoint = endpoint; - _apiVersion = options.Version; } /// Gets the received invitation identified by name. @@ -241,7 +239,7 @@ internal HttpMessage CreateGetReceivedInvitationsRequest(string skipToken, strin var uri = new RawRequestUriBuilder(); uri.AppendRaw(_endpoint, false); uri.AppendPath("/receivedInvitations", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); if (skipToken != null) { uri.AppendQuery("skipToken", skipToken, true); @@ -268,7 +266,7 @@ internal HttpMessage CreateGetReceivedInvitationRequest(string receivedInvitatio uri.AppendRaw(_endpoint, false); uri.AppendPath("/receivedInvitations/", false); uri.AppendPath(receivedInvitationName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; @@ -284,7 +282,7 @@ internal HttpMessage CreateRejectRequest(string receivedInvitationName, RequestC uri.AppendPath("/receivedInvitations/", false); uri.AppendPath(receivedInvitationName, true); uri.AppendPath(":reject", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; if (repeatabilityRequestId != null) { diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedSharesClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedSharesClient.cs index 3e8d3441a62f..eecab6a92df8 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedSharesClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ReceivedSharesClient.cs @@ -24,7 +24,6 @@ public partial class ReceivedSharesClient private readonly TokenCredential _tokenCredential; private readonly HttpPipeline _pipeline; private readonly string _endpoint; - private readonly string _apiVersion; /// The ClientDiagnostics is used to provide tracing support for the client library. internal ClientDiagnostics ClientDiagnostics { get; } @@ -41,7 +40,7 @@ protected ReceivedSharesClient() /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. /// A credential used to authenticate to an Azure Service. /// or is null. - public ReceivedSharesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewShareClientOptions()) + public ReceivedSharesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) { } @@ -50,17 +49,16 @@ protected ReceivedSharesClient() /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. /// or is null. - public ReceivedSharesClient(string endpoint, TokenCredential credential, PurviewShareClientOptions options) + public ReceivedSharesClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) { Argument.AssertNotNull(endpoint, nameof(endpoint)); Argument.AssertNotNull(credential, nameof(credential)); - options ??= new PurviewShareClientOptions(); + options ??= new PurviewPDSClientOptions(); ClientDiagnostics = new ClientDiagnostics(options, true); _tokenCredential = credential; _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); _endpoint = endpoint; - _apiVersion = options.Version; } /// Get a received share by name. @@ -293,7 +291,7 @@ internal HttpMessage CreateGetReceivedSharesRequest(string skipToken, string fil var uri = new RawRequestUriBuilder(); uri.AppendRaw(_endpoint, false); uri.AppendPath("/receivedShares", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); if (skipToken != null) { uri.AppendQuery("skipToken", skipToken, true); @@ -320,7 +318,7 @@ internal HttpMessage CreateGetReceivedShareRequest(string receivedShareName, Req uri.AppendRaw(_endpoint, false); uri.AppendPath("/receivedShares/", false); uri.AppendPath(receivedShareName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; @@ -335,7 +333,7 @@ internal HttpMessage CreateCreateRequest(string receivedShareName, RequestConten uri.AppendRaw(_endpoint, false); uri.AppendPath("/receivedShares/", false); uri.AppendPath(receivedShareName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); @@ -352,7 +350,7 @@ internal HttpMessage CreateDeleteRequest(string receivedShareName, RequestContex uri.AppendRaw(_endpoint, false); uri.AppendPath("/receivedShares/", false); uri.AppendPath(receivedShareName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/RelationshipClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/RelationshipClient.cs new file mode 100644 index 000000000000..1f5696faf564 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/RelationshipClient.cs @@ -0,0 +1,338 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Relationship service client. + /// The Relationship service client. + public partial class RelationshipClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of RelationshipClient for mocking. + protected RelationshipClient() + { + } + + /// Initializes a new instance of RelationshipClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public RelationshipClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of RelationshipClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public RelationshipClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Create a new relationship between entities. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("RelationshipClient.Create"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Create a new relationship between entities. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Create(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("RelationshipClient.Create"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update an existing relationship between entities. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task UpdateAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("RelationshipClient.Update"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update an existing relationship between entities. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Update(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("RelationshipClient.Update"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get relationship information between entities by its GUID. + /// The globally unique identifier of the relationship. + /// Limits whether includes extended information. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetRelationshipAsync(string guid, bool? extendedInfo = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("RelationshipClient.GetRelationship"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelationshipRequest(guid, extendedInfo, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get relationship information between entities by its GUID. + /// The globally unique identifier of the relationship. + /// Limits whether includes extended information. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetRelationship(string guid, bool? extendedInfo = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("RelationshipClient.GetRelationship"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelationshipRequest(guid, extendedInfo, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a relationship between entities by its GUID. + /// The globally unique identifier of the relationship. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("RelationshipClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete a relationship between entities by its GUID. + /// The globally unique identifier of the relationship. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response Delete(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("RelationshipClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateCreateRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/relationship", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateUpdateRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/relationship", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetRelationshipRequest(string guid, bool? extendedInfo, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/relationship/guid/", false); + uri.AppendPath(guid, true); + if (extendedInfo != null) + { + uri.AppendQuery("extendedInfo", extendedInfo.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateDeleteRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/relationship/guid/", false); + uri.AppendPath(guid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier204; + private static ResponseClassifier ResponseClassifier204 => _responseClassifier204 ??= new StatusCodeClassifier(stackalloc ushort[] { 204 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScanResultClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScanResultClient.cs new file mode 100644 index 000000000000..896ae88d36ba --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScanResultClient.cs @@ -0,0 +1,333 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The ScanResult service client. + /// The ScanResult service client. + public partial class ScanResultClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of ScanResultClient for mocking. + protected ScanResultClient() + { + } + + /// Initializes a new instance of ScanResultClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public ScanResultClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of ScanResultClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public ScanResultClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Runs the scan. + /// The String to use. + /// The String to use. + /// The String to use. + /// The ScanLevelType to use. Allowed values: "Full" | "Incremental". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task RunScanAsync(string dataSourceName, string scanName, string runId, string scanLevel = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + Argument.AssertNotNullOrEmpty(runId, nameof(runId)); + + using var scope = ClientDiagnostics.CreateScope("ScanResultClient.RunScan"); + scope.Start(); + try + { + using HttpMessage message = CreateRunScanRequest(dataSourceName, scanName, runId, scanLevel, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Runs the scan. + /// The String to use. + /// The String to use. + /// The String to use. + /// The ScanLevelType to use. Allowed values: "Full" | "Incremental". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response RunScan(string dataSourceName, string scanName, string runId, string scanLevel = null, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + Argument.AssertNotNullOrEmpty(runId, nameof(runId)); + + using var scope = ClientDiagnostics.CreateScope("ScanResultClient.RunScan"); + scope.Start(); + try + { + using HttpMessage message = CreateRunScanRequest(dataSourceName, scanName, runId, scanLevel, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Cancels a scan. + /// The String to use. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CancelScanAsync(string dataSourceName, string scanName, string runId, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + Argument.AssertNotNullOrEmpty(runId, nameof(runId)); + + using var scope = ClientDiagnostics.CreateScope("ScanResultClient.CancelScan"); + scope.Start(); + try + { + using HttpMessage message = CreateCancelScanRequest(dataSourceName, scanName, runId, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Cancels a scan. + /// The String to use. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// , or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CancelScan(string dataSourceName, string scanName, string runId, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + Argument.AssertNotNullOrEmpty(runId, nameof(runId)); + + using var scope = ClientDiagnostics.CreateScope("ScanResultClient.CancelScan"); + scope.Start(); + try + { + using HttpMessage message = CreateCancelScanRequest(dataSourceName, scanName, runId, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Lists the scan history of a scan. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetScanHistoriesAsync(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + return GetScanHistoriesImplementationAsync("ScanResultClient.GetScanHistories", dataSourceName, scanName, context); + } + + private AsyncPageable GetScanHistoriesImplementationAsync(string diagnosticsScopeName, string dataSourceName, string scanName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetScanHistoriesRequest(dataSourceName, scanName, context) + : CreateGetScanHistoriesNextPageRequest(nextLink, dataSourceName, scanName, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "value", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// Lists the scan history of a scan. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetScanHistories(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + return GetScanHistoriesImplementation("ScanResultClient.GetScanHistories", dataSourceName, scanName, context); + } + + private Pageable GetScanHistoriesImplementation(string diagnosticsScopeName, string dataSourceName, string scanName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetScanHistoriesRequest(dataSourceName, scanName, context) + : CreateGetScanHistoriesNextPageRequest(nextLink, dataSourceName, scanName, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateRunScanRequest(string dataSourceName, string scanName, string runId, string scanLevel, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier202); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendPath("/runs/", false); + uri.AppendPath(runId, true); + if (scanLevel != null) + { + uri.AppendQuery("scanLevel", scanLevel, true); + } + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCancelScanRequest(string dataSourceName, string scanName, string runId, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier202); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendPath("/runs/", false); + uri.AppendPath(runId, true); + uri.AppendPath("/:cancel", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetScanHistoriesRequest(string dataSourceName, string scanName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendPath("/runs", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetScanHistoriesNextPageRequest(string nextLink, string dataSourceName, string scanName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier202; + private static ResponseClassifier ResponseClassifier202 => _responseClassifier202 ??= new StatusCodeClassifier(stackalloc ushort[] { 202 }); + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScanRulesetsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScanRulesetsClient.cs new file mode 100644 index 000000000000..905aeaaa7786 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScanRulesetsClient.cs @@ -0,0 +1,357 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The ScanRulesets service client. + /// The ScanRulesets service client. + public partial class ScanRulesetsClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of ScanRulesetsClient for mocking. + protected ScanRulesetsClient() + { + } + + /// Initializes a new instance of ScanRulesetsClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public ScanRulesetsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of ScanRulesetsClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public ScanRulesetsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get a scan ruleset. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetScanRulesetAsync(string scanRulesetName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(scanRulesetName, nameof(scanRulesetName)); + + using var scope = ClientDiagnostics.CreateScope("ScanRulesetsClient.GetScanRuleset"); + scope.Start(); + try + { + using HttpMessage message = CreateGetScanRulesetRequest(scanRulesetName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a scan ruleset. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetScanRuleset(string scanRulesetName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(scanRulesetName, nameof(scanRulesetName)); + + using var scope = ClientDiagnostics.CreateScope("ScanRulesetsClient.GetScanRuleset"); + scope.Start(); + try + { + using HttpMessage message = CreateGetScanRulesetRequest(scanRulesetName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates or Updates a scan ruleset. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateOrUpdateAsync(string scanRulesetName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(scanRulesetName, nameof(scanRulesetName)); + + using var scope = ClientDiagnostics.CreateScope("ScanRulesetsClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(scanRulesetName, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates or Updates a scan ruleset. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateOrUpdate(string scanRulesetName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(scanRulesetName, nameof(scanRulesetName)); + + using var scope = ClientDiagnostics.CreateScope("ScanRulesetsClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(scanRulesetName, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes a scan ruleset. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task DeleteAsync(string scanRulesetName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(scanRulesetName, nameof(scanRulesetName)); + + using var scope = ClientDiagnostics.CreateScope("ScanRulesetsClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(scanRulesetName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes a scan ruleset. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Delete(string scanRulesetName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(scanRulesetName, nameof(scanRulesetName)); + + using var scope = ClientDiagnostics.CreateScope("ScanRulesetsClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(scanRulesetName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List scan rulesets in Data catalog. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetScanRulesetsAsync(RequestContext context = null) + { + return GetScanRulesetsImplementationAsync("ScanRulesetsClient.GetScanRulesets", context); + } + + private AsyncPageable GetScanRulesetsImplementationAsync(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetScanRulesetsRequest(context) + : CreateGetScanRulesetsNextPageRequest(nextLink, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "value", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// List scan rulesets in Data catalog. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetScanRulesets(RequestContext context = null) + { + return GetScanRulesetsImplementation("ScanRulesetsClient.GetScanRulesets", context); + } + + private Pageable GetScanRulesetsImplementation(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetScanRulesetsRequest(context) + : CreateGetScanRulesetsNextPageRequest(nextLink, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateGetScanRulesetRequest(string scanRulesetName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/scanrulesets/", false); + uri.AppendPath(scanRulesetName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCreateOrUpdateRequest(string scanRulesetName, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200201); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/scanrulesets/", false); + uri.AppendPath(scanRulesetName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteRequest(string scanRulesetName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/scanrulesets/", false); + uri.AppendPath(scanRulesetName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetScanRulesetsRequest(RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/scanrulesets", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetScanRulesetsNextPageRequest(string nextLink, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier200201; + private static ResponseClassifier ResponseClassifier200201 => _responseClassifier200201 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 201 }); + private static ResponseClassifier _responseClassifier200204; + private static ResponseClassifier ResponseClassifier200204 => _responseClassifier200204 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 204 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScansClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScansClient.cs new file mode 100644 index 000000000000..dbd8cc0f4fe5 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/ScansClient.cs @@ -0,0 +1,389 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Scans service client. + /// The Scans service client. + public partial class ScansClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of ScansClient for mocking. + protected ScansClient() + { + } + + /// Initializes a new instance of ScansClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public ScansClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of ScansClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public ScansClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Creates an instance of a scan. + /// The String to use. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateOrUpdateAsync(string dataSourceName, string scanName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("ScansClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(dataSourceName, scanName, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates an instance of a scan. + /// The String to use. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateOrUpdate(string dataSourceName, string scanName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("ScansClient.CreateOrUpdate"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrUpdateRequest(dataSourceName, scanName, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets a scan information. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetScanAsync(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("ScansClient.GetScan"); + scope.Start(); + try + { + using HttpMessage message = CreateGetScanRequest(dataSourceName, scanName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets a scan information. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetScan(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("ScansClient.GetScan"); + scope.Start(); + try + { + using HttpMessage message = CreateGetScanRequest(dataSourceName, scanName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes the scan associated with the data source. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task DeleteAsync(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("ScansClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(dataSourceName, scanName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes the scan associated with the data source. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response Delete(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("ScansClient.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(dataSourceName, scanName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List scans in data source. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetScansByDataSourceAsync(string dataSourceName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + + return GetScansByDataSourceImplementationAsync("ScansClient.GetScansByDataSource", dataSourceName, context); + } + + private AsyncPageable GetScansByDataSourceImplementationAsync(string diagnosticsScopeName, string dataSourceName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetScansByDataSourceRequest(dataSourceName, context) + : CreateGetScansByDataSourceNextPageRequest(nextLink, dataSourceName, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "value", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// List scans in data source. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetScansByDataSource(string dataSourceName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + + return GetScansByDataSourceImplementation("ScansClient.GetScansByDataSource", dataSourceName, context); + } + + private Pageable GetScansByDataSourceImplementation(string diagnosticsScopeName, string dataSourceName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetScansByDataSourceRequest(dataSourceName, context) + : CreateGetScansByDataSourceNextPageRequest(nextLink, dataSourceName, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateCreateOrUpdateRequest(string dataSourceName, string scanName, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200201); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetScanRequest(string dataSourceName, string scanName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateDeleteRequest(string dataSourceName, string scanName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetScansByDataSourceRequest(string dataSourceName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetScansByDataSourceNextPageRequest(string nextLink, string dataSourceName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200201; + private static ResponseClassifier ResponseClassifier200201 => _responseClassifier200201 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 201 }); + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier200204; + private static ResponseClassifier ResponseClassifier200204 => _responseClassifier200204 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 204 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SentShareInvitationsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SentShareInvitationsClient.cs index 98a2b2fde1da..af47449344dc 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SentShareInvitationsClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SentShareInvitationsClient.cs @@ -24,7 +24,6 @@ public partial class SentShareInvitationsClient private readonly TokenCredential _tokenCredential; private readonly HttpPipeline _pipeline; private readonly string _endpoint; - private readonly string _apiVersion; /// The ClientDiagnostics is used to provide tracing support for the client library. internal ClientDiagnostics ClientDiagnostics { get; } @@ -41,7 +40,7 @@ protected SentShareInvitationsClient() /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. /// A credential used to authenticate to an Azure Service. /// or is null. - public SentShareInvitationsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewShareClientOptions()) + public SentShareInvitationsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) { } @@ -50,17 +49,16 @@ protected SentShareInvitationsClient() /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. /// or is null. - public SentShareInvitationsClient(string endpoint, TokenCredential credential, PurviewShareClientOptions options) + public SentShareInvitationsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) { Argument.AssertNotNull(endpoint, nameof(endpoint)); Argument.AssertNotNull(credential, nameof(credential)); - options ??= new PurviewShareClientOptions(); + options ??= new PurviewPDSClientOptions(); ClientDiagnostics = new ClientDiagnostics(options, true); _tokenCredential = credential; _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); _endpoint = endpoint; - _apiVersion = options.Version; } /// Get Invitation for a given share. @@ -315,7 +313,7 @@ internal HttpMessage CreateGetSentShareInvitationsRequest(string sentShareName, uri.AppendPath("/sentShares/", false); uri.AppendPath(sentShareName, true); uri.AppendPath("/sentShareInvitations", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); if (skipToken != null) { uri.AppendQuery("skipToken", skipToken, true); @@ -344,7 +342,7 @@ internal HttpMessage CreateGetSentShareInvitationRequest(string sentShareName, s uri.AppendPath(sentShareName, true); uri.AppendPath("/sentShareInvitations/", false); uri.AppendPath(sentShareInvitationName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; @@ -361,7 +359,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string sentShareName, string se uri.AppendPath(sentShareName, true); uri.AppendPath("/sentShareInvitations/", false); uri.AppendPath(sentShareInvitationName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); @@ -380,7 +378,7 @@ internal HttpMessage CreateDeleteRequest(string sentShareName, string sentShareI uri.AppendPath(sentShareName, true); uri.AppendPath("/sentShareInvitations/", false); uri.AppendPath(sentShareInvitationName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SentSharesClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SentSharesClient.cs index 8618a0b33d0f..c9fbd1b7342f 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SentSharesClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SentSharesClient.cs @@ -24,7 +24,6 @@ public partial class SentSharesClient private readonly TokenCredential _tokenCredential; private readonly HttpPipeline _pipeline; private readonly string _endpoint; - private readonly string _apiVersion; /// The ClientDiagnostics is used to provide tracing support for the client library. internal ClientDiagnostics ClientDiagnostics { get; } @@ -41,7 +40,7 @@ protected SentSharesClient() /// The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. /// A credential used to authenticate to an Azure Service. /// or is null. - public SentSharesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewShareClientOptions()) + public SentSharesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) { } @@ -50,17 +49,16 @@ protected SentSharesClient() /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. /// or is null. - public SentSharesClient(string endpoint, TokenCredential credential, PurviewShareClientOptions options) + public SentSharesClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) { Argument.AssertNotNull(endpoint, nameof(endpoint)); Argument.AssertNotNull(credential, nameof(credential)); - options ??= new PurviewShareClientOptions(); + options ??= new PurviewPDSClientOptions(); ClientDiagnostics = new ClientDiagnostics(options, true); _tokenCredential = credential; _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); _endpoint = endpoint; - _apiVersion = options.Version; } /// Get a sent share in the given Purview account. @@ -293,7 +291,7 @@ internal HttpMessage CreateGetSentSharesRequest(string skipToken, string filter, var uri = new RawRequestUriBuilder(); uri.AppendRaw(_endpoint, false); uri.AppendPath("/sentShares", false); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); if (skipToken != null) { uri.AppendQuery("skipToken", skipToken, true); @@ -320,7 +318,7 @@ internal HttpMessage CreateGetSentShareRequest(string sentShareName, RequestCont uri.AppendRaw(_endpoint, false); uri.AppendPath("/sentShares/", false); uri.AppendPath(sentShareName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; @@ -335,7 +333,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string sentShareName, RequestCo uri.AppendRaw(_endpoint, false); uri.AppendPath("/sentShares/", false); uri.AppendPath(sentShareName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); @@ -352,7 +350,7 @@ internal HttpMessage CreateDeleteRequest(string sentShareName, RequestContext co uri.AppendRaw(_endpoint, false); uri.AppendPath("/sentShares/", false); uri.AppendPath(sentShareName, true); - uri.AppendQuery("api-version", _apiVersion, true); + uri.AppendQuery("api-version", "2021-09-01-preview", true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SystemScanRulesetsClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SystemScanRulesetsClient.cs new file mode 100644 index 000000000000..1602d799032f --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/SystemScanRulesetsClient.cs @@ -0,0 +1,429 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The SystemScanRulesets service client. + /// The SystemScanRulesets service client. + public partial class SystemScanRulesetsClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of SystemScanRulesetsClient for mocking. + protected SystemScanRulesetsClient() + { + } + + /// Initializes a new instance of SystemScanRulesetsClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public SystemScanRulesetsClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of SystemScanRulesetsClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public SystemScanRulesetsClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get a system scan ruleset for a data source. + /// The DataSourceType to use. Allowed values: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetSystemScanRulesetAsync(string dataSourceType, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceType, nameof(dataSourceType)); + + using var scope = ClientDiagnostics.CreateScope("SystemScanRulesetsClient.GetSystemScanRuleset"); + scope.Start(); + try + { + using HttpMessage message = CreateGetSystemScanRulesetRequest(dataSourceType, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a system scan ruleset for a data source. + /// The DataSourceType to use. Allowed values: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetSystemScanRuleset(string dataSourceType, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceType, nameof(dataSourceType)); + + using var scope = ClientDiagnostics.CreateScope("SystemScanRulesetsClient.GetSystemScanRuleset"); + scope.Start(); + try + { + using HttpMessage message = CreateGetSystemScanRulesetRequest(dataSourceType, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a scan ruleset by version. + /// The Int32 to use. + /// The DataSourceType to use. Allowed values: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetByVersionAsync(int version, string dataSourceType = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("SystemScanRulesetsClient.GetByVersion"); + scope.Start(); + try + { + using HttpMessage message = CreateGetByVersionRequest(version, dataSourceType, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a scan ruleset by version. + /// The Int32 to use. + /// The DataSourceType to use. Allowed values: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetByVersion(int version, string dataSourceType = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("SystemScanRulesetsClient.GetByVersion"); + scope.Start(); + try + { + using HttpMessage message = CreateGetByVersionRequest(version, dataSourceType, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the latest version of a system scan ruleset. + /// The DataSourceType to use. Allowed values: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetLatestAsync(string dataSourceType = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("SystemScanRulesetsClient.GetLatest"); + scope.Start(); + try + { + using HttpMessage message = CreateGetLatestRequest(dataSourceType, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the latest version of a system scan ruleset. + /// The DataSourceType to use. Allowed values: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetLatest(string dataSourceType = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("SystemScanRulesetsClient.GetLatest"); + scope.Start(); + try + { + using HttpMessage message = CreateGetLatestRequest(dataSourceType, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List all system scan rulesets for an account. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetSystemScanRulesetsAsync(RequestContext context = null) + { + return GetSystemScanRulesetsImplementationAsync("SystemScanRulesetsClient.GetSystemScanRulesets", context); + } + + private AsyncPageable GetSystemScanRulesetsImplementationAsync(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetSystemScanRulesetsRequest(context) + : CreateGetSystemScanRulesetsNextPageRequest(nextLink, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "value", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// List all system scan rulesets for an account. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetSystemScanRulesets(RequestContext context = null) + { + return GetSystemScanRulesetsImplementation("SystemScanRulesetsClient.GetSystemScanRulesets", context); + } + + private Pageable GetSystemScanRulesetsImplementation(string diagnosticsScopeName, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetSystemScanRulesetsRequest(context) + : CreateGetSystemScanRulesetsNextPageRequest(nextLink, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// List system scan ruleset versions in Data catalog. + /// The DataSourceType to use. Allowed values: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual AsyncPageable GetVersionsByDataSourceAsync(string dataSourceType = null, RequestContext context = null) + { + return GetVersionsByDataSourceImplementationAsync("SystemScanRulesetsClient.GetVersionsByDataSource", dataSourceType, context); + } + + private AsyncPageable GetVersionsByDataSourceImplementationAsync(string diagnosticsScopeName, string dataSourceType, RequestContext context) + { + return PageableHelpers.CreateAsyncPageable(CreateEnumerableAsync, ClientDiagnostics, diagnosticsScopeName); + async IAsyncEnumerable> CreateEnumerableAsync(string nextLink, int? pageSizeHint, [EnumeratorCancellation] CancellationToken cancellationToken = default) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetVersionsByDataSourceRequest(dataSourceType, context) + : CreateGetVersionsByDataSourceNextPageRequest(nextLink, dataSourceType, context); + var page = await LowLevelPageableHelpers.ProcessMessageAsync(_pipeline, message, context, "value", "nextLink", cancellationToken).ConfigureAwait(false); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + /// List system scan ruleset versions in Data catalog. + /// The DataSourceType to use. Allowed values: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below. + /// + public virtual Pageable GetVersionsByDataSource(string dataSourceType = null, RequestContext context = null) + { + return GetVersionsByDataSourceImplementation("SystemScanRulesetsClient.GetVersionsByDataSource", dataSourceType, context); + } + + private Pageable GetVersionsByDataSourceImplementation(string diagnosticsScopeName, string dataSourceType, RequestContext context) + { + return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName); + IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint) + { + do + { + var message = string.IsNullOrEmpty(nextLink) + ? CreateGetVersionsByDataSourceRequest(dataSourceType, context) + : CreateGetVersionsByDataSourceNextPageRequest(nextLink, dataSourceType, context); + var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink"); + nextLink = page.ContinuationToken; + yield return page; + } while (!string.IsNullOrEmpty(nextLink)); + } + } + + internal HttpMessage CreateGetSystemScanRulesetsRequest(RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/systemScanRulesets", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetSystemScanRulesetRequest(string dataSourceType, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/systemScanRulesets/datasources/", false); + uri.AppendPath(dataSourceType, true); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetByVersionRequest(int version, string dataSourceType, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/systemScanRulesets/versions/", false); + uri.AppendPath(version, true); + if (dataSourceType != null) + { + uri.AppendQuery("dataSourceType", dataSourceType, true); + } + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetLatestRequest(string dataSourceType, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/systemScanRulesets/versions/latest", false); + if (dataSourceType != null) + { + uri.AppendQuery("dataSourceType", dataSourceType, true); + } + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetVersionsByDataSourceRequest(string dataSourceType, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/systemScanRulesets/versions", false); + if (dataSourceType != null) + { + uri.AppendQuery("dataSourceType", dataSourceType, true); + } + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetSystemScanRulesetsNextPageRequest(string nextLink, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetVersionsByDataSourceNextPageRequest(string nextLink, string dataSourceType, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/TriggersClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/TriggersClient.cs new file mode 100644 index 000000000000..385cf3eeb611 --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/TriggersClient.cs @@ -0,0 +1,296 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Triggers service client. + /// The Triggers service client. + public partial class TriggersClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of TriggersClient for mocking. + protected TriggersClient() + { + } + + /// Initializes a new instance of TriggersClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public TriggersClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of TriggersClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public TriggersClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Gets trigger information. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetTriggerAsync(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("TriggersClient.GetTrigger"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTriggerRequest(dataSourceName, scanName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets trigger information. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetTrigger(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("TriggersClient.GetTrigger"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTriggerRequest(dataSourceName, scanName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates an instance of a trigger. + /// The String to use. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateTriggerAsync(string dataSourceName, string scanName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("TriggersClient.CreateTrigger"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateTriggerRequest(dataSourceName, scanName, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Creates an instance of a trigger. + /// The String to use. + /// The String to use. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// , or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateTrigger(string dataSourceName, string scanName, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("TriggersClient.CreateTrigger"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateTriggerRequest(dataSourceName, scanName, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes the trigger associated with the scan. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task DeleteTriggerAsync(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("TriggersClient.DeleteTrigger"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteTriggerRequest(dataSourceName, scanName, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Deletes the trigger associated with the scan. + /// The String to use. + /// The String to use. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or is null. + /// or is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response DeleteTrigger(string dataSourceName, string scanName, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(dataSourceName, nameof(dataSourceName)); + Argument.AssertNotNullOrEmpty(scanName, nameof(scanName)); + + using var scope = ClientDiagnostics.CreateScope("TriggersClient.DeleteTrigger"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteTriggerRequest(dataSourceName, scanName, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateGetTriggerRequest(string dataSourceName, string scanName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendPath("/triggers/default", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCreateTriggerRequest(string dataSourceName, string scanName, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200201); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendPath("/triggers/default", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteTriggerRequest(string dataSourceName, string scanName, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendPath("/datasources/", false); + uri.AppendPath(dataSourceName, true); + uri.AppendPath("/scans/", false); + uri.AppendPath(scanName, true); + uri.AppendPath("/triggers/default", false); + uri.AppendQuery("api-version", "2018-12-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier200201; + private static ResponseClassifier ResponseClassifier200201 => _responseClassifier200201 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 201 }); + private static ResponseClassifier _responseClassifier200204; + private static ResponseClassifier ResponseClassifier200204 => _responseClassifier200204 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 204 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/TypesClient.cs b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/TypesClient.cs new file mode 100644 index 000000000000..41603872556f --- /dev/null +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/Generated/TypesClient.cs @@ -0,0 +1,1559 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Analytics.Purview.Share +{ + // Data plane generated client. The Types service client. + /// The Types service client. + public partial class TypesClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly string _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of TypesClient for mocking. + protected TypesClient() + { + } + + /// Initializes a new instance of TypesClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// or is null. + public TypesClient(string endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewPDSClientOptions()) + { + } + + /// Initializes a new instance of TypesClient. + /// The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public TypesClient(string endpoint, TokenCredential credential, PurviewPDSClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new PurviewPDSClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Get the businessMetadata definition for the given guid. + /// businessMetadata guid. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetBusinessMetadataDefByGuidAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetBusinessMetadataDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetBusinessMetadataDefByGuidRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the businessMetadata definition for the given guid. + /// businessMetadata guid. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetBusinessMetadataDefByGuid(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetBusinessMetadataDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetBusinessMetadataDefByGuidRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the businessMetadata definition by it's name (unique). + /// businessMetadata name. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetBusinessMetadataDefByNameAsync(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetBusinessMetadataDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetBusinessMetadataDefByNameRequest(name, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the businessMetadata definition by it's name (unique). + /// businessMetadata name. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetBusinessMetadataDefByName(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetBusinessMetadataDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetBusinessMetadataDefByNameRequest(name, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the classification definition for the given GUID. + /// The globally unique identifier of the classification. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetClassificationDefByGuidAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetClassificationDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationDefByGuidRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the classification definition for the given GUID. + /// The globally unique identifier of the classification. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetClassificationDefByGuid(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetClassificationDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationDefByGuidRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the classification definition by its name (unique). + /// The name of the classification. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetClassificationDefByNameAsync(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetClassificationDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationDefByNameRequest(name, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the classification definition by its name (unique). + /// The name of the classification. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetClassificationDefByName(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetClassificationDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetClassificationDefByNameRequest(name, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the Entity definition for the given GUID. + /// The globally unique identifier of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetEntityDefinitionByGuidAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetEntityDefinitionByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntityDefinitionByGuidRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the Entity definition for the given GUID. + /// The globally unique identifier of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetEntityDefinitionByGuid(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetEntityDefinitionByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntityDefinitionByGuidRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the entity definition by its name (unique). + /// The name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetEntityDefinitionByNameAsync(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetEntityDefinitionByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntityDefinitionByNameRequest(name, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the entity definition by its name (unique). + /// The name of the entity. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetEntityDefinitionByName(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetEntityDefinitionByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEntityDefinitionByNameRequest(name, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the enum definition for the given GUID. + /// The globally unique identifier of the enum. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetEnumDefByGuidAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetEnumDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEnumDefByGuidRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the enum definition for the given GUID. + /// The globally unique identifier of the enum. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetEnumDefByGuid(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetEnumDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEnumDefByGuidRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the enum definition by its name (unique). + /// The name of the enum. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetEnumDefByNameAsync(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetEnumDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEnumDefByNameRequest(name, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the enum definition by its name (unique). + /// The name of the enum. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetEnumDefByName(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetEnumDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetEnumDefByNameRequest(name, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the relationship definition for the given GUID. + /// The globally unique identifier of the relationship. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetRelationshipDefByGuidAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetRelationshipDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelationshipDefByGuidRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the relationship definition for the given GUID. + /// The globally unique identifier of the relationship. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetRelationshipDefByGuid(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetRelationshipDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelationshipDefByGuidRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the relationship definition by its name (unique). + /// The name of the relationship. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetRelationshipDefByNameAsync(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetRelationshipDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelationshipDefByNameRequest(name, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the relationship definition by its name (unique). + /// The name of the relationship. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetRelationshipDefByName(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetRelationshipDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetRelationshipDefByNameRequest(name, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the struct definition for the given GUID. + /// The globally unique identifier of the struct. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetStructDefByGuidAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetStructDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetStructDefByGuidRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the struct definition for the given GUID. + /// The globally unique identifier of the struct. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetStructDefByGuid(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetStructDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetStructDefByGuidRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the struct definition by its name (unique). + /// The name of the struct. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetStructDefByNameAsync(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetStructDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetStructDefByNameRequest(name, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the struct definition by its name (unique). + /// The name of the struct. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetStructDefByName(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetStructDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetStructDefByNameRequest(name, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the type definition for the given GUID. + /// The globally unique identifier of the type. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetTypeDefinitionByGuidAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTypeDefinitionByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTypeDefinitionByGuidRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the type definition for the given GUID. + /// The globally unique identifier of the type. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetTypeDefinitionByGuid(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTypeDefinitionByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTypeDefinitionByGuidRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the type definition by its name (unique). + /// The name of the type. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetTypeDefinitionByNameAsync(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTypeDefinitionByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTypeDefinitionByNameRequest(name, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the type definition by its name (unique). + /// The name of the type. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetTypeDefinitionByName(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTypeDefinitionByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTypeDefinitionByNameRequest(name, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete API for type identified by its name. + /// The name of the type. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteTypeByNameAsync(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.DeleteTypeByName"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteTypeByNameRequest(name, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete API for type identified by its name. + /// The name of the type. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteTypeByName(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.DeleteTypeByName"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteTypeByNameRequest(name, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all type definitions in Atlas in bulk. + /// + /// Whether include termtemplatedef when return all typedefs. + /// This is always true when search filter type=term_template + /// + /// Typedef name as search filter when get typedefs. Allowed values: "enum" | "entity" | "classification" | "relationship" | "struct" | "term_template". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetAllTypeDefinitionsAsync(bool? includeTermTemplate = null, string type = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetAllTypeDefinitions"); + scope.Start(); + try + { + using HttpMessage message = CreateGetAllTypeDefinitionsRequest(includeTermTemplate, type, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get all type definitions in Atlas in bulk. + /// + /// Whether include termtemplatedef when return all typedefs. + /// This is always true when search filter type=term_template + /// + /// Typedef name as search filter when get typedefs. Allowed values: "enum" | "entity" | "classification" | "relationship" | "struct" | "term_template". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetAllTypeDefinitions(bool? includeTermTemplate = null, string type = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetAllTypeDefinitions"); + scope.Start(); + try + { + using HttpMessage message = CreateGetAllTypeDefinitionsRequest(includeTermTemplate, type, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create all atlas type definitions in bulk, only new definitions will be created. + /// Any changes to the existing definitions will be discarded. + /// + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task CreateTypeDefinitionsAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.CreateTypeDefinitions"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateTypeDefinitionsRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create all atlas type definitions in bulk, only new definitions will be created. + /// Any changes to the existing definitions will be discarded. + /// + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response CreateTypeDefinitions(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.CreateTypeDefinitions"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateTypeDefinitionsRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update all types in bulk, changes detected in the type definitions would be persisted. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.UpdateAtlasTypeDefinitions"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateAtlasTypeDefinitionsRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Update all types in bulk, changes detected in the type definitions would be persisted. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response UpdateAtlasTypeDefinitions(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.UpdateAtlasTypeDefinitions"); + scope.Start(); + try + { + using HttpMessage message = CreateUpdateAtlasTypeDefinitionsRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete API for all types in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual async Task DeleteTypeDefinitionsAsync(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.DeleteTypeDefinitions"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteTypeDefinitionsRequest(content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Delete API for all types in bulk. + /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// Service returned a non-success status code. + /// The response returned from the service. + /// + public virtual Response DeleteTypeDefinitions(RequestContent content, RequestContext context = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.DeleteTypeDefinitions"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteTypeDefinitionsRequest(content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List all type definitions returned as a list of minimal information header. + /// + /// Whether include termtemplatedef when return all typedefs. + /// This is always true when search filter type=term_template + /// + /// Typedef name as search filter when get typedefs. Allowed values: "enum" | "entity" | "classification" | "relationship" | "struct" | "term_template". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetTypeDefinitionHeadersAsync(bool? includeTermTemplate = null, string type = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTypeDefinitionHeaders"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTypeDefinitionHeadersRequest(includeTermTemplate, type, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// List all type definitions returned as a list of minimal information header. + /// + /// Whether include termtemplatedef when return all typedefs. + /// This is always true when search filter type=term_template + /// + /// Typedef name as search filter when get typedefs. Allowed values: "enum" | "entity" | "classification" | "relationship" | "struct" | "term_template". + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetTypeDefinitionHeaders(bool? includeTermTemplate = null, string type = null, RequestContext context = null) + { + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTypeDefinitionHeaders"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTypeDefinitionHeadersRequest(includeTermTemplate, type, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the term template definition for the given GUID. + /// The globally unique identifier of the term template. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetTermTemplateDefByGuidAsync(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTermTemplateDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTermTemplateDefByGuidRequest(guid, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the term template definition for the given GUID. + /// The globally unique identifier of the term template. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetTermTemplateDefByGuid(string guid, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(guid, nameof(guid)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTermTemplateDefByGuid"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTermTemplateDefByGuidRequest(guid, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the term template definition by its name (unique). + /// The name of the term template. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual async Task GetTermTemplateDefByNameAsync(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTermTemplateDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTermTemplateDefByNameRequest(name, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get the term template definition by its name (unique). + /// The name of the term template. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// Service returned a non-success status code. + /// The response returned from the service. Details of the response body schema are in the Remarks section below. + /// + public virtual Response GetTermTemplateDefByName(string name, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(name, nameof(name)); + + using var scope = ClientDiagnostics.CreateScope("TypesClient.GetTermTemplateDefByName"); + scope.Start(); + try + { + using HttpMessage message = CreateGetTermTemplateDefByNameRequest(name, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateGetBusinessMetadataDefByGuidRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/businessmetadatadef/guid/", false); + uri.AppendPath(guid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetBusinessMetadataDefByNameRequest(string name, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/businessmetadatadef/name/", false); + uri.AppendPath(name, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetClassificationDefByGuidRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/classificationdef/guid/", false); + uri.AppendPath(guid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetClassificationDefByNameRequest(string name, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/classificationdef/name/", false); + uri.AppendPath(name, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetEntityDefinitionByGuidRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/entitydef/guid/", false); + uri.AppendPath(guid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetEntityDefinitionByNameRequest(string name, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/entitydef/name/", false); + uri.AppendPath(name, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetEnumDefByGuidRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/enumdef/guid/", false); + uri.AppendPath(guid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetEnumDefByNameRequest(string name, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/enumdef/name/", false); + uri.AppendPath(name, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetRelationshipDefByGuidRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/relationshipdef/guid/", false); + uri.AppendPath(guid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetRelationshipDefByNameRequest(string name, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/relationshipdef/name/", false); + uri.AppendPath(name, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetStructDefByGuidRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/structdef/guid/", false); + uri.AppendPath(guid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetStructDefByNameRequest(string name, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/structdef/name/", false); + uri.AppendPath(name, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetTypeDefinitionByGuidRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/typedef/guid/", false); + uri.AppendPath(guid, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetTypeDefinitionByNameRequest(string name, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/typedef/name/", false); + uri.AppendPath(name, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateDeleteTypeByNameRequest(string name, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/typedef/name/", false); + uri.AppendPath(name, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate, string type, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/typedefs", false); + if (includeTermTemplate != null) + { + uri.AppendQuery("includeTermTemplate", includeTermTemplate.Value, true); + } + if (type != null) + { + uri.AppendQuery("type", type, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/typedefs", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/typedefs", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateDeleteTypeDefinitionsRequest(RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/typedefs", false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetTypeDefinitionHeadersRequest(bool? includeTermTemplate, string type, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/atlas/v2/types/typedefs/headers", false); + if (includeTermTemplate != null) + { + uri.AppendQuery("includeTermTemplate", includeTermTemplate.Value, true); + } + if (type != null) + { + uri.AppendQuery("type", type, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetTermTemplateDefByGuidRequest(string guid, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/types/termtemplatedef/guid/", false); + uri.AppendPath(guid, true); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetTermTemplateDefByNameRequest(string name, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.AppendRaw(_endpoint, false); + uri.AppendRaw("/catalog/api", false); + uri.AppendPath("/types/termtemplatedef/name/", false); + uri.AppendPath(name, true); + uri.AppendQuery("api-version", "2022-03-01-preview", true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier204; + private static ResponseClassifier ResponseClassifier204 => _responseClassifier204 ??= new StatusCodeClassifier(stackalloc ushort[] { 204 }); + } +} diff --git a/sdk/purview/Azure.Analytics.Purview.Share/src/autorest.md b/sdk/purview/Azure.Analytics.Purview.Share/src/autorest.md index 08fcfcb6676a..8c666b2681e7 100644 --- a/sdk/purview/Azure.Analytics.Purview.Share/src/autorest.md +++ b/sdk/purview/Azure.Analytics.Purview.Share/src/autorest.md @@ -6,10 +6,11 @@ Run `dotnet build /t:GenerateCode` to generate code. > see https://aka.ms/autorest ``` yaml -input-file: -- https://github.com/Azure/azure-rest-api-specs/blob/0f9df940977c680c39938c8b8bd5baf893737ed0/specification/purview/data-plane/Azure.Analytics.Purview.Share/preview/2021-09-01-preview/share.json +require: +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/purview/data-plane/readme.md namespace: Azure.Analytics.Purview.Share security: AADToken security-scopes: https://purview.azure.net/.default ``` +