diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/AcceptedSentSharesClient.cs b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/AcceptedSentSharesClient.cs
new file mode 100644
index 000000000000..b9ef658e830d
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/AcceptedSentSharesClient.cs
@@ -0,0 +1,499 @@
+// 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.Account
+{
+ // Data plane generated client. The AcceptedSentShares service client.
+ /// The AcceptedSentShares service client.
+ public partial class AcceptedSentSharesClient
+ {
+ private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" };
+ private readonly TokenCredential _tokenCredential;
+ private readonly HttpPipeline _pipeline;
+ private readonly Uri _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 AcceptedSentSharesClient for mocking.
+ protected AcceptedSentSharesClient()
+ {
+ }
+
+ /// Initializes a new instance of 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(Uri endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewAccountClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of AcceptedSentSharesClient.
+ /// 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 AcceptedSentSharesClient(Uri endpoint, TokenCredential credential, PurviewAccountClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new PurviewAccountClientOptions();
+
+ ClientDiagnostics = new ClientDiagnostics(options, true);
+ _tokenCredential = credential;
+ _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier());
+ _endpoint = endpoint;
+ }
+
+ /// Get an accepted share with acceptedSentShareName to a particular sent share.
+ /// The name of the sent share.
+ /// The name of the accepted sent share.
+ /// 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 GetAcceptedSentShareAsync(string sentShareName, string acceptedSentShareName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(acceptedSentShareName, nameof(acceptedSentShareName));
+
+ using var scope = ClientDiagnostics.CreateScope("AcceptedSentSharesClient.GetAcceptedSentShare");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateGetAcceptedSentShareRequest(sentShareName, acceptedSentShareName, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Get an accepted share with acceptedSentShareName to a particular sent share.
+ /// The name of the sent share.
+ /// The name of the accepted sent share.
+ /// 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 GetAcceptedSentShare(string sentShareName, string acceptedSentShareName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(acceptedSentShareName, nameof(acceptedSentShareName));
+
+ using var scope = ClientDiagnostics.CreateScope("AcceptedSentSharesClient.GetAcceptedSentShare");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateGetAcceptedSentShareRequest(sentShareName, acceptedSentShareName, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// List of accepted shares for the current sent share.
+ /// The name of the sent share.
+ /// The continuation token to list the next page.
+ /// 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 GetAcceptedSentSharesAsync(string sentShareName, string skipToken = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+
+ return GetAcceptedSentSharesImplementationAsync("AcceptedSentSharesClient.GetAcceptedSentShares", sentShareName, skipToken, context);
+ }
+
+ private AsyncPageable GetAcceptedSentSharesImplementationAsync(string diagnosticsScopeName, string sentShareName, string skipToken, 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)
+ ? CreateGetAcceptedSentSharesRequest(sentShareName, skipToken, context)
+ : CreateGetAcceptedSentSharesNextPageRequest(nextLink, sentShareName, skipToken, 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 of accepted shares for the current sent share.
+ /// The name of the sent share.
+ /// The continuation token to list the next page.
+ /// 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 GetAcceptedSentShares(string sentShareName, string skipToken = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+
+ return GetAcceptedSentSharesImplementation("AcceptedSentSharesClient.GetAcceptedSentShares", sentShareName, skipToken, context);
+ }
+
+ private Pageable GetAcceptedSentSharesImplementation(string diagnosticsScopeName, string sentShareName, string skipToken, RequestContext context)
+ {
+ return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName);
+ IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint)
+ {
+ do
+ {
+ var message = string.IsNullOrEmpty(nextLink)
+ ? CreateGetAcceptedSentSharesRequest(sentShareName, skipToken, context)
+ : CreateGetAcceptedSentSharesNextPageRequest(nextLink, sentShareName, skipToken, context);
+ var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink");
+ nextLink = page.ContinuationToken;
+ yield return page;
+ } while (!string.IsNullOrEmpty(nextLink));
+ }
+ }
+
+ /// Reinstate a revoked accepted sent share.
+ /// 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 sent share.
+ /// The name of the accepted sent share.
+ /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below.
+ /// If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
+ /// 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 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> ReinstateAsync(WaitUntil waitUntil, string sentShareName, string acceptedSentShareName, RequestContent content, string repeatabilityRequestId = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(acceptedSentShareName, nameof(acceptedSentShareName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("AcceptedSentSharesClient.Reinstate");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateReinstateRequest(sentShareName, acceptedSentShareName, content, repeatabilityRequestId, context);
+ return await ProtocolOperationHelpers.ProcessMessageAsync(_pipeline, message, ClientDiagnostics, "AcceptedSentSharesClient.Reinstate", OperationFinalStateVia.Location, context, waitUntil).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Reinstate a revoked accepted sent share.
+ /// 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 sent share.
+ /// The name of the accepted sent share.
+ /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below.
+ /// If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
+ /// 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 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 Reinstate(WaitUntil waitUntil, string sentShareName, string acceptedSentShareName, RequestContent content, string repeatabilityRequestId = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(acceptedSentShareName, nameof(acceptedSentShareName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("AcceptedSentSharesClient.Reinstate");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateReinstateRequest(sentShareName, acceptedSentShareName, content, repeatabilityRequestId, context);
+ return ProtocolOperationHelpers.ProcessMessage(_pipeline, message, ClientDiagnostics, "AcceptedSentSharesClient.Reinstate", OperationFinalStateVia.Location, context, waitUntil);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Revoke an accepted sent share's access.
+ /// 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 sent share.
+ /// The name of the accepted sent share.
+ /// If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
+ /// 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 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> RevokeAsync(WaitUntil waitUntil, string sentShareName, string acceptedSentShareName, string repeatabilityRequestId = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(acceptedSentShareName, nameof(acceptedSentShareName));
+
+ using var scope = ClientDiagnostics.CreateScope("AcceptedSentSharesClient.Revoke");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateRevokeRequest(sentShareName, acceptedSentShareName, repeatabilityRequestId, context);
+ return await ProtocolOperationHelpers.ProcessMessageAsync(_pipeline, message, ClientDiagnostics, "AcceptedSentSharesClient.Revoke", OperationFinalStateVia.Location, context, waitUntil).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Revoke an accepted sent share's access.
+ /// 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 sent share.
+ /// The name of the accepted sent share.
+ /// If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
+ /// 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 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 Revoke(WaitUntil waitUntil, string sentShareName, string acceptedSentShareName, string repeatabilityRequestId = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(acceptedSentShareName, nameof(acceptedSentShareName));
+
+ using var scope = ClientDiagnostics.CreateScope("AcceptedSentSharesClient.Revoke");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateRevokeRequest(sentShareName, acceptedSentShareName, repeatabilityRequestId, context);
+ return ProtocolOperationHelpers.ProcessMessage(_pipeline, message, ClientDiagnostics, "AcceptedSentSharesClient.Revoke", OperationFinalStateVia.Location, context, waitUntil);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Update the expiration date of an active accepted sent share.
+ /// 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 sent share.
+ /// The name of the accepted sent share.
+ /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below.
+ /// If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
+ /// 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 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> UpdateExpirationAsync(WaitUntil waitUntil, string sentShareName, string acceptedSentShareName, RequestContent content, string repeatabilityRequestId = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(acceptedSentShareName, nameof(acceptedSentShareName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("AcceptedSentSharesClient.UpdateExpiration");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateUpdateExpirationRequest(sentShareName, acceptedSentShareName, content, repeatabilityRequestId, context);
+ return await ProtocolOperationHelpers.ProcessMessageAsync(_pipeline, message, ClientDiagnostics, "AcceptedSentSharesClient.UpdateExpiration", OperationFinalStateVia.Location, context, waitUntil).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Update the expiration date of an active accepted sent share.
+ /// 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 sent share.
+ /// The name of the accepted sent share.
+ /// The content to send as the body of the request. Details of the request body schema are in the Remarks section below.
+ /// If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
+ /// 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 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 UpdateExpiration(WaitUntil waitUntil, string sentShareName, string acceptedSentShareName, RequestContent content, string repeatabilityRequestId = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(acceptedSentShareName, nameof(acceptedSentShareName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("AcceptedSentSharesClient.UpdateExpiration");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateUpdateExpirationRequest(sentShareName, acceptedSentShareName, content, repeatabilityRequestId, context);
+ return ProtocolOperationHelpers.ProcessMessage(_pipeline, message, ClientDiagnostics, "AcceptedSentSharesClient.UpdateExpiration", OperationFinalStateVia.Location, context, waitUntil);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ internal HttpMessage CreateGetAcceptedSentSharesRequest(string sentShareName, string skipToken, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Get;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/sentShares/", false);
+ uri.AppendPath(sentShareName, true);
+ uri.AppendPath("/acceptedSentShares", false);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ if (skipToken != null)
+ {
+ uri.AppendQuery("skipToken", skipToken, true);
+ }
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateGetAcceptedSentShareRequest(string sentShareName, string acceptedSentShareName, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Get;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/sentShares/", false);
+ uri.AppendPath(sentShareName, true);
+ uri.AppendPath("/acceptedSentShares/", false);
+ uri.AppendPath(acceptedSentShareName, true);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateReinstateRequest(string sentShareName, string acceptedSentShareName, RequestContent content, string repeatabilityRequestId, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier202);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/sentShares/", false);
+ uri.AppendPath(sentShareName, true);
+ uri.AppendPath("/acceptedSentShares/", false);
+ uri.AppendPath(acceptedSentShareName, true);
+ uri.AppendPath(":reinstate", false);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ request.Uri = uri;
+ if (repeatabilityRequestId != null)
+ {
+ request.Headers.Add("repeatability-request-id", repeatabilityRequestId);
+ }
+ request.Headers.Add("Accept", "application/json");
+ request.Headers.Add("Content-Type", "application/json");
+ request.Content = content;
+ return message;
+ }
+
+ internal HttpMessage CreateRevokeRequest(string sentShareName, string acceptedSentShareName, string repeatabilityRequestId, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier202);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/sentShares/", false);
+ uri.AppendPath(sentShareName, true);
+ uri.AppendPath("/acceptedSentShares/", false);
+ uri.AppendPath(acceptedSentShareName, true);
+ uri.AppendPath(":revoke", false);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ request.Uri = uri;
+ if (repeatabilityRequestId != null)
+ {
+ request.Headers.Add("repeatability-request-id", repeatabilityRequestId);
+ }
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateUpdateExpirationRequest(string sentShareName, string acceptedSentShareName, RequestContent content, string repeatabilityRequestId, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier202);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/sentShares/", false);
+ uri.AppendPath(sentShareName, true);
+ uri.AppendPath("/acceptedSentShares/", false);
+ uri.AppendPath(acceptedSentShareName, true);
+ uri.AppendPath(":update-expiration", false);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ request.Uri = uri;
+ if (repeatabilityRequestId != null)
+ {
+ request.Headers.Add("repeatability-request-id", repeatabilityRequestId);
+ }
+ request.Headers.Add("Accept", "application/json");
+ request.Headers.Add("Content-Type", "application/json");
+ request.Content = content;
+ return message;
+ }
+
+ internal HttpMessage CreateGetAcceptedSentSharesNextPageRequest(string nextLink, string sentShareName, string skipToken, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Get;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ 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 _responseClassifier202;
+ private static ResponseClassifier ResponseClassifier202 => _responseClassifier202 ??= new StatusCodeClassifier(stackalloc ushort[] { 202 });
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/AssetMappingsClient.cs b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/AssetMappingsClient.cs
new file mode 100644
index 000000000000..38216bdbeee8
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/AssetMappingsClient.cs
@@ -0,0 +1,411 @@
+// 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.Account
+{
+ // Data plane generated client. The AssetMappings service client.
+ /// The AssetMappings service client.
+ public partial class AssetMappingsClient
+ {
+ private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" };
+ private readonly TokenCredential _tokenCredential;
+ private readonly HttpPipeline _pipeline;
+ private readonly Uri _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 AssetMappingsClient for mocking.
+ protected AssetMappingsClient()
+ {
+ }
+
+ /// Initializes a new instance of 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(Uri endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewAccountClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of AssetMappingsClient.
+ /// 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 AssetMappingsClient(Uri endpoint, TokenCredential credential, PurviewAccountClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new PurviewAccountClientOptions();
+
+ ClientDiagnostics = new ClientDiagnostics(options, true);
+ _tokenCredential = credential;
+ _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier());
+ _endpoint = endpoint;
+ }
+
+ /// Get AssetMapping in a receivedShare.
+ /// The name of the received share.
+ /// The name of the asset mapping.
+ /// 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 GetAssetMappingAsync(string receivedShareName, string assetMappingName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(receivedShareName, nameof(receivedShareName));
+ Argument.AssertNotNullOrEmpty(assetMappingName, nameof(assetMappingName));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetMappingsClient.GetAssetMapping");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateGetAssetMappingRequest(receivedShareName, assetMappingName, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Get AssetMapping in a receivedShare.
+ /// The name of the received share.
+ /// The name of the asset mapping.
+ /// 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 GetAssetMapping(string receivedShareName, string assetMappingName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(receivedShareName, nameof(receivedShareName));
+ Argument.AssertNotNullOrEmpty(assetMappingName, nameof(assetMappingName));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetMappingsClient.GetAssetMapping");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateGetAssetMappingRequest(receivedShareName, assetMappingName, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// List AssetMappings in a received share.
+ /// The name of the received share.
+ /// The continuation token to list the next page.
+ /// Filters the results using OData syntax.
+ /// Sorts the results using OData syntax.
+ /// 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 GetAssetMappingsAsync(string receivedShareName, string skipToken = null, string filter = null, string orderby = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(receivedShareName, nameof(receivedShareName));
+
+ return GetAssetMappingsImplementationAsync("AssetMappingsClient.GetAssetMappings", receivedShareName, skipToken, filter, orderby, context);
+ }
+
+ private AsyncPageable GetAssetMappingsImplementationAsync(string diagnosticsScopeName, string receivedShareName, string skipToken, string filter, string orderby, 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)
+ ? CreateGetAssetMappingsRequest(receivedShareName, skipToken, filter, orderby, context)
+ : CreateGetAssetMappingsNextPageRequest(nextLink, receivedShareName, skipToken, filter, orderby, 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 AssetMappings in a received share.
+ /// The name of the received share.
+ /// The continuation token to list the next page.
+ /// Filters the results using OData syntax.
+ /// Sorts the results using OData syntax.
+ /// 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 GetAssetMappings(string receivedShareName, string skipToken = null, string filter = null, string orderby = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(receivedShareName, nameof(receivedShareName));
+
+ return GetAssetMappingsImplementation("AssetMappingsClient.GetAssetMappings", receivedShareName, skipToken, filter, orderby, context);
+ }
+
+ private Pageable GetAssetMappingsImplementation(string diagnosticsScopeName, string receivedShareName, string skipToken, string filter, string orderby, RequestContext context)
+ {
+ return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName);
+ IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint)
+ {
+ do
+ {
+ var message = string.IsNullOrEmpty(nextLink)
+ ? CreateGetAssetMappingsRequest(receivedShareName, skipToken, filter, orderby, context)
+ : CreateGetAssetMappingsNextPageRequest(nextLink, receivedShareName, skipToken, filter, orderby, context);
+ var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink");
+ nextLink = page.ContinuationToken;
+ yield return page;
+ } while (!string.IsNullOrEmpty(nextLink));
+ }
+ }
+
+ /// Maps a source asset in the sent share to a destination asset in the received share.
+ /// 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 received share.
+ /// The name of the asset mapping.
+ /// 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 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> CreateAsync(WaitUntil waitUntil, string receivedShareName, string assetMappingName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(receivedShareName, nameof(receivedShareName));
+ Argument.AssertNotNullOrEmpty(assetMappingName, nameof(assetMappingName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetMappingsClient.Create");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateCreateRequest(receivedShareName, assetMappingName, content, context);
+ return await ProtocolOperationHelpers.ProcessMessageAsync(_pipeline, message, ClientDiagnostics, "AssetMappingsClient.Create", OperationFinalStateVia.Location, context, waitUntil).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Maps a source asset in the sent share to a destination asset in the received share.
+ /// 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 received share.
+ /// The name of the asset mapping.
+ /// 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 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 Create(WaitUntil waitUntil, string receivedShareName, string assetMappingName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(receivedShareName, nameof(receivedShareName));
+ Argument.AssertNotNullOrEmpty(assetMappingName, nameof(assetMappingName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetMappingsClient.Create");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateCreateRequest(receivedShareName, assetMappingName, content, context);
+ return ProtocolOperationHelpers.ProcessMessage(_pipeline, message, ClientDiagnostics, "AssetMappingsClient.Create", OperationFinalStateVia.Location, context, waitUntil);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Delete AssetMapping in a receivedShare.
+ /// 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 received share.
+ /// The name of the asset mapping.
+ /// 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 representing an asynchronous operation on the service.
+ ///
+ public virtual async Task DeleteAsync(WaitUntil waitUntil, string receivedShareName, string assetMappingName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(receivedShareName, nameof(receivedShareName));
+ Argument.AssertNotNullOrEmpty(assetMappingName, nameof(assetMappingName));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetMappingsClient.Delete");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateDeleteRequest(receivedShareName, assetMappingName, context);
+ return await ProtocolOperationHelpers.ProcessMessageWithoutResponseValueAsync(_pipeline, message, ClientDiagnostics, "AssetMappingsClient.Delete", OperationFinalStateVia.Location, context, waitUntil).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Delete AssetMapping in a receivedShare.
+ /// 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 received share.
+ /// The name of the asset mapping.
+ /// 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 representing an asynchronous operation on the service.
+ ///
+ public virtual Operation Delete(WaitUntil waitUntil, string receivedShareName, string assetMappingName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(receivedShareName, nameof(receivedShareName));
+ Argument.AssertNotNullOrEmpty(assetMappingName, nameof(assetMappingName));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetMappingsClient.Delete");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateDeleteRequest(receivedShareName, assetMappingName, context);
+ return ProtocolOperationHelpers.ProcessMessageWithoutResponseValue(_pipeline, message, ClientDiagnostics, "AssetMappingsClient.Delete", OperationFinalStateVia.Location, context, waitUntil);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ internal HttpMessage CreateGetAssetMappingsRequest(string receivedShareName, string skipToken, string filter, string orderby, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Get;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/receivedShares/", false);
+ uri.AppendPath(receivedShareName, true);
+ uri.AppendPath("/assetMappings", false);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ if (skipToken != null)
+ {
+ uri.AppendQuery("skipToken", skipToken, true);
+ }
+ if (filter != null)
+ {
+ uri.AppendQuery("$filter", filter, true);
+ }
+ if (orderby != null)
+ {
+ uri.AppendQuery("$orderby", orderby, true);
+ }
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateGetAssetMappingRequest(string receivedShareName, string assetMappingName, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Get;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/receivedShares/", false);
+ uri.AppendPath(receivedShareName, true);
+ uri.AppendPath("/assetMappings/", false);
+ uri.AppendPath(assetMappingName, true);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateCreateRequest(string receivedShareName, string assetMappingName, RequestContent content, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200202);
+ var request = message.Request;
+ request.Method = RequestMethod.Put;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/receivedShares/", false);
+ uri.AppendPath(receivedShareName, true);
+ uri.AppendPath("/assetMappings/", false);
+ uri.AppendPath(assetMappingName, 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");
+ request.Content = content;
+ return message;
+ }
+
+ internal HttpMessage CreateDeleteRequest(string receivedShareName, string assetMappingName, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier202);
+ var request = message.Request;
+ request.Method = RequestMethod.Delete;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/receivedShares/", false);
+ uri.AppendPath(receivedShareName, true);
+ uri.AppendPath("/assetMappings/", false);
+ uri.AppendPath(assetMappingName, true);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateGetAssetMappingsNextPageRequest(string nextLink, string receivedShareName, string skipToken, string filter, string orderby, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Get;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ 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 _responseClassifier200202;
+ private static ResponseClassifier ResponseClassifier200202 => _responseClassifier200202 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 202 });
+ private static ResponseClassifier _responseClassifier202;
+ private static ResponseClassifier ResponseClassifier202 => _responseClassifier202 ??= new StatusCodeClassifier(stackalloc ushort[] { 202 });
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/AssetsClient.cs b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/AssetsClient.cs
new file mode 100644
index 000000000000..954be558965b
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/AssetsClient.cs
@@ -0,0 +1,409 @@
+// 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.Account
+{
+ // Data plane generated client. The Assets service client.
+ /// The Assets service client.
+ public partial class AssetsClient
+ {
+ private static readonly string[] AuthorizationScopes = new string[] { "https://purview.azure.net/.default" };
+ private readonly TokenCredential _tokenCredential;
+ private readonly HttpPipeline _pipeline;
+ private readonly Uri _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 AssetsClient for mocking.
+ protected AssetsClient()
+ {
+ }
+
+ /// Initializes a new instance of 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(Uri endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewAccountClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of AssetsClient.
+ /// 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 AssetsClient(Uri endpoint, TokenCredential credential, PurviewAccountClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new PurviewAccountClientOptions();
+
+ ClientDiagnostics = new ClientDiagnostics(options, true);
+ _tokenCredential = credential;
+ _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier());
+ _endpoint = endpoint;
+ }
+
+ /// Get asset in a sentShare.
+ /// The name of the sent share.
+ /// The name of the asset.
+ /// 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 GetAssetAsync(string sentShareName, string assetName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(assetName, nameof(assetName));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetsClient.GetAsset");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateGetAssetRequest(sentShareName, assetName, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Get asset in a sentShare.
+ /// The name of the sent share.
+ /// The name of the asset.
+ /// 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 GetAsset(string sentShareName, string assetName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(assetName, nameof(assetName));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetsClient.GetAsset");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateGetAssetRequest(sentShareName, assetName, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// List Assets in a share.
+ /// The name of the sent share.
+ /// The continuation token to list the next page.
+ /// Filters the results using OData syntax.
+ /// Sorts the results using OData syntax.
+ /// 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 GetAssetsAsync(string sentShareName, string skipToken = null, string filter = null, string orderby = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+
+ return GetAssetsImplementationAsync("AssetsClient.GetAssets", sentShareName, skipToken, filter, orderby, context);
+ }
+
+ private AsyncPageable GetAssetsImplementationAsync(string diagnosticsScopeName, string sentShareName, string skipToken, string filter, string orderby, 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)
+ ? CreateGetAssetsRequest(sentShareName, skipToken, filter, orderby, context)
+ : CreateGetAssetsNextPageRequest(nextLink, sentShareName, skipToken, filter, orderby, 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 Assets in a share.
+ /// The name of the sent share.
+ /// The continuation token to list the next page.
+ /// Filters the results using OData syntax.
+ /// Sorts the results using OData syntax.
+ /// 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 GetAssets(string sentShareName, string skipToken = null, string filter = null, string orderby = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+
+ return GetAssetsImplementation("AssetsClient.GetAssets", sentShareName, skipToken, filter, orderby, context);
+ }
+
+ private Pageable GetAssetsImplementation(string diagnosticsScopeName, string sentShareName, string skipToken, string filter, string orderby, RequestContext context)
+ {
+ return PageableHelpers.CreatePageable(CreateEnumerable, ClientDiagnostics, diagnosticsScopeName);
+ IEnumerable> CreateEnumerable(string nextLink, int? pageSizeHint)
+ {
+ do
+ {
+ var message = string.IsNullOrEmpty(nextLink)
+ ? CreateGetAssetsRequest(sentShareName, skipToken, filter, orderby, context)
+ : CreateGetAssetsNextPageRequest(nextLink, sentShareName, skipToken, filter, orderby, context);
+ var page = LowLevelPageableHelpers.ProcessMessage(_pipeline, message, context, "value", "nextLink");
+ nextLink = page.ContinuationToken;
+ yield return page;
+ } while (!string.IsNullOrEmpty(nextLink));
+ }
+ }
+
+ /// Adds a new asset to an existing share.
+ /// 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 sent share.
+ /// The name of the asset.
+ /// 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 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> CreateAsync(WaitUntil waitUntil, string sentShareName, string assetName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(assetName, nameof(assetName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetsClient.Create");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateCreateRequest(sentShareName, assetName, content, context);
+ return await ProtocolOperationHelpers.ProcessMessageAsync(_pipeline, message, ClientDiagnostics, "AssetsClient.Create", OperationFinalStateVia.Location, context, waitUntil).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Adds a new asset to an existing share.
+ /// 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 sent share.
+ /// The name of the asset.
+ /// 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 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 Create(WaitUntil waitUntil, string sentShareName, string assetName, RequestContent content, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(assetName, nameof(assetName));
+ Argument.AssertNotNull(content, nameof(content));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetsClient.Create");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateCreateRequest(sentShareName, assetName, content, context);
+ return ProtocolOperationHelpers.ProcessMessage(_pipeline, message, ClientDiagnostics, "AssetsClient.Create", OperationFinalStateVia.Location, context, waitUntil);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Delete asset in a sentShare.
+ /// 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 sent share.
+ /// The name of the asset.
+ /// 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 representing an asynchronous operation on the service.
+ ///
+ public virtual async Task DeleteAsync(WaitUntil waitUntil, string sentShareName, string assetName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(assetName, nameof(assetName));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetsClient.Delete");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateDeleteRequest(sentShareName, assetName, context);
+ return await ProtocolOperationHelpers.ProcessMessageWithoutResponseValueAsync(_pipeline, message, ClientDiagnostics, "AssetsClient.Delete", OperationFinalStateVia.Location, context, waitUntil).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Delete asset in a sentShare.
+ /// 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 sent share.
+ /// The name of the asset.
+ /// 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 representing an asynchronous operation on the service.
+ ///
+ public virtual Operation Delete(WaitUntil waitUntil, string sentShareName, string assetName, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(sentShareName, nameof(sentShareName));
+ Argument.AssertNotNullOrEmpty(assetName, nameof(assetName));
+
+ using var scope = ClientDiagnostics.CreateScope("AssetsClient.Delete");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateDeleteRequest(sentShareName, assetName, context);
+ return ProtocolOperationHelpers.ProcessMessageWithoutResponseValue(_pipeline, message, ClientDiagnostics, "AssetsClient.Delete", OperationFinalStateVia.Location, context, waitUntil);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ internal HttpMessage CreateGetAssetsRequest(string sentShareName, string skipToken, string filter, string orderby, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Get;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/sentShares/", false);
+ uri.AppendPath(sentShareName, true);
+ uri.AppendPath("/assets", false);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ if (skipToken != null)
+ {
+ uri.AppendQuery("skipToken", skipToken, true);
+ }
+ if (filter != null)
+ {
+ uri.AppendQuery("$filter", filter, true);
+ }
+ if (orderby != null)
+ {
+ uri.AppendQuery("$orderby", orderby, true);
+ }
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateGetAssetRequest(string sentShareName, string assetName, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Get;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/sentShares/", false);
+ uri.AppendPath(sentShareName, true);
+ uri.AppendPath("/assets/", false);
+ uri.AppendPath(assetName, true);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateCreateRequest(string sentShareName, string assetName, RequestContent content, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier202);
+ var request = message.Request;
+ request.Method = RequestMethod.Put;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/sentShares/", false);
+ uri.AppendPath(sentShareName, true);
+ uri.AppendPath("/assets/", false);
+ uri.AppendPath(assetName, 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");
+ request.Content = content;
+ return message;
+ }
+
+ internal HttpMessage CreateDeleteRequest(string sentShareName, string assetName, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier202);
+ var request = message.Request;
+ request.Method = RequestMethod.Delete;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/sentShares/", false);
+ uri.AppendPath(sentShareName, true);
+ uri.AppendPath("/assets/", false);
+ uri.AppendPath(assetName, true);
+ uri.AppendQuery("api-version", "2021-09-01-preview", true);
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ return message;
+ }
+
+ internal HttpMessage CreateGetAssetsNextPageRequest(string nextLink, string sentShareName, string skipToken, string filter, string orderby, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier200);
+ var request = message.Request;
+ request.Method = RequestMethod.Get;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ 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 _responseClassifier202;
+ private static ResponseClassifier ResponseClassifier202 => _responseClassifier202 ??= new StatusCodeClassifier(stackalloc ushort[] { 202 });
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/ClassificationRulesClient.cs b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/ClassificationRulesClient.cs
new file mode 100644
index 000000000000..5f4090b76f63
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.Account
+{
+ // 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 PurviewAccountClientOptions())
+ {
+ }
+
+ /// 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, PurviewAccountClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new PurviewAccountClientOptions();
+
+ 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.Account/src/Generated/CollectionClient.cs b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/CollectionClient.cs
new file mode 100644
index 000000000000..cbfd05457aca
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.Account
+{
+ // 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 PurviewAccountClientOptions())
+ {
+ }
+
+ /// 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, PurviewAccountClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new PurviewAccountClientOptions();
+
+ 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.Account/src/Generated/DataSourcesClient.cs b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/DataSourcesClient.cs
new file mode 100644
index 000000000000..598d56dc029b
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.Account
+{
+ // 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 PurviewAccountClientOptions())
+ {
+ }
+
+ /// 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, PurviewAccountClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new PurviewAccountClientOptions();
+
+ 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.Account/src/Generated/DatasourcePreferencesClient.cs b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/DatasourcePreferencesClient.cs
new file mode 100644
index 000000000000..55dbb3168ae4
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.Account
+{
+ // 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 Uri _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(Uri endpoint, TokenCredential credential) : this(endpoint, credential, new PurviewAccountClientOptions())
+ {
+ }
+
+ /// 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(Uri endpoint, TokenCredential credential, PurviewAccountClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new PurviewAccountClientOptions();
+
+ 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.Reset(_endpoint);
+ 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.Account/src/Generated/DiscoveryClient.cs b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/DiscoveryClient.cs
new file mode 100644
index 000000000000..e455ba30b5f7
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.Account
+{
+ // 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 PurviewAccountClientOptions())
+ {
+ }
+
+ /// 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, PurviewAccountClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new PurviewAccountClientOptions();
+
+ 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.Account/src/Generated/Docs/AcceptedSentSharesClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/AcceptedSentSharesClient.xml
new file mode 100644
index 000000000000..137bae666b63
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/AcceptedSentSharesClient.xml
@@ -0,0 +1,727 @@
+
+
+
+
+
+This sample shows how to call GetAcceptedSentShareAsync with required parameters and parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+Response response = await client.GetAcceptedSentShareAsync("", "");
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Get an accepted sent share
+
+Below is the JSON schema for the response payload.
+
+Response Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+This sample shows how to call GetAcceptedSentShare with required parameters and parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+Response response = client.GetAcceptedSentShare("", "");
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Get an accepted sent share
+
+Below is the JSON schema for the response payload.
+
+Response Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+This sample shows how to call GetAcceptedSentSharesAsync with required parameters and parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+await foreach (var data in client.GetAcceptedSentSharesAsync(""))
+{
+ JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("shareKind").ToString());
+ Console.WriteLine(result.ToString());
+}
+]]>
+This sample shows how to call GetAcceptedSentSharesAsync with all parameters, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+await foreach (var data in client.GetAcceptedSentSharesAsync("", ""))
+{
+ JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("shareKind").ToString());
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("type").ToString());
+}
+]]>
+
+
+Get list of accepted sent shares
+
+Below is the JSON schema for one item in the pageable response.
+
+Response Body:
+
+Schema for AcceptedSentShareListValue:
+{
+ shareKind: "InPlace", # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+This sample shows how to call GetAcceptedSentShares with required parameters and parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+foreach (var data in client.GetAcceptedSentShares(""))
+{
+ JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("shareKind").ToString());
+ Console.WriteLine(result.ToString());
+}
+]]>
+This sample shows how to call GetAcceptedSentShares with all parameters, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+foreach (var data in client.GetAcceptedSentShares("", ""))
+{
+ JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("shareKind").ToString());
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("type").ToString());
+}
+]]>
+
+
+Get list of accepted sent shares
+
+Below is the JSON schema for one item in the pageable response.
+
+Response Body:
+
+Schema for AcceptedSentShareListValue:
+{
+ shareKind: "InPlace", # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+This sample shows how to call ReinstateAsync with required parameters and request content, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var data = new {
+ properties = new {},
+ shareKind = "InPlace",
+};
+
+var operation = await client.ReinstateAsync(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = await operation.WaitForCompletionAsync();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call ReinstateAsync with all parameters and request content, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ expirationDate = "2022-05-10T18:57:31.2311892Z",
+ },
+ shareKind = "InPlace",
+};
+
+var operation = await client.ReinstateAsync(WaitUntil.Completed, "", "", RequestContent.Create(data), "");
+
+BinaryData data = await operation.WaitForCompletionAsync();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Reinstate a revoked accepted sent share
+
+Below is the JSON schema for the request and response payloads.
+
+Request Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+Response Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+This sample shows how to call Reinstate with required parameters and request content, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var data = new {
+ properties = new {},
+ shareKind = "InPlace",
+};
+
+var operation = client.Reinstate(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = operation.WaitForCompletion();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call Reinstate with all parameters and request content, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ expirationDate = "2022-05-10T18:57:31.2311892Z",
+ },
+ shareKind = "InPlace",
+};
+
+var operation = client.Reinstate(WaitUntil.Completed, "", "", RequestContent.Create(data), "");
+
+BinaryData data = operation.WaitForCompletion();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Reinstate a revoked accepted sent share
+
+Below is the JSON schema for the request and response payloads.
+
+Request Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+Response Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+This sample shows how to call RevokeAsync with required parameters and parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var operation = await client.RevokeAsync(WaitUntil.Completed, "", "");
+
+BinaryData data = await operation.WaitForCompletionAsync();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call RevokeAsync with all parameters, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var operation = await client.RevokeAsync(WaitUntil.Completed, "", "", "");
+
+BinaryData data = await operation.WaitForCompletionAsync();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Revoke an accepted sent share
+
+Below is the JSON schema for the response payload.
+
+Response Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+This sample shows how to call Revoke with required parameters and parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var operation = client.Revoke(WaitUntil.Completed, "", "");
+
+BinaryData data = operation.WaitForCompletion();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call Revoke with all parameters, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var operation = client.Revoke(WaitUntil.Completed, "", "", "");
+
+BinaryData data = operation.WaitForCompletion();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Revoke an accepted sent share
+
+Below is the JSON schema for the response payload.
+
+Response Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+This sample shows how to call UpdateExpirationAsync with required parameters and request content, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var data = new {
+ properties = new {},
+ shareKind = "InPlace",
+};
+
+var operation = await client.UpdateExpirationAsync(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = await operation.WaitForCompletionAsync();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call UpdateExpirationAsync with all parameters and request content, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ expirationDate = "2022-05-10T18:57:31.2311892Z",
+ },
+ shareKind = "InPlace",
+};
+
+var operation = await client.UpdateExpirationAsync(WaitUntil.Completed, "", "", RequestContent.Create(data), "");
+
+BinaryData data = await operation.WaitForCompletionAsync();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Update the expiration date of an accepted sent share
+
+Below is the JSON schema for the request and response payloads.
+
+Request Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+Response Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+This sample shows how to call UpdateExpiration with required parameters and request content, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var data = new {
+ properties = new {},
+ shareKind = "InPlace",
+};
+
+var operation = client.UpdateExpiration(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = operation.WaitForCompletion();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call UpdateExpiration with all parameters and request content, and how to parse the result.
+");
+var client = new AcceptedSentSharesClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ expirationDate = "2022-05-10T18:57:31.2311892Z",
+ },
+ shareKind = "InPlace",
+};
+
+var operation = client.UpdateExpiration(WaitUntil.Completed, "", "", RequestContent.Create(data), "");
+
+BinaryData data = operation.WaitForCompletion();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("shareKind").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Update the expiration date of an accepted sent share
+
+Below is the JSON schema for the request and response payloads.
+
+Request Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+Response Body:
+
+InPlaceAcceptedSentShare
Schema for InPlaceAcceptedSentShare:
+{
+ properties: {
+ createdAt: string (ISO 8601 Format), # Optional. created at
+ expirationDate: string (ISO 8601 Format), # Optional. Expiration date of the received share in UTC format
+ receivedShareStatus: "Active" | "Reinstating" | "Revoked" | "Revoking" | "RevokeFailed" | "ReinstateFailed" | "SourceDeleted", # Optional. received share status
+ receiverEmail: string, # Optional. Email of the user/receiver who received the sent share invitation and created the received share
+ receiverName: string, # Optional. Name of the user/receiver who received the sent share invitation and created the received share
+ receiverTargetObjectId: string, # Optional. Receiver's target object id
+ receiverTenantName: string, # Optional. Tenant name of the user/receiver who received the sent share invitation and created the received share
+ senderEmail: string, # Optional. Email of the sender who created the sent share invitation
+ senderName: string, # Optional. Name of the sender who created the sent share invitation
+ senderTenantName: string, # Optional. Tenant name of the sender who created the sent share invitation
+ sharedAt: string (ISO 8601 Format), # Optional. Shared at
+ }, # Required. Properties of in place accepted sent share.
+ shareKind: InPlace, # Required. Defines the supported types for share.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/AssetMappingsClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/AssetMappingsClient.xml
new file mode 100644
index 000000000000..fccaebaca198
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/AssetMappingsClient.xml
@@ -0,0 +1,563 @@
+
+
+
+
+
+This sample shows how to call GetAssetMappingAsync with required parameters and parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+Response response = await client.GetAssetMappingAsync("", "");
+
+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());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Get an asset mapping for a received share
+
+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.
+AdlsGen2AccountAssetMapping
Schema for AdlsGen2AccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the adls gen2 storage account asset mapping.
+ kind: AdlsGen2Account, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAssetMapping
Schema for BlobAccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the blob storage account asset mapping.
+ kind: BlobAccount, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+
+This sample shows how to call GetAssetMapping with required parameters and parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+Response response = client.GetAssetMapping("", "");
+
+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());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Get an asset mapping for a received share
+
+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.
+AdlsGen2AccountAssetMapping
Schema for AdlsGen2AccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the adls gen2 storage account asset mapping.
+ kind: AdlsGen2Account, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAssetMapping
Schema for BlobAccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the blob storage account asset mapping.
+ kind: BlobAccount, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+
+This sample shows how to call GetAssetMappingsAsync with required parameters and parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+await foreach (var data in client.GetAssetMappingsAsync(""))
+{
+ JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("kind").ToString());
+ Console.WriteLine(result.ToString());
+}
+]]>
+This sample shows how to call GetAssetMappingsAsync with all parameters, and how to parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+await foreach (var data in client.GetAssetMappingsAsync("", "", "", ""))
+{
+ 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());
+ Console.WriteLine(result.GetProperty("type").ToString());
+}
+]]>
+
+
+List asset mappings for a received share
+
+Below is the JSON schema for one item in the pageable response.
+
+Response Body:
+
+Schema for AssetMappingListValue:
+{
+ kind: "AdlsGen2Account" | "BlobAccount", # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+This sample shows how to call GetAssetMappings with required parameters and parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+foreach (var data in client.GetAssetMappings(""))
+{
+ JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("kind").ToString());
+ Console.WriteLine(result.ToString());
+}
+]]>
+This sample shows how to call GetAssetMappings with all parameters, and how to parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+foreach (var data in client.GetAssetMappings("", "", "", ""))
+{
+ 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());
+ Console.WriteLine(result.GetProperty("type").ToString());
+}
+]]>
+
+
+List asset mappings for a received share
+
+Below is the JSON schema for one item in the pageable response.
+
+Response Body:
+
+Schema for AssetMappingListValue:
+{
+ kind: "AdlsGen2Account" | "BlobAccount", # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+This sample shows how to call CreateAsync with required parameters and request content, and how to parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ assetId = "73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a",
+ containerName = "",
+ folder = "",
+ storageAccountResourceId = "",
+ },
+ kind = "AdlsGen2Account",
+};
+
+var operation = await client.CreateAsync(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = await operation.WaitForCompletionAsync();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("kind").ToString());
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call CreateAsync with all parameters and request content, and how to parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ assetId = "73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a",
+ containerName = "",
+ folder = "",
+ mountPath = "",
+ storageAccountResourceId = "",
+ },
+ kind = "AdlsGen2Account",
+};
+
+var operation = await client.CreateAsync(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = await operation.WaitForCompletionAsync();
+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());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Create an asset mapping on a received share
+
+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.
+AdlsGen2AccountAssetMapping
Schema for AdlsGen2AccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the adls gen2 storage account asset mapping.
+ kind: AdlsGen2Account, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAssetMapping
Schema for BlobAccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the blob storage account asset mapping.
+ kind: BlobAccount, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+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.
+AdlsGen2AccountAssetMapping
Schema for AdlsGen2AccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the adls gen2 storage account asset mapping.
+ kind: AdlsGen2Account, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAssetMapping
Schema for BlobAccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the blob storage account asset mapping.
+ kind: BlobAccount, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+
+This sample shows how to call Create with required parameters and request content, and how to parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ assetId = "73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a",
+ containerName = "",
+ folder = "",
+ storageAccountResourceId = "",
+ },
+ kind = "AdlsGen2Account",
+};
+
+var operation = client.Create(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = operation.WaitForCompletion();
+JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("kind").ToString());
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call Create with all parameters and request content, and how to parse the result.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ assetId = "73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a",
+ containerName = "",
+ folder = "",
+ mountPath = "",
+ storageAccountResourceId = "",
+ },
+ kind = "AdlsGen2Account",
+};
+
+var operation = client.Create(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = operation.WaitForCompletion();
+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());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Create an asset mapping on a received share
+
+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.
+AdlsGen2AccountAssetMapping
Schema for AdlsGen2AccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the adls gen2 storage account asset mapping.
+ kind: AdlsGen2Account, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAssetMapping
Schema for BlobAccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the blob storage account asset mapping.
+ kind: BlobAccount, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+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.
+AdlsGen2AccountAssetMapping
Schema for AdlsGen2AccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the adls gen2 storage account asset mapping.
+ kind: AdlsGen2Account, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAssetMapping
Schema for BlobAccountAssetMapping:
+{
+ properties: {
+ assetId: Guid, # Required. The id of the sender asset.
+ assetMappingStatus: "Ok" | "Broken", # Optional. State of asset mapping
+ containerName: string, # Required. Name of the container to received the shared paths.
+ folder: string, # Required. Folder under which the shared paths will be reflected.
+ location: string, # Optional. Location of the receiver storage account.
+ mountPath: string, # Optional. Optional mount path for the shared paths.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ storageAccountResourceId: string, # Required. Resource id of the receiver storage account.
+ }, # Required. Properties of the blob storage account asset mapping.
+ kind: BlobAccount, # Required. Types of asset mapping.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+
+This sample shows how to call DeleteAsync with required parameters.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+var operation = await client.DeleteAsync(WaitUntil.Completed, "", "");
+
+var response = await operation.WaitForCompletionResponseAsync();
+Console.WriteLine(response.Status)
+]]>
+
+
+Delete an asset mapping for a received share
+
+
+
+
+This sample shows how to call Delete with required parameters.
+");
+var client = new AssetMappingsClient(endpoint, credential);
+
+var operation = client.Delete(WaitUntil.Completed, "", "");
+
+var response = operation.WaitForCompletionResponse();
+Console.WriteLine(response.Status)
+]]>
+
+
+Delete an asset mapping for a received share
+
+
+
+
\ No newline at end of file
diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/AssetsClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/AssetsClient.xml
new file mode 100644
index 000000000000..d0f1db07f954
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/AssetsClient.xml
@@ -0,0 +1,561 @@
+
+
+
+
+
+This sample shows how to call GetAssetAsync with required parameters and parse the result.
+");
+var client = new AssetsClient(endpoint, credential);
+
+Response response = await client.GetAssetAsync("", "");
+
+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());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Get an asset on a sent share
+
+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.
+AdlsGen2AccountAsset
Schema for AdlsGen2AccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the adls gen2 storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of adls gen2 storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the adls gen2 storage account.
+ }, # Required. Adls gen 2 account asset properties
+ kind: AdlsGen2Account, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAsset
Schema for BlobAccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the blob storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of blob storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the blob storage account.
+ }, # Required. Blob storage account asset properties
+ kind: BlobAccount, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+
+This sample shows how to call GetAsset with required parameters and parse the result.
+");
+var client = new AssetsClient(endpoint, credential);
+
+Response response = client.GetAsset("", "");
+
+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());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Get an asset on a sent share
+
+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.
+AdlsGen2AccountAsset
Schema for AdlsGen2AccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the adls gen2 storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of adls gen2 storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the adls gen2 storage account.
+ }, # Required. Adls gen 2 account asset properties
+ kind: AdlsGen2Account, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAsset
Schema for BlobAccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the blob storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of blob storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the blob storage account.
+ }, # Required. Blob storage account asset properties
+ kind: BlobAccount, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+
+This sample shows how to call GetAssetsAsync with required parameters and parse the result.
+");
+var client = new AssetsClient(endpoint, credential);
+
+await foreach (var data in client.GetAssetsAsync(""))
+{
+ JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("kind").ToString());
+ Console.WriteLine(result.ToString());
+}
+]]>
+This sample shows how to call GetAssetsAsync with all parameters, and how to parse the result.
+");
+var client = new AssetsClient(endpoint, credential);
+
+await foreach (var data in client.GetAssetsAsync("", "", "", ""))
+{
+ 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());
+ Console.WriteLine(result.GetProperty("type").ToString());
+}
+]]>
+
+
+List assets on a sent share
+
+Below is the JSON schema for one item in the pageable response.
+
+Response Body:
+
+Schema for AssetListValue:
+{
+ kind: "AdlsGen2Account" | "BlobAccount", # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+This sample shows how to call GetAssets with required parameters and parse the result.
+");
+var client = new AssetsClient(endpoint, credential);
+
+foreach (var data in client.GetAssets(""))
+{
+ JsonElement result = JsonDocument.Parse(data.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("kind").ToString());
+ Console.WriteLine(result.ToString());
+}
+]]>
+This sample shows how to call GetAssets with all parameters, and how to parse the result.
+");
+var client = new AssetsClient(endpoint, credential);
+
+foreach (var data in client.GetAssets("", "", "", ""))
+{
+ 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());
+ Console.WriteLine(result.GetProperty("type").ToString());
+}
+]]>
+
+
+List assets on a sent share
+
+Below is the JSON schema for one item in the pageable response.
+
+Response Body:
+
+Schema for AssetListValue:
+{
+ kind: "AdlsGen2Account" | "BlobAccount", # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+This sample shows how to call CreateAsync with required parameters and request content and parse the result.
+");
+var client = new AssetsClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ paths = new[] {
+ new {
+ containerName = "",
+ receiverPath = "",
+ senderPath = "",
+ }
+ },
+ receiverAssetName = "",
+ storageAccountResourceId = "",
+ },
+ kind = "AdlsGen2Account",
+};
+
+var operation = await client.CreateAsync(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = await operation.WaitForCompletionAsync();
+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());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Create an asset on a sent share
+
+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.
+AdlsGen2AccountAsset
Schema for AdlsGen2AccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the adls gen2 storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of adls gen2 storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the adls gen2 storage account.
+ }, # Required. Adls gen 2 account asset properties
+ kind: AdlsGen2Account, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAsset
Schema for BlobAccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the blob storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of blob storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the blob storage account.
+ }, # Required. Blob storage account asset properties
+ kind: BlobAccount, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+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.
+AdlsGen2AccountAsset
Schema for AdlsGen2AccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the adls gen2 storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of adls gen2 storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the adls gen2 storage account.
+ }, # Required. Adls gen 2 account asset properties
+ kind: AdlsGen2Account, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAsset
Schema for BlobAccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the blob storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of blob storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the blob storage account.
+ }, # Required. Blob storage account asset properties
+ kind: BlobAccount, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+
+This sample shows how to call Create with required parameters and request content and parse the result.
+");
+var client = new AssetsClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ paths = new[] {
+ new {
+ containerName = "",
+ receiverPath = "",
+ senderPath = "",
+ }
+ },
+ receiverAssetName = "",
+ storageAccountResourceId = "",
+ },
+ kind = "AdlsGen2Account",
+};
+
+var operation = client.Create(WaitUntil.Completed, "", "", RequestContent.Create(data));
+
+BinaryData data = operation.WaitForCompletion();
+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());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Create an asset on a sent share
+
+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.
+AdlsGen2AccountAsset
Schema for AdlsGen2AccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the adls gen2 storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of adls gen2 storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the adls gen2 storage account.
+ }, # Required. Adls gen 2 account asset properties
+ kind: AdlsGen2Account, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAsset
Schema for BlobAccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the blob storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of blob storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the blob storage account.
+ }, # Required. Blob storage account asset properties
+ kind: BlobAccount, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+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.
+AdlsGen2AccountAsset
Schema for AdlsGen2AccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the adls gen2 storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of adls gen2 storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the adls gen2 storage account.
+ }, # Required. Adls gen 2 account asset properties
+ kind: AdlsGen2Account, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+~+ 1 more JSON objects
BlobAccountAsset
Schema for BlobAccountAsset:
+{
+ properties: {
+ location: string, # Optional. Location of the blob storage account.
+ paths: [
+ {
+ containerName: string, # Required. Gets or sets the container name.
+ receiverPath: string, # Optional. Gets or sets the path on the receiver side where the asset is to be mapped.
+ senderPath: string, # Optional. Gets or sets the path to file/folder within the container to be shared.
+ }
+ ], # Required. A list of blob storage account paths to be shared.
+ provisioningState: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed" | "SoftDeleting" | "SoftDeleted" | "SourceMoved" | "SourceDeleted" | "TargetMoved" | "TargetDeleted", # Optional. Provisioning status of the resource
+ receiverAssetName: string, # Required. Name of the asset for the receiver.
+ storageAccountResourceId: string, # Required. Resource id of the blob storage account.
+ }, # Required. Blob storage account asset properties
+ kind: BlobAccount, # Required. The types of asset.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+
+
+This sample shows how to call DeleteAsync with required parameters.
+");
+var client = new AssetsClient(endpoint, credential);
+
+var operation = await client.DeleteAsync(WaitUntil.Completed, "", "");
+
+var response = await operation.WaitForCompletionResponseAsync();
+Console.WriteLine(response.Status)
+]]>
+
+
+Delete an asset on a sent share
+
+
+
+
+This sample shows how to call Delete with required parameters.
+");
+var client = new AssetsClient(endpoint, credential);
+
+var operation = client.Delete(WaitUntil.Completed, "", "");
+
+var response = operation.WaitForCompletionResponse();
+Console.WriteLine(response.Status)
+]]>
+
+
+Delete an asset on a sent share
+
+
+
+
\ No newline at end of file
diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/ClassificationRulesClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/ClassificationRulesClient.xml
new file mode 100644
index 000000000000..f52c7bf23c51
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.
+SystemClassificationRule
Schema 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
CustomClassificationRule
Schema 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.
+SystemClassificationRule
Schema 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
CustomClassificationRule
Schema 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.
+SystemClassificationRule
Schema 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
CustomClassificationRule
Schema 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.
+SystemClassificationRule
Schema 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
CustomClassificationRule
Schema 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.
+SystemClassificationRule
Schema 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
CustomClassificationRule
Schema 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.
+SystemClassificationRule
Schema 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
CustomClassificationRule
Schema 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.
+SystemClassificationRule
Schema 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
CustomClassificationRule
Schema 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.
+SystemClassificationRule
Schema 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
CustomClassificationRule
Schema 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.Account/src/Generated/Docs/CollectionClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/CollectionClient.xml
new file mode 100644
index 000000000000..2dfb8a3b76f2
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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 = "
+
+
+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.Account/src/Generated/Docs/DataSourcesClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/DataSourcesClient.xml
new file mode 100644
index 000000000000..f4b5eb7ebd5f
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.
+AzureSubscriptionDataSource
Schema 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
AzureResourceGroupDataSource
Schema 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.
+}
+
+
+AzureSynapseWorkspaceDataSource
Schema 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.
+}
+
+
+AzureSynapseDataSource
Schema 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.
+}
+
+
+AdlsGen1DataSource
Schema 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.
+}
+
+
+AdlsGen2DataSource
Schema 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.
+}
+
+
+AmazonAccountDataSource
Schema 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.
+}
+
+
+AmazonS3DataSource
Schema 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.
+}
+
+
+AmazonSqlDataSource
Schema 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.
+}
+
+
+AzureCosmosDbDataSource
Schema 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.
+}
+
+
+AzureDataExplorerDataSource
Schema 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.
+}
+
+
+AzureFileServiceDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseDataSource
Schema 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.
+}
+
+
+AmazonPostgreSqlDataSource
Schema 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.
+}
+
+
+AzurePostgreSqlDataSource
Schema 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.
+}
+
+
+SqlServerDatabaseDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseManagedInstanceDataSource
Schema 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.
+}
+
+
+AzureSqlDataWarehouseDataSource
Schema 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.
+}
+
+
+AzureMySqlDataSource
Schema 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.
+}
+
+
+AzureStorageDataSource
Schema 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.
+}
+
+
+TeradataDataSource
Schema 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.
+}
+
+
+OracleDataSource
Schema 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.
+}
+
+
+SapS4HanaDataSource
Schema 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.
+}
+
+
+SapEccDataSource
Schema 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.
+}
+
+
+PowerBIDataSource
Schema 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.
+AzureSubscriptionDataSource
Schema 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
AzureResourceGroupDataSource
Schema 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.
+}
+
+
+AzureSynapseWorkspaceDataSource
Schema 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.
+}
+
+
+AzureSynapseDataSource
Schema 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.
+}
+
+
+AdlsGen1DataSource
Schema 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.
+}
+
+
+AdlsGen2DataSource
Schema 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.
+}
+
+
+AmazonAccountDataSource
Schema 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.
+}
+
+
+AmazonS3DataSource
Schema 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.
+}
+
+
+AmazonSqlDataSource
Schema 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.
+}
+
+
+AzureCosmosDbDataSource
Schema 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.
+}
+
+
+AzureDataExplorerDataSource
Schema 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.
+}
+
+
+AzureFileServiceDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseDataSource
Schema 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.
+}
+
+
+AmazonPostgreSqlDataSource
Schema 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.
+}
+
+
+AzurePostgreSqlDataSource
Schema 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.
+}
+
+
+SqlServerDatabaseDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseManagedInstanceDataSource
Schema 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.
+}
+
+
+AzureSqlDataWarehouseDataSource
Schema 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.
+}
+
+
+AzureMySqlDataSource
Schema 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.
+}
+
+
+AzureStorageDataSource
Schema 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.
+}
+
+
+TeradataDataSource
Schema 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.
+}
+
+
+OracleDataSource
Schema 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.
+}
+
+
+SapS4HanaDataSource
Schema 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.
+}
+
+
+SapEccDataSource
Schema 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.
+}
+
+
+PowerBIDataSource
Schema 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.
+AzureSubscriptionDataSource
Schema 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
AzureResourceGroupDataSource
Schema 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.
+}
+
+
+AzureSynapseWorkspaceDataSource
Schema 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.
+}
+
+
+AzureSynapseDataSource
Schema 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.
+}
+
+
+AdlsGen1DataSource
Schema 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.
+}
+
+
+AdlsGen2DataSource
Schema 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.
+}
+
+
+AmazonAccountDataSource
Schema 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.
+}
+
+
+AmazonS3DataSource
Schema 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.
+}
+
+
+AmazonSqlDataSource
Schema 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.
+}
+
+
+AzureCosmosDbDataSource
Schema 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.
+}
+
+
+AzureDataExplorerDataSource
Schema 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.
+}
+
+
+AzureFileServiceDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseDataSource
Schema 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.
+}
+
+
+AmazonPostgreSqlDataSource
Schema 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.
+}
+
+
+AzurePostgreSqlDataSource
Schema 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.
+}
+
+
+SqlServerDatabaseDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseManagedInstanceDataSource
Schema 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.
+}
+
+
+AzureSqlDataWarehouseDataSource
Schema 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.
+}
+
+
+AzureMySqlDataSource
Schema 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.
+}
+
+
+AzureStorageDataSource
Schema 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.
+}
+
+
+TeradataDataSource
Schema 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.
+}
+
+
+OracleDataSource
Schema 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.
+}
+
+
+SapS4HanaDataSource
Schema 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.
+}
+
+
+SapEccDataSource
Schema 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.
+}
+
+
+PowerBIDataSource
Schema 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.
+AzureSubscriptionDataSource
Schema 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
AzureResourceGroupDataSource
Schema 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.
+}
+
+
+AzureSynapseWorkspaceDataSource
Schema 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.
+}
+
+
+AzureSynapseDataSource
Schema 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.
+}
+
+
+AdlsGen1DataSource
Schema 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.
+}
+
+
+AdlsGen2DataSource
Schema 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.
+}
+
+
+AmazonAccountDataSource
Schema 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.
+}
+
+
+AmazonS3DataSource
Schema 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.
+}
+
+
+AmazonSqlDataSource
Schema 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.
+}
+
+
+AzureCosmosDbDataSource
Schema 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.
+}
+
+
+AzureDataExplorerDataSource
Schema 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.
+}
+
+
+AzureFileServiceDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseDataSource
Schema 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.
+}
+
+
+AmazonPostgreSqlDataSource
Schema 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.
+}
+
+
+AzurePostgreSqlDataSource
Schema 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.
+}
+
+
+SqlServerDatabaseDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseManagedInstanceDataSource
Schema 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.
+}
+
+
+AzureSqlDataWarehouseDataSource
Schema 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.
+}
+
+
+AzureMySqlDataSource
Schema 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.
+}
+
+
+AzureStorageDataSource
Schema 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.
+}
+
+
+TeradataDataSource
Schema 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.
+}
+
+
+OracleDataSource
Schema 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.
+}
+
+
+SapS4HanaDataSource
Schema 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.
+}
+
+
+SapEccDataSource
Schema 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.
+}
+
+
+PowerBIDataSource
Schema 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.
+AzureSubscriptionDataSource
Schema 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
AzureResourceGroupDataSource
Schema 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.
+}
+
+
+AzureSynapseWorkspaceDataSource
Schema 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.
+}
+
+
+AzureSynapseDataSource
Schema 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.
+}
+
+
+AdlsGen1DataSource
Schema 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.
+}
+
+
+AdlsGen2DataSource
Schema 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.
+}
+
+
+AmazonAccountDataSource
Schema 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.
+}
+
+
+AmazonS3DataSource
Schema 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.
+}
+
+
+AmazonSqlDataSource
Schema 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.
+}
+
+
+AzureCosmosDbDataSource
Schema 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.
+}
+
+
+AzureDataExplorerDataSource
Schema 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.
+}
+
+
+AzureFileServiceDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseDataSource
Schema 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.
+}
+
+
+AmazonPostgreSqlDataSource
Schema 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.
+}
+
+
+AzurePostgreSqlDataSource
Schema 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.
+}
+
+
+SqlServerDatabaseDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseManagedInstanceDataSource
Schema 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.
+}
+
+
+AzureSqlDataWarehouseDataSource
Schema 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.
+}
+
+
+AzureMySqlDataSource
Schema 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.
+}
+
+
+AzureStorageDataSource
Schema 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.
+}
+
+
+TeradataDataSource
Schema 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.
+}
+
+
+OracleDataSource
Schema 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.
+}
+
+
+SapS4HanaDataSource
Schema 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.
+}
+
+
+SapEccDataSource
Schema 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.
+}
+
+
+PowerBIDataSource
Schema 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.
+AzureSubscriptionDataSource
Schema 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
AzureResourceGroupDataSource
Schema 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.
+}
+
+
+AzureSynapseWorkspaceDataSource
Schema 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.
+}
+
+
+AzureSynapseDataSource
Schema 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.
+}
+
+
+AdlsGen1DataSource
Schema 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.
+}
+
+
+AdlsGen2DataSource
Schema 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.
+}
+
+
+AmazonAccountDataSource
Schema 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.
+}
+
+
+AmazonS3DataSource
Schema 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.
+}
+
+
+AmazonSqlDataSource
Schema 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.
+}
+
+
+AzureCosmosDbDataSource
Schema 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.
+}
+
+
+AzureDataExplorerDataSource
Schema 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.
+}
+
+
+AzureFileServiceDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseDataSource
Schema 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.
+}
+
+
+AmazonPostgreSqlDataSource
Schema 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.
+}
+
+
+AzurePostgreSqlDataSource
Schema 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.
+}
+
+
+SqlServerDatabaseDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseManagedInstanceDataSource
Schema 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.
+}
+
+
+AzureSqlDataWarehouseDataSource
Schema 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.
+}
+
+
+AzureMySqlDataSource
Schema 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.
+}
+
+
+AzureStorageDataSource
Schema 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.
+}
+
+
+TeradataDataSource
Schema 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.
+}
+
+
+OracleDataSource
Schema 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.
+}
+
+
+SapS4HanaDataSource
Schema 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.
+}
+
+
+SapEccDataSource
Schema 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.
+}
+
+
+PowerBIDataSource
Schema 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.
+AzureSubscriptionDataSource
Schema 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
AzureResourceGroupDataSource
Schema 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.
+}
+
+
+AzureSynapseWorkspaceDataSource
Schema 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.
+}
+
+
+AzureSynapseDataSource
Schema 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.
+}
+
+
+AdlsGen1DataSource
Schema 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.
+}
+
+
+AdlsGen2DataSource
Schema 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.
+}
+
+
+AmazonAccountDataSource
Schema 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.
+}
+
+
+AmazonS3DataSource
Schema 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.
+}
+
+
+AmazonSqlDataSource
Schema 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.
+}
+
+
+AzureCosmosDbDataSource
Schema 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.
+}
+
+
+AzureDataExplorerDataSource
Schema 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.
+}
+
+
+AzureFileServiceDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseDataSource
Schema 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.
+}
+
+
+AmazonPostgreSqlDataSource
Schema 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.
+}
+
+
+AzurePostgreSqlDataSource
Schema 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.
+}
+
+
+SqlServerDatabaseDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseManagedInstanceDataSource
Schema 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.
+}
+
+
+AzureSqlDataWarehouseDataSource
Schema 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.
+}
+
+
+AzureMySqlDataSource
Schema 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.
+}
+
+
+AzureStorageDataSource
Schema 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.
+}
+
+
+TeradataDataSource
Schema 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.
+}
+
+
+OracleDataSource
Schema 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.
+}
+
+
+SapS4HanaDataSource
Schema 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.
+}
+
+
+SapEccDataSource
Schema 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.
+}
+
+
+PowerBIDataSource
Schema 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.
+AzureSubscriptionDataSource
Schema 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
AzureResourceGroupDataSource
Schema 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.
+}
+
+
+AzureSynapseWorkspaceDataSource
Schema 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.
+}
+
+
+AzureSynapseDataSource
Schema 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.
+}
+
+
+AdlsGen1DataSource
Schema 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.
+}
+
+
+AdlsGen2DataSource
Schema 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.
+}
+
+
+AmazonAccountDataSource
Schema 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.
+}
+
+
+AmazonS3DataSource
Schema 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.
+}
+
+
+AmazonSqlDataSource
Schema 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.
+}
+
+
+AzureCosmosDbDataSource
Schema 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.
+}
+
+
+AzureDataExplorerDataSource
Schema 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.
+}
+
+
+AzureFileServiceDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseDataSource
Schema 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.
+}
+
+
+AmazonPostgreSqlDataSource
Schema 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.
+}
+
+
+AzurePostgreSqlDataSource
Schema 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.
+}
+
+
+SqlServerDatabaseDataSource
Schema 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.
+}
+
+
+AzureSqlDatabaseManagedInstanceDataSource
Schema 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.
+}
+
+
+AzureSqlDataWarehouseDataSource
Schema 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.
+}
+
+
+AzureMySqlDataSource
Schema 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.
+}
+
+
+AzureStorageDataSource
Schema 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.
+}
+
+
+TeradataDataSource
Schema 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.
+}
+
+
+OracleDataSource
Schema 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.
+}
+
+
+SapS4HanaDataSource
Schema 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.
+}
+
+
+SapEccDataSource
Schema 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.
+}
+
+
+PowerBIDataSource
Schema 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.Account/src/Generated/Docs/DatasourcePreferencesClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/DatasourcePreferencesClient.xml
new file mode 100644
index 000000000000..20cd98171e4f
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/DatasourcePreferencesClient.xml
@@ -0,0 +1,133 @@
+
+
+
+
+
+This sample shows how to call GetDatasourcePreferenceAsync with required parameters and parse the result.
+");
+var client = new DatasourcePreferencesClient(endpoint, 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.
+");
+var client = new DatasourcePreferencesClient(endpoint, 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.
+");
+var client = new DatasourcePreferencesClient(endpoint, 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.
+");
+var client = new DatasourcePreferencesClient(endpoint, 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.Account/src/Generated/Docs/DiscoveryClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/DiscoveryClient.xml
new file mode 100644
index 000000000000..ab309a3d41a8
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.Account/src/Generated/Docs/EmailRegistrationClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/EmailRegistrationClient.xml
new file mode 100644
index 000000000000..31a461a04895
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/EmailRegistrationClient.xml
@@ -0,0 +1,279 @@
+
+
+
+
+
+This sample shows how to call ActivateAsync with required parameters and parse the result.
+");
+var client = new EmailRegistrationClient(endpoint, credential);
+
+var data = new {};
+
+Response response = await client.ActivateAsync(RequestContent.Create(data));
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call ActivateAsync with all parameters and request content, and how to parse the result.
+");
+var client = new EmailRegistrationClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ activationCode = "",
+ },
+};
+
+Response response = await client.ActivateAsync(RequestContent.Create(data), "");
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("properties").GetProperty("activationCode").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("activationExpiration").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("email").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("registrationStatus").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("tenantId").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Activates the email registration for current tenant
+
+Below is the JSON schema for the request and response payloads.
+
+Request Body:
+
+Schema for TenantEmailRegistration:
+{
+ properties: {
+ activationCode: string, # Required. Activation code for the registration.
+ activationExpiration: string (ISO 8601 Format), # Optional. Date of the activation expiration.
+ email: string, # Optional. The email to register.
+ registrationStatus: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted", # Optional. Defines the supported types for registration.
+ tenantId: string, # Optional. The tenant id to register.
+ }, # Optional. Tenant email registration property bag.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+Response Body:
+
+Schema for TenantEmailRegistration:
+{
+ properties: {
+ activationCode: string, # Required. Activation code for the registration.
+ activationExpiration: string (ISO 8601 Format), # Optional. Date of the activation expiration.
+ email: string, # Optional. The email to register.
+ registrationStatus: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted", # Optional. Defines the supported types for registration.
+ tenantId: string, # Optional. The tenant id to register.
+ }, # Optional. Tenant email registration property bag.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+This sample shows how to call Activate with required parameters and parse the result.
+");
+var client = new EmailRegistrationClient(endpoint, credential);
+
+var data = new {};
+
+Response response = client.Activate(RequestContent.Create(data));
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call Activate with all parameters and request content, and how to parse the result.
+");
+var client = new EmailRegistrationClient(endpoint, credential);
+
+var data = new {
+ properties = new {
+ activationCode = "",
+ },
+};
+
+Response response = client.Activate(RequestContent.Create(data), "");
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("properties").GetProperty("activationCode").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("activationExpiration").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("email").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("registrationStatus").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("tenantId").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Activates the email registration for current tenant
+
+Below is the JSON schema for the request and response payloads.
+
+Request Body:
+
+Schema for TenantEmailRegistration:
+{
+ properties: {
+ activationCode: string, # Required. Activation code for the registration.
+ activationExpiration: string (ISO 8601 Format), # Optional. Date of the activation expiration.
+ email: string, # Optional. The email to register.
+ registrationStatus: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted", # Optional. Defines the supported types for registration.
+ tenantId: string, # Optional. The tenant id to register.
+ }, # Optional. Tenant email registration property bag.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+Response Body:
+
+Schema for TenantEmailRegistration:
+{
+ properties: {
+ activationCode: string, # Required. Activation code for the registration.
+ activationExpiration: string (ISO 8601 Format), # Optional. Date of the activation expiration.
+ email: string, # Optional. The email to register.
+ registrationStatus: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted", # Optional. Defines the supported types for registration.
+ tenantId: string, # Optional. The tenant id to register.
+ }, # Optional. Tenant email registration property bag.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+This sample shows how to call RegisterAsync and parse the result.
+");
+var client = new EmailRegistrationClient(endpoint, credential);
+
+Response response = await client.RegisterAsync();
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call RegisterAsync with all parameters, and how to parse the result.
+");
+var client = new EmailRegistrationClient(endpoint, credential);
+
+Response response = await client.RegisterAsync("");
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("properties").GetProperty("activationCode").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("activationExpiration").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("email").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("registrationStatus").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("tenantId").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Register an email for the current tenant
+
+Below is the JSON schema for the response payload.
+
+Response Body:
+
+Schema for TenantEmailRegistration:
+{
+ properties: {
+ activationCode: string, # Required. Activation code for the registration.
+ activationExpiration: string (ISO 8601 Format), # Optional. Date of the activation expiration.
+ email: string, # Optional. The email to register.
+ registrationStatus: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted", # Optional. Defines the supported types for registration.
+ tenantId: string, # Optional. The tenant id to register.
+ }, # Optional. Tenant email registration property bag.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
+This sample shows how to call Register and parse the result.
+");
+var client = new EmailRegistrationClient(endpoint, credential);
+
+Response response = client.Register();
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call Register with all parameters, and how to parse the result.
+");
+var client = new EmailRegistrationClient(endpoint, credential);
+
+Response response = client.Register("");
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("properties").GetProperty("activationCode").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("activationExpiration").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("email").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("registrationStatus").ToString());
+Console.WriteLine(result.GetProperty("properties").GetProperty("tenantId").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+]]>
+
+
+Register an email for the current tenant
+
+Below is the JSON schema for the response payload.
+
+Response Body:
+
+Schema for TenantEmailRegistration:
+{
+ properties: {
+ activationCode: string, # Required. Activation code for the registration.
+ activationExpiration: string (ISO 8601 Format), # Optional. Date of the activation expiration.
+ email: string, # Optional. The email to register.
+ registrationStatus: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted", # Optional. Defines the supported types for registration.
+ tenantId: string, # Optional. The tenant id to register.
+ }, # Optional. Tenant email registration property bag.
+ id: string, # Optional. The resource id of the resource.
+ name: string, # Optional. Name of the resource.
+ type: string, # Optional. Type of the resource.
+}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/EntityClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/EntityClient.xml
new file mode 100644
index 000000000000..1f7867e6c24e
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.Account/src/Generated/Docs/FiltersClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/FiltersClient.xml
new file mode 100644
index 000000000000..721f74598fc3
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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.Account/src/Generated/Docs/GlossaryClient.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/GlossaryClient.xml
new file mode 100644
index 000000000000..59ea085e8802
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.Account/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:
+
+AtlasGlossaryExtInfo
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 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:
+
+AtlasGlossaryExtInfo
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 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 = "