xml/Azure.Analytics.Purview.DataMap/Discovery.xml (5,041 lines of code) (raw):
<Type Name="Discovery" FullName="Azure.Analytics.Purview.DataMap.Discovery">
<TypeSignature Language="C#" Value="public class Discovery" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Discovery extends System.Object" />
<TypeSignature Language="DocId" Value="T:Azure.Analytics.Purview.DataMap.Discovery" />
<TypeSignature Language="VB.NET" Value="Public Class Discovery" />
<TypeSignature Language="F#" Value="type Discovery = class" />
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary> The Discovery sub-client. </summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Discovery ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary> Initializes a new instance of Discovery for mocking. </summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AutoComplete">
<MemberSignature Language="C#" Value="public virtual Azure.Response<Azure.Analytics.Purview.DataMap.AutoCompleteResult> AutoComplete (Azure.Analytics.Purview.DataMap.AutoCompleteConfig body, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response`1<class Azure.Analytics.Purview.DataMap.AutoCompleteResult> AutoComplete(class Azure.Analytics.Purview.DataMap.AutoCompleteConfig body, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.AutoComplete(Azure.Analytics.Purview.DataMap.AutoCompleteConfig,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AutoComplete (body As AutoCompleteConfig, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutoCompleteResult)" />
<MemberSignature Language="F#" Value="abstract member AutoComplete : Azure.Analytics.Purview.DataMap.AutoCompleteConfig * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Purview.DataMap.AutoCompleteResult>
override this.AutoComplete : Azure.Analytics.Purview.DataMap.AutoCompleteConfig * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Purview.DataMap.AutoCompleteResult>" Usage="discovery.AutoComplete (body, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response<Azure.Analytics.Purview.DataMap.AutoCompleteResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="body" Type="Azure.Analytics.Purview.DataMap.AutoCompleteConfig" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="body"> Body parameter. </param>
<param name="cancellationToken"> The cancellation token to use. </param>
<summary> Get auto complete options. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="body" /> is null. </exception>
<example>
This sample shows how to call AutoComplete.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
AutoCompleteConfig body = new AutoCompleteConfig
{
Keywords = "exa",
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "7037",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "7038",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
}),
};
Response<AutoCompleteResult> response = client.AutoComplete(body);
]]></code></example>
</Docs>
</Member>
<Member MemberName="AutoComplete">
<MemberSignature Language="C#" Value="public virtual Azure.Response AutoComplete (Azure.Core.RequestContent content, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response AutoComplete(class Azure.Core.RequestContent content, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.AutoComplete(Azure.Core.RequestContent,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AutoComplete (content As RequestContent, Optional context As RequestContext = Nothing) As Response" />
<MemberSignature Language="F#" Value="abstract member AutoComplete : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.AutoComplete : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response" Usage="discovery.AutoComplete (content, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="content" Type="Azure.Core.RequestContent" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="content"> The content to send as the body of the request. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary>
[Protocol Method] Get auto complete options.
<list type="bullet"><item><description>
This <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/ProtocolMethods.md">protocol method</see> allows explicit creation of the request and processing of the response for advanced scenarios.
</description></item><item><description>
Please try the simpler <see cref="M:Azure.Analytics.Purview.DataMap.Discovery.AutoComplete(Azure.Analytics.Purview.DataMap.AutoCompleteConfig,System.Threading.CancellationToken)" /> convenience overload with strongly typed models first.
</description></item></list></summary>
<returns> The response returned from the service. </returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="content" /> is null. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call AutoComplete and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exa",
filter = new Dictionary<string, object>
{
["$id"] = "7037",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "7038",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
},
limit = 10,
});
Response response = client.AutoComplete(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code></example>
</Docs>
</Member>
<Member MemberName="AutoCompleteAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.AutoCompleteResult>> AutoCompleteAsync (Azure.Analytics.Purview.DataMap.AutoCompleteConfig body, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.Analytics.Purview.DataMap.AutoCompleteResult>> AutoCompleteAsync(class Azure.Analytics.Purview.DataMap.AutoCompleteConfig body, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.AutoCompleteAsync(Azure.Analytics.Purview.DataMap.AutoCompleteConfig,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AutoCompleteAsync (body As AutoCompleteConfig, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutoCompleteResult))" />
<MemberSignature Language="F#" Value="abstract member AutoCompleteAsync : Azure.Analytics.Purview.DataMap.AutoCompleteConfig * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.AutoCompleteResult>>
override this.AutoCompleteAsync : Azure.Analytics.Purview.DataMap.AutoCompleteConfig * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.AutoCompleteResult>>" Usage="discovery.AutoCompleteAsync (body, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.AutoCompleteResult>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="body" Type="Azure.Analytics.Purview.DataMap.AutoCompleteConfig" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="body"> Body parameter. </param>
<param name="cancellationToken"> The cancellation token to use. </param>
<summary> Get auto complete options. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="body" /> is null. </exception>
<example>
This sample shows how to call AutoCompleteAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
AutoCompleteConfig body = new AutoCompleteConfig
{
Keywords = "exa",
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "7037",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "7038",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
}),
};
Response<AutoCompleteResult> response = await client.AutoCompleteAsync(body);
]]></code></example>
</Docs>
</Member>
<Member MemberName="AutoCompleteAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response> AutoCompleteAsync (Azure.Core.RequestContent content, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response> AutoCompleteAsync(class Azure.Core.RequestContent content, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.AutoCompleteAsync(Azure.Core.RequestContent,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AutoCompleteAsync (content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)" />
<MemberSignature Language="F#" Value="abstract member AutoCompleteAsync : Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.AutoCompleteAsync : Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>" Usage="discovery.AutoCompleteAsync (content, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="content" Type="Azure.Core.RequestContent" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="content"> The content to send as the body of the request. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary>
[Protocol Method] Get auto complete options.
<list type="bullet"><item><description>
This <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/ProtocolMethods.md">protocol method</see> allows explicit creation of the request and processing of the response for advanced scenarios.
</description></item><item><description>
Please try the simpler <see cref="M:Azure.Analytics.Purview.DataMap.Discovery.AutoCompleteAsync(Azure.Analytics.Purview.DataMap.AutoCompleteConfig,System.Threading.CancellationToken)" /> convenience overload with strongly typed models first.
</description></item></list></summary>
<returns> The response returned from the service. </returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="content" /> is null. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call AutoCompleteAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exa",
filter = new Dictionary<string, object>
{
["$id"] = "7037",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "7038",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
},
limit = 10,
});
Response response = await client.AutoCompleteAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code></example>
</Docs>
</Member>
<Member MemberName="Pipeline">
<MemberSignature Language="C#" Value="public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Azure.Core.Pipeline.HttpPipeline Pipeline" />
<MemberSignature Language="DocId" Value="P:Azure.Analytics.Purview.DataMap.Discovery.Pipeline" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property Pipeline As HttpPipeline" />
<MemberSignature Language="F#" Value="member this.Pipeline : Azure.Core.Pipeline.HttpPipeline" Usage="Azure.Analytics.Purview.DataMap.Discovery.Pipeline" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Core.Pipeline.HttpPipeline</ReturnType>
</ReturnValue>
<Docs>
<summary> The HTTP pipeline for sending and receiving REST requests and responses. </summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Query">
<MemberSignature Language="C#" Value="public virtual Azure.Response<Azure.Analytics.Purview.DataMap.QueryResult> Query (Azure.Analytics.Purview.DataMap.QueryConfig body, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response`1<class Azure.Analytics.Purview.DataMap.QueryResult> Query(class Azure.Analytics.Purview.DataMap.QueryConfig body, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.Query(Azure.Analytics.Purview.DataMap.QueryConfig,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Query (body As QueryConfig, Optional cancellationToken As CancellationToken = Nothing) As Response(Of QueryResult)" />
<MemberSignature Language="F#" Value="abstract member Query : Azure.Analytics.Purview.DataMap.QueryConfig * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Purview.DataMap.QueryResult>
override this.Query : Azure.Analytics.Purview.DataMap.QueryConfig * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Purview.DataMap.QueryResult>" Usage="discovery.Query (body, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response<Azure.Analytics.Purview.DataMap.QueryResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="body" Type="Azure.Analytics.Purview.DataMap.QueryConfig" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="body"> Body parameter. </param>
<param name="cancellationToken"> The cancellation token to use. </param>
<summary> Get data using search. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="body" /> is null. </exception>
<example>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 10,
Orderby = {BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5719",
["name"] = "ASC"
}), BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5721",
["updateTime"] = "DESC"
})},
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5713",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5714",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "5715",
["entityType"] = "azure_blob_path"
}
}
}),
Facets = {new SearchFacetItem
{
Count = 0,
Facet = "assetType",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "contactId",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5798",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5799",
["entityType"] = "azure_blob_path"
},
new Dictionary<string, object>
{
["$id"] = "5800",
["attributeName"] = "qualifiedName",
["operator"] = "contains",
["attributeValue"] = ".csv"
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5851",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5852",
["entityType"] = "azure_blob_path"
},
new Dictionary<string, object>
{
["$id"] = "5853",
["attributeName"] = "qualifiedName",
["operator"] = "contains",
["attributeValue"] = ".csv"
},
new Dictionary<string, object>
{
["$id"] = "5854",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5855",
["attributeName"] = "name",
["operator"] = "eq",
["attributeValue"] = "exampledata.csv"
},
new Dictionary<string, object>
{
["$id"] = "5856",
["attributeName"] = "qualifiedName",
["operator"] = "prefix",
["attributeValue"] = "https://"
}
}
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5909",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5910",
["assetType"] = "SQL Server"
},
new Dictionary<string, object>
{
["$id"] = "5911",
["assetType"] = "Azure SQL Server"
},
new Dictionary<string, object>
{
["$id"] = "5912",
["assetType"] = "Azure SQL Database"
},
new Dictionary<string, object>
{
["$id"] = "5913",
["assetType"] = "Azure SQL Data Warehouse"
},
new Dictionary<string, object>
{
["$id"] = "5914",
["assetType"] = "Azure SQL Managed Instance"
},
new Dictionary<string, object>
{
["$id"] = "5915",
["assetType"] = "Azure Storage Account"
},
new Dictionary<string, object>
{
["$id"] = "5916",
["assetType"] = "Azure Blob Storage"
},
new Dictionary<string, object>
{
["$id"] = "5917",
["assetType"] = "Azure Files"
},
new Dictionary<string, object>
{
["$id"] = "5918",
["assetType"] = "Azure Table Storage"
},
new Dictionary<string, object>
{
["$id"] = "5919",
["assetType"] = "Azure Data Lake Storage Gen1"
},
new Dictionary<string, object>
{
["$id"] = "5920",
["assetType"] = "Azure Data Lake Storage Gen2"
},
new Dictionary<string, object>
{
["$id"] = "5921",
["assetType"] = "Azure Cosmos DB"
},
new Dictionary<string, object>
{
["$id"] = "5922",
["assetType"] = "Azure Data Factory"
},
new Dictionary<string, object>
{
["$id"] = "5923",
["assetType"] = "Azure Cognitive Search"
},
new Dictionary<string, object>
{
["$id"] = "5924",
["assetType"] = "Power BI"
},
new Dictionary<string, object>
{
["$id"] = "5925",
["assetType"] = "Azure Data Explorer"
},
new Dictionary<string, object>
{
["$id"] = "5926",
["assetType"] = "Amazon S3"
},
new Dictionary<string, object>
{
["$id"] = "5927",
["assetType"] = "Azure Data Share"
},
new Dictionary<string, object>
{
["$id"] = "5928",
["assetType"] = "Teradata"
},
new Dictionary<string, object>
{
["$id"] = "5929",
["assetType"] = "SAP S4HANA"
},
new Dictionary<string, object>
{
["$id"] = "5930",
["assetType"] = "SAP ECC"
},
new Dictionary<string, object>
{
["$id"] = "5931",
["assetType"] = "SQL Server Integration Services"
},
new Dictionary<string, object>
{
["$id"] = "5932",
["assetType"] = "hive"
},
new Dictionary<string, object>
{
["$id"] = "5933",
["assetType"] = "Azure Database for MySQL"
},
new Dictionary<string, object>
{
["$id"] = "5934",
["assetType"] = "Azure Database for MariaDB"
},
new Dictionary<string, object>
{
["$id"] = "5935",
["assetType"] = "Azure Database for PostgreSQL"
},
new Dictionary<string, object>
{
["$id"] = "5936",
["assetType"] = "Azure Synapse Analytics"
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5978",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5979",
["attributeName"] = "name",
["operator"] = "eq",
["attributeValue"] = "exampledata.csv"
},
new Dictionary<string, object>
{
["$id"] = "5980",
["attributeName"] = "createTime",
["operator"] = "ge",
["attributeValue"] = 1545580800000L
},
new Dictionary<string, object>
{
["$id"] = "5981",
["attributeName"] = "modifiedTime",
["operator"] = "timerange",
["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6043",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6044",
["attributeName"] = "<BusinessMetadataName>.<StringAttributeName>",
["operator"] = "eq|ne|contains|prefix",
["attributeValue"] = "string value"
},
new Dictionary<string, object>
{
["$id"] = "6045",
["attributeName"] = "<BusinessMetadataName>.<NumberAttributeName>",
["operator"] = "eq|ne|gt|ge|lt|le",
["attributeValue"] = 123
},
new Dictionary<string, object>
{
["$id"] = "6046",
["attributeName"] = "<BusinessMetadataName>.<BooleanAttributeName>",
["operator"] = "eq|ne",
["attributeValue"] = true
},
new Dictionary<string, object>
{
["$id"] = "6047",
["attributeName"] = "<BusinessMetadataName>.<DateAttributeName>",
["operator"] = "timerange",
["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6070",
["classification"] = "MICROSOFT.PERSONAL.EMAIL",
["includeSubClassifications"] = true
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6120",
["collectionId"] = "collectionName"
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6169",
["objectType"] = "Tables"
}),
Facets = {new SearchFacetItem
{
Count = 10,
Facet = "assetType",
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
}},
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6299",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6300",
["fileExtension"] = "txt"
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "<term name>",
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6343",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6344",
["objectType"] = "Glossary terms"
},
new Dictionary<string, object>
{
["$id"] = "6345",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6346",
["glossaryType"] = "AtlasGlossary"
},
new Dictionary<string, object>
{
["$id"] = "6347",
["glossaryType"] = "AtlasGlossaryTerm"
}
}
}
}
}),
Facets = {new SearchFacetItem
{
Count = 10,
Facet = "termStatus",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "termTemplate",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6415",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6416",
["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9"
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6444",
["not"] = new Dictionary<string, object>
{
["$id"] = "6445",
["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE"
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6487",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6488",
["objectType"] = "Dashboards"
},
new Dictionary<string, object>
{
["$id"] = "6489",
["objectType"] = "Data pipelines"
},
new Dictionary<string, object>
{
["$id"] = "6490",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6491",
["objectType"] = "Folders"
},
new Dictionary<string, object>
{
["$id"] = "6492",
["objectType"] = "Glossary terms"
},
new Dictionary<string, object>
{
["$id"] = "6493",
["objectType"] = "Reports"
},
new Dictionary<string, object>
{
["$id"] = "6494",
["objectType"] = "Stored procedures"
},
new Dictionary<string, object>
{
["$id"] = "6495",
["objectType"] = "Tables"
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 2,
ContinuationToken = "<token>",
Orderby = {BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6540",
["name"] = "ASC"
}), BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6542",
["updateTime"] = "DESC"
})},
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6533",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6534",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6535",
["entityType"] = "azure_blob_path"
}
}
}),
Facets = {new SearchFacetItem
{
Count = 0,
Facet = "assetType",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "contactId",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 2,
Orderby = {BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6626",
["name"] = "ASC"
}), BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6628",
["updateTime"] = "DESC"
})},
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6620",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6621",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6622",
["entityType"] = "azure_blob_path"
}
}
}),
Facets = {new SearchFacetItem
{
Count = 0,
Facet = "assetType",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "contactId",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 2,
ContinuationToken = "<token>",
Orderby = {BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6713",
["name"] = "ASC"
}), BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6715",
["updateTime"] = "DESC"
})},
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6706",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6707",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6708",
["entityType"] = "azure_blob_path"
}
}
}),
Facets = {new SearchFacetItem
{
Count = 0,
Facet = "assetType",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "contactId",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6792",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6793",
["createTime"] = new Dictionary<string, object>
{
["$id"] = "6794",
["operator"] = "lt",
["timeThreshold"] = 1545580800000L
}
},
new Dictionary<string, object>
{
["$id"] = "6795",
["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6828",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6829",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6830",
["not"] = new Dictionary<string, object>
{
["$id"] = "6831",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6832",
["attributeName"] = "size",
["operator"] = "eq",
["attributeValue"] = 0
},
new Dictionary<string, object>
{
["$id"] = "6833",
["attributeName"] = "fileSize",
["operator"] = "eq",
["attributeValue"] = 0
}
}
}
},
new Dictionary<string, object>
{
["$id"] = "6834",
["not"] = new Dictionary<string, object>
{
["$id"] = "6835",
["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE"
}
}
}
}),
TaxonomySetting = new SearchTaxonomySetting
{
AssetTypes = { "Azure Blob Storage" },
Facet = new SearchFacetItem
{
Count = 10,
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
},
},
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "<asset name>",
Limit = 3,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6889",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6890",
["term"] = "ExampleTerm"
},
new Dictionary<string, object>
{
["$id"] = "6891",
["term"] = "ExampleTerm",
["glossary"] = "GlossaryName"
},
new Dictionary<string, object>
{
["$id"] = "6892",
["termGuid"] = "<term guid>"
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code>
This sample shows how to call Query.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6925",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6926",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
}),
};
Response<QueryResult> response = client.Query(body);
]]></code></example>
</Docs>
</Member>
<Member MemberName="Query">
<MemberSignature Language="C#" Value="public virtual Azure.Response Query (Azure.Core.RequestContent content, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response Query(class Azure.Core.RequestContent content, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.Query(Azure.Core.RequestContent,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Query (content As RequestContent, Optional context As RequestContext = Nothing) As Response" />
<MemberSignature Language="F#" Value="abstract member Query : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.Query : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response" Usage="discovery.Query (content, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="content" Type="Azure.Core.RequestContent" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="content"> The content to send as the body of the request. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary>
[Protocol Method] Get data using search.
<list type="bullet"><item><description>
This <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/ProtocolMethods.md">protocol method</see> allows explicit creation of the request and processing of the response for advanced scenarios.
</description></item><item><description>
Please try the simpler <see cref="M:Azure.Analytics.Purview.DataMap.Discovery.Query(Azure.Analytics.Purview.DataMap.QueryConfig,System.Threading.CancellationToken)" /> convenience overload with strongly typed models first.
</description></item></list></summary>
<returns> The response returned from the service. </returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="content" /> is null. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "5713",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5714",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "5715",
["entityType"] = "azure_blob_path"
}
}
},
limit = 10,
orderby = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5719",
["name"] = "ASC"
},
new Dictionary<string, object>
{
["$id"] = "5721",
["updateTime"] = "DESC"
}
},
facets = new object[]
{
new
{
facet = "assetType",
count = 0,
sort = new
{
count = "desc",
},
},
new
{
facet = "classification",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "contactId",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "label",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "term",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "5798",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5799",
["entityType"] = "azure_blob_path"
},
new Dictionary<string, object>
{
["$id"] = "5800",
["attributeName"] = "qualifiedName",
["operator"] = "contains",
["attributeValue"] = ".csv"
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "5851",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5852",
["entityType"] = "azure_blob_path"
},
new Dictionary<string, object>
{
["$id"] = "5853",
["attributeName"] = "qualifiedName",
["operator"] = "contains",
["attributeValue"] = ".csv"
},
new Dictionary<string, object>
{
["$id"] = "5854",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5855",
["attributeName"] = "name",
["operator"] = "eq",
["attributeValue"] = "exampledata.csv"
},
new Dictionary<string, object>
{
["$id"] = "5856",
["attributeName"] = "qualifiedName",
["operator"] = "prefix",
["attributeValue"] = "https://"
}
}
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "5909",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5910",
["assetType"] = "SQL Server"
},
new Dictionary<string, object>
{
["$id"] = "5911",
["assetType"] = "Azure SQL Server"
},
new Dictionary<string, object>
{
["$id"] = "5912",
["assetType"] = "Azure SQL Database"
},
new Dictionary<string, object>
{
["$id"] = "5913",
["assetType"] = "Azure SQL Data Warehouse"
},
new Dictionary<string, object>
{
["$id"] = "5914",
["assetType"] = "Azure SQL Managed Instance"
},
new Dictionary<string, object>
{
["$id"] = "5915",
["assetType"] = "Azure Storage Account"
},
new Dictionary<string, object>
{
["$id"] = "5916",
["assetType"] = "Azure Blob Storage"
},
new Dictionary<string, object>
{
["$id"] = "5917",
["assetType"] = "Azure Files"
},
new Dictionary<string, object>
{
["$id"] = "5918",
["assetType"] = "Azure Table Storage"
},
new Dictionary<string, object>
{
["$id"] = "5919",
["assetType"] = "Azure Data Lake Storage Gen1"
},
new Dictionary<string, object>
{
["$id"] = "5920",
["assetType"] = "Azure Data Lake Storage Gen2"
},
new Dictionary<string, object>
{
["$id"] = "5921",
["assetType"] = "Azure Cosmos DB"
},
new Dictionary<string, object>
{
["$id"] = "5922",
["assetType"] = "Azure Data Factory"
},
new Dictionary<string, object>
{
["$id"] = "5923",
["assetType"] = "Azure Cognitive Search"
},
new Dictionary<string, object>
{
["$id"] = "5924",
["assetType"] = "Power BI"
},
new Dictionary<string, object>
{
["$id"] = "5925",
["assetType"] = "Azure Data Explorer"
},
new Dictionary<string, object>
{
["$id"] = "5926",
["assetType"] = "Amazon S3"
},
new Dictionary<string, object>
{
["$id"] = "5927",
["assetType"] = "Azure Data Share"
},
new Dictionary<string, object>
{
["$id"] = "5928",
["assetType"] = "Teradata"
},
new Dictionary<string, object>
{
["$id"] = "5929",
["assetType"] = "SAP S4HANA"
},
new Dictionary<string, object>
{
["$id"] = "5930",
["assetType"] = "SAP ECC"
},
new Dictionary<string, object>
{
["$id"] = "5931",
["assetType"] = "SQL Server Integration Services"
},
new Dictionary<string, object>
{
["$id"] = "5932",
["assetType"] = "hive"
},
new Dictionary<string, object>
{
["$id"] = "5933",
["assetType"] = "Azure Database for MySQL"
},
new Dictionary<string, object>
{
["$id"] = "5934",
["assetType"] = "Azure Database for MariaDB"
},
new Dictionary<string, object>
{
["$id"] = "5935",
["assetType"] = "Azure Database for PostgreSQL"
},
new Dictionary<string, object>
{
["$id"] = "5936",
["assetType"] = "Azure Synapse Analytics"
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "5978",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5979",
["attributeName"] = "name",
["operator"] = "eq",
["attributeValue"] = "exampledata.csv"
},
new Dictionary<string, object>
{
["$id"] = "5980",
["attributeName"] = "createTime",
["operator"] = "ge",
["attributeValue"] = 1545580800000L
},
new Dictionary<string, object>
{
["$id"] = "5981",
["attributeName"] = "modifiedTime",
["operator"] = "timerange",
["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6043",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6044",
["attributeName"] = "<BusinessMetadataName>.<StringAttributeName>",
["operator"] = "eq|ne|contains|prefix",
["attributeValue"] = "string value"
},
new Dictionary<string, object>
{
["$id"] = "6045",
["attributeName"] = "<BusinessMetadataName>.<NumberAttributeName>",
["operator"] = "eq|ne|gt|ge|lt|le",
["attributeValue"] = 123
},
new Dictionary<string, object>
{
["$id"] = "6046",
["attributeName"] = "<BusinessMetadataName>.<BooleanAttributeName>",
["operator"] = "eq|ne",
["attributeValue"] = true
},
new Dictionary<string, object>
{
["$id"] = "6047",
["attributeName"] = "<BusinessMetadataName>.<DateAttributeName>",
["operator"] = "timerange",
["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6070",
["classification"] = "MICROSOFT.PERSONAL.EMAIL",
["includeSubClassifications"] = true
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6120",
["collectionId"] = "collectionName"
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
filter = new Dictionary<string, object>
{
["$id"] = "6169",
["objectType"] = "Tables"
},
limit = 10,
facets = new object[]
{
new
{
facet = "assetType",
count = 10,
},
new
{
facet = "classification",
count = 10,
},
new
{
facet = "term",
count = 10,
},
new
{
facet = "label",
count = 10,
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6299",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6300",
["fileExtension"] = "txt"
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "<term name>",
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6343",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6344",
["objectType"] = "Glossary terms"
},
new Dictionary<string, object>
{
["$id"] = "6345",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6346",
["glossaryType"] = "AtlasGlossary"
},
new Dictionary<string, object>
{
["$id"] = "6347",
["glossaryType"] = "AtlasGlossaryTerm"
}
}
}
}
},
facets = new object[]
{
new
{
facet = "termStatus",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "termTemplate",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6415",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6416",
["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9"
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6444",
["not"] = new Dictionary<string, object>
{
["$id"] = "6445",
["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE"
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6487",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6488",
["objectType"] = "Dashboards"
},
new Dictionary<string, object>
{
["$id"] = "6489",
["objectType"] = "Data pipelines"
},
new Dictionary<string, object>
{
["$id"] = "6490",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6491",
["objectType"] = "Folders"
},
new Dictionary<string, object>
{
["$id"] = "6492",
["objectType"] = "Glossary terms"
},
new Dictionary<string, object>
{
["$id"] = "6493",
["objectType"] = "Reports"
},
new Dictionary<string, object>
{
["$id"] = "6494",
["objectType"] = "Stored procedures"
},
new Dictionary<string, object>
{
["$id"] = "6495",
["objectType"] = "Tables"
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6533",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6534",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6535",
["entityType"] = "azure_blob_path"
}
}
},
limit = 2,
continuationToken = "<token>",
orderby = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6540",
["name"] = "ASC"
},
new Dictionary<string, object>
{
["$id"] = "6542",
["updateTime"] = "DESC"
}
},
facets = new object[]
{
new
{
facet = "assetType",
count = 0,
sort = new
{
count = "desc",
},
},
new
{
facet = "classification",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "contactId",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "label",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "term",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6620",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6621",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6622",
["entityType"] = "azure_blob_path"
}
}
},
limit = 2,
orderby = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6626",
["name"] = "ASC"
},
new Dictionary<string, object>
{
["$id"] = "6628",
["updateTime"] = "DESC"
}
},
facets = new object[]
{
new
{
facet = "assetType",
count = 0,
sort = new
{
count = "desc",
},
},
new
{
facet = "classification",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "contactId",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "label",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "term",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6706",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6707",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6708",
["entityType"] = "azure_blob_path"
}
}
},
limit = 2,
continuationToken = "<token>",
orderby = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6713",
["name"] = "ASC"
},
new Dictionary<string, object>
{
["$id"] = "6715",
["updateTime"] = "DESC"
}
},
facets = new object[]
{
new
{
facet = "assetType",
count = 0,
sort = new
{
count = "desc",
},
},
new
{
facet = "classification",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "contactId",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "label",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "term",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6792",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6793",
["createTime"] = new Dictionary<string, object>
{
["$id"] = "6794",
["operator"] = "lt",
["timeThreshold"] = 1545580800000L
}
},
new Dictionary<string, object>
{
["$id"] = "6795",
["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6828",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6829",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6830",
["not"] = new Dictionary<string, object>
{
["$id"] = "6831",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6832",
["attributeName"] = "size",
["operator"] = "eq",
["attributeValue"] = 0
},
new Dictionary<string, object>
{
["$id"] = "6833",
["attributeName"] = "fileSize",
["operator"] = "eq",
["attributeValue"] = 0
}
}
}
},
new Dictionary<string, object>
{
["$id"] = "6834",
["not"] = new Dictionary<string, object>
{
["$id"] = "6835",
["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE"
}
}
}
},
limit = 10,
taxonomySetting = new
{
assetTypes = new object[]
{
"Azure Blob Storage"
},
facet = new
{
count = 10,
sort = new
{
count = "desc",
},
},
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "<asset name>",
limit = 3,
filter = new Dictionary<string, object>
{
["$id"] = "6889",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6890",
["term"] = "ExampleTerm"
},
new Dictionary<string, object>
{
["$id"] = "6891",
["term"] = "ExampleTerm",
["glossary"] = "GlossaryName"
},
new Dictionary<string, object>
{
["$id"] = "6892",
["termGuid"] = "<term guid>"
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call Query and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6925",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6926",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
},
});
Response response = client.Query(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code></example>
</Docs>
</Member>
<Member MemberName="QueryAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.QueryResult>> QueryAsync (Azure.Analytics.Purview.DataMap.QueryConfig body, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.Analytics.Purview.DataMap.QueryResult>> QueryAsync(class Azure.Analytics.Purview.DataMap.QueryConfig body, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.QueryAsync(Azure.Analytics.Purview.DataMap.QueryConfig,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function QueryAsync (body As QueryConfig, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of QueryResult))" />
<MemberSignature Language="F#" Value="abstract member QueryAsync : Azure.Analytics.Purview.DataMap.QueryConfig * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.QueryResult>>
override this.QueryAsync : Azure.Analytics.Purview.DataMap.QueryConfig * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.QueryResult>>" Usage="discovery.QueryAsync (body, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.QueryResult>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="body" Type="Azure.Analytics.Purview.DataMap.QueryConfig" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="body"> Body parameter. </param>
<param name="cancellationToken"> The cancellation token to use. </param>
<summary> Get data using search. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="body" /> is null. </exception>
<example>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 10,
Orderby = {BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5719",
["name"] = "ASC"
}), BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5721",
["updateTime"] = "DESC"
})},
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5713",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5714",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "5715",
["entityType"] = "azure_blob_path"
}
}
}),
Facets = {new SearchFacetItem
{
Count = 0,
Facet = "assetType",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "contactId",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5798",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5799",
["entityType"] = "azure_blob_path"
},
new Dictionary<string, object>
{
["$id"] = "5800",
["attributeName"] = "qualifiedName",
["operator"] = "contains",
["attributeValue"] = ".csv"
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5851",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5852",
["entityType"] = "azure_blob_path"
},
new Dictionary<string, object>
{
["$id"] = "5853",
["attributeName"] = "qualifiedName",
["operator"] = "contains",
["attributeValue"] = ".csv"
},
new Dictionary<string, object>
{
["$id"] = "5854",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5855",
["attributeName"] = "name",
["operator"] = "eq",
["attributeValue"] = "exampledata.csv"
},
new Dictionary<string, object>
{
["$id"] = "5856",
["attributeName"] = "qualifiedName",
["operator"] = "prefix",
["attributeValue"] = "https://"
}
}
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5909",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5910",
["assetType"] = "SQL Server"
},
new Dictionary<string, object>
{
["$id"] = "5911",
["assetType"] = "Azure SQL Server"
},
new Dictionary<string, object>
{
["$id"] = "5912",
["assetType"] = "Azure SQL Database"
},
new Dictionary<string, object>
{
["$id"] = "5913",
["assetType"] = "Azure SQL Data Warehouse"
},
new Dictionary<string, object>
{
["$id"] = "5914",
["assetType"] = "Azure SQL Managed Instance"
},
new Dictionary<string, object>
{
["$id"] = "5915",
["assetType"] = "Azure Storage Account"
},
new Dictionary<string, object>
{
["$id"] = "5916",
["assetType"] = "Azure Blob Storage"
},
new Dictionary<string, object>
{
["$id"] = "5917",
["assetType"] = "Azure Files"
},
new Dictionary<string, object>
{
["$id"] = "5918",
["assetType"] = "Azure Table Storage"
},
new Dictionary<string, object>
{
["$id"] = "5919",
["assetType"] = "Azure Data Lake Storage Gen1"
},
new Dictionary<string, object>
{
["$id"] = "5920",
["assetType"] = "Azure Data Lake Storage Gen2"
},
new Dictionary<string, object>
{
["$id"] = "5921",
["assetType"] = "Azure Cosmos DB"
},
new Dictionary<string, object>
{
["$id"] = "5922",
["assetType"] = "Azure Data Factory"
},
new Dictionary<string, object>
{
["$id"] = "5923",
["assetType"] = "Azure Cognitive Search"
},
new Dictionary<string, object>
{
["$id"] = "5924",
["assetType"] = "Power BI"
},
new Dictionary<string, object>
{
["$id"] = "5925",
["assetType"] = "Azure Data Explorer"
},
new Dictionary<string, object>
{
["$id"] = "5926",
["assetType"] = "Amazon S3"
},
new Dictionary<string, object>
{
["$id"] = "5927",
["assetType"] = "Azure Data Share"
},
new Dictionary<string, object>
{
["$id"] = "5928",
["assetType"] = "Teradata"
},
new Dictionary<string, object>
{
["$id"] = "5929",
["assetType"] = "SAP S4HANA"
},
new Dictionary<string, object>
{
["$id"] = "5930",
["assetType"] = "SAP ECC"
},
new Dictionary<string, object>
{
["$id"] = "5931",
["assetType"] = "SQL Server Integration Services"
},
new Dictionary<string, object>
{
["$id"] = "5932",
["assetType"] = "hive"
},
new Dictionary<string, object>
{
["$id"] = "5933",
["assetType"] = "Azure Database for MySQL"
},
new Dictionary<string, object>
{
["$id"] = "5934",
["assetType"] = "Azure Database for MariaDB"
},
new Dictionary<string, object>
{
["$id"] = "5935",
["assetType"] = "Azure Database for PostgreSQL"
},
new Dictionary<string, object>
{
["$id"] = "5936",
["assetType"] = "Azure Synapse Analytics"
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "5978",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5979",
["attributeName"] = "name",
["operator"] = "eq",
["attributeValue"] = "exampledata.csv"
},
new Dictionary<string, object>
{
["$id"] = "5980",
["attributeName"] = "createTime",
["operator"] = "ge",
["attributeValue"] = 1545580800000L
},
new Dictionary<string, object>
{
["$id"] = "5981",
["attributeName"] = "modifiedTime",
["operator"] = "timerange",
["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6043",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6044",
["attributeName"] = "<BusinessMetadataName>.<StringAttributeName>",
["operator"] = "eq|ne|contains|prefix",
["attributeValue"] = "string value"
},
new Dictionary<string, object>
{
["$id"] = "6045",
["attributeName"] = "<BusinessMetadataName>.<NumberAttributeName>",
["operator"] = "eq|ne|gt|ge|lt|le",
["attributeValue"] = 123
},
new Dictionary<string, object>
{
["$id"] = "6046",
["attributeName"] = "<BusinessMetadataName>.<BooleanAttributeName>",
["operator"] = "eq|ne",
["attributeValue"] = true
},
new Dictionary<string, object>
{
["$id"] = "6047",
["attributeName"] = "<BusinessMetadataName>.<DateAttributeName>",
["operator"] = "timerange",
["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6070",
["classification"] = "MICROSOFT.PERSONAL.EMAIL",
["includeSubClassifications"] = true
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6120",
["collectionId"] = "collectionName"
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6169",
["objectType"] = "Tables"
}),
Facets = {new SearchFacetItem
{
Count = 10,
Facet = "assetType",
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
}},
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6299",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6300",
["fileExtension"] = "txt"
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "<term name>",
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6343",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6344",
["objectType"] = "Glossary terms"
},
new Dictionary<string, object>
{
["$id"] = "6345",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6346",
["glossaryType"] = "AtlasGlossary"
},
new Dictionary<string, object>
{
["$id"] = "6347",
["glossaryType"] = "AtlasGlossaryTerm"
}
}
}
}
}),
Facets = {new SearchFacetItem
{
Count = 10,
Facet = "termStatus",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "termTemplate",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6415",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6416",
["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9"
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6444",
["not"] = new Dictionary<string, object>
{
["$id"] = "6445",
["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE"
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6487",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6488",
["objectType"] = "Dashboards"
},
new Dictionary<string, object>
{
["$id"] = "6489",
["objectType"] = "Data pipelines"
},
new Dictionary<string, object>
{
["$id"] = "6490",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6491",
["objectType"] = "Folders"
},
new Dictionary<string, object>
{
["$id"] = "6492",
["objectType"] = "Glossary terms"
},
new Dictionary<string, object>
{
["$id"] = "6493",
["objectType"] = "Reports"
},
new Dictionary<string, object>
{
["$id"] = "6494",
["objectType"] = "Stored procedures"
},
new Dictionary<string, object>
{
["$id"] = "6495",
["objectType"] = "Tables"
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 2,
ContinuationToken = "<token>",
Orderby = {BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6540",
["name"] = "ASC"
}), BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6542",
["updateTime"] = "DESC"
})},
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6533",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6534",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6535",
["entityType"] = "azure_blob_path"
}
}
}),
Facets = {new SearchFacetItem
{
Count = 0,
Facet = "assetType",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "contactId",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 2,
Orderby = {BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6626",
["name"] = "ASC"
}), BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6628",
["updateTime"] = "DESC"
})},
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6620",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6621",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6622",
["entityType"] = "azure_blob_path"
}
}
}),
Facets = {new SearchFacetItem
{
Count = 0,
Facet = "assetType",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "contactId",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 2,
ContinuationToken = "<token>",
Orderby = {BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6713",
["name"] = "ASC"
}), BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6715",
["updateTime"] = "DESC"
})},
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6706",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6707",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6708",
["entityType"] = "azure_blob_path"
}
}
}),
Facets = {new SearchFacetItem
{
Count = 0,
Facet = "assetType",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "classification",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "contactId",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "label",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}, new SearchFacetItem
{
Count = 10,
Facet = "term",
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
}},
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6792",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6793",
["createTime"] = new Dictionary<string, object>
{
["$id"] = "6794",
["operator"] = "lt",
["timeThreshold"] = 1545580800000L
}
},
new Dictionary<string, object>
{
["$id"] = "6795",
["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "exampledata",
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6828",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6829",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6830",
["not"] = new Dictionary<string, object>
{
["$id"] = "6831",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6832",
["attributeName"] = "size",
["operator"] = "eq",
["attributeValue"] = 0
},
new Dictionary<string, object>
{
["$id"] = "6833",
["attributeName"] = "fileSize",
["operator"] = "eq",
["attributeValue"] = 0
}
}
}
},
new Dictionary<string, object>
{
["$id"] = "6834",
["not"] = new Dictionary<string, object>
{
["$id"] = "6835",
["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE"
}
}
}
}),
TaxonomySetting = new SearchTaxonomySetting
{
AssetTypes = { "Azure Blob Storage" },
Facet = new SearchFacetItem
{
Count = 10,
Sort = new SearchFacetSort
{
Count = SearchSortOrder.Descend,
},
},
},
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Keywords = "<asset name>",
Limit = 3,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6889",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6890",
["term"] = "ExampleTerm"
},
new Dictionary<string, object>
{
["$id"] = "6891",
["term"] = "ExampleTerm",
["glossary"] = "GlossaryName"
},
new Dictionary<string, object>
{
["$id"] = "6892",
["termGuid"] = "<term guid>"
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code>
This sample shows how to call QueryAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
QueryConfig body = new QueryConfig
{
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6925",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6926",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
}),
};
Response<QueryResult> response = await client.QueryAsync(body);
]]></code></example>
</Docs>
</Member>
<Member MemberName="QueryAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response> QueryAsync (Azure.Core.RequestContent content, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response> QueryAsync(class Azure.Core.RequestContent content, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.QueryAsync(Azure.Core.RequestContent,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function QueryAsync (content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)" />
<MemberSignature Language="F#" Value="abstract member QueryAsync : Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.QueryAsync : Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>" Usage="discovery.QueryAsync (content, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="content" Type="Azure.Core.RequestContent" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="content"> The content to send as the body of the request. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary>
[Protocol Method] Get data using search.
<list type="bullet"><item><description>
This <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/ProtocolMethods.md">protocol method</see> allows explicit creation of the request and processing of the response for advanced scenarios.
</description></item><item><description>
Please try the simpler <see cref="M:Azure.Analytics.Purview.DataMap.Discovery.QueryAsync(Azure.Analytics.Purview.DataMap.QueryConfig,System.Threading.CancellationToken)" /> convenience overload with strongly typed models first.
</description></item></list></summary>
<returns> The response returned from the service. </returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="content" /> is null. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "5713",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5714",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "5715",
["entityType"] = "azure_blob_path"
}
}
},
limit = 10,
orderby = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5719",
["name"] = "ASC"
},
new Dictionary<string, object>
{
["$id"] = "5721",
["updateTime"] = "DESC"
}
},
facets = new object[]
{
new
{
facet = "assetType",
count = 0,
sort = new
{
count = "desc",
},
},
new
{
facet = "classification",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "contactId",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "label",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "term",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "5798",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5799",
["entityType"] = "azure_blob_path"
},
new Dictionary<string, object>
{
["$id"] = "5800",
["attributeName"] = "qualifiedName",
["operator"] = "contains",
["attributeValue"] = ".csv"
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "5851",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5852",
["entityType"] = "azure_blob_path"
},
new Dictionary<string, object>
{
["$id"] = "5853",
["attributeName"] = "qualifiedName",
["operator"] = "contains",
["attributeValue"] = ".csv"
},
new Dictionary<string, object>
{
["$id"] = "5854",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5855",
["attributeName"] = "name",
["operator"] = "eq",
["attributeValue"] = "exampledata.csv"
},
new Dictionary<string, object>
{
["$id"] = "5856",
["attributeName"] = "qualifiedName",
["operator"] = "prefix",
["attributeValue"] = "https://"
}
}
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "5909",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5910",
["assetType"] = "SQL Server"
},
new Dictionary<string, object>
{
["$id"] = "5911",
["assetType"] = "Azure SQL Server"
},
new Dictionary<string, object>
{
["$id"] = "5912",
["assetType"] = "Azure SQL Database"
},
new Dictionary<string, object>
{
["$id"] = "5913",
["assetType"] = "Azure SQL Data Warehouse"
},
new Dictionary<string, object>
{
["$id"] = "5914",
["assetType"] = "Azure SQL Managed Instance"
},
new Dictionary<string, object>
{
["$id"] = "5915",
["assetType"] = "Azure Storage Account"
},
new Dictionary<string, object>
{
["$id"] = "5916",
["assetType"] = "Azure Blob Storage"
},
new Dictionary<string, object>
{
["$id"] = "5917",
["assetType"] = "Azure Files"
},
new Dictionary<string, object>
{
["$id"] = "5918",
["assetType"] = "Azure Table Storage"
},
new Dictionary<string, object>
{
["$id"] = "5919",
["assetType"] = "Azure Data Lake Storage Gen1"
},
new Dictionary<string, object>
{
["$id"] = "5920",
["assetType"] = "Azure Data Lake Storage Gen2"
},
new Dictionary<string, object>
{
["$id"] = "5921",
["assetType"] = "Azure Cosmos DB"
},
new Dictionary<string, object>
{
["$id"] = "5922",
["assetType"] = "Azure Data Factory"
},
new Dictionary<string, object>
{
["$id"] = "5923",
["assetType"] = "Azure Cognitive Search"
},
new Dictionary<string, object>
{
["$id"] = "5924",
["assetType"] = "Power BI"
},
new Dictionary<string, object>
{
["$id"] = "5925",
["assetType"] = "Azure Data Explorer"
},
new Dictionary<string, object>
{
["$id"] = "5926",
["assetType"] = "Amazon S3"
},
new Dictionary<string, object>
{
["$id"] = "5927",
["assetType"] = "Azure Data Share"
},
new Dictionary<string, object>
{
["$id"] = "5928",
["assetType"] = "Teradata"
},
new Dictionary<string, object>
{
["$id"] = "5929",
["assetType"] = "SAP S4HANA"
},
new Dictionary<string, object>
{
["$id"] = "5930",
["assetType"] = "SAP ECC"
},
new Dictionary<string, object>
{
["$id"] = "5931",
["assetType"] = "SQL Server Integration Services"
},
new Dictionary<string, object>
{
["$id"] = "5932",
["assetType"] = "hive"
},
new Dictionary<string, object>
{
["$id"] = "5933",
["assetType"] = "Azure Database for MySQL"
},
new Dictionary<string, object>
{
["$id"] = "5934",
["assetType"] = "Azure Database for MariaDB"
},
new Dictionary<string, object>
{
["$id"] = "5935",
["assetType"] = "Azure Database for PostgreSQL"
},
new Dictionary<string, object>
{
["$id"] = "5936",
["assetType"] = "Azure Synapse Analytics"
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "5978",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "5979",
["attributeName"] = "name",
["operator"] = "eq",
["attributeValue"] = "exampledata.csv"
},
new Dictionary<string, object>
{
["$id"] = "5980",
["attributeName"] = "createTime",
["operator"] = "ge",
["attributeValue"] = 1545580800000L
},
new Dictionary<string, object>
{
["$id"] = "5981",
["attributeName"] = "modifiedTime",
["operator"] = "timerange",
["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6043",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6044",
["attributeName"] = "<BusinessMetadataName>.<StringAttributeName>",
["operator"] = "eq|ne|contains|prefix",
["attributeValue"] = "string value"
},
new Dictionary<string, object>
{
["$id"] = "6045",
["attributeName"] = "<BusinessMetadataName>.<NumberAttributeName>",
["operator"] = "eq|ne|gt|ge|lt|le",
["attributeValue"] = 123
},
new Dictionary<string, object>
{
["$id"] = "6046",
["attributeName"] = "<BusinessMetadataName>.<BooleanAttributeName>",
["operator"] = "eq|ne",
["attributeValue"] = true
},
new Dictionary<string, object>
{
["$id"] = "6047",
["attributeName"] = "<BusinessMetadataName>.<DateAttributeName>",
["operator"] = "timerange",
["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6070",
["classification"] = "MICROSOFT.PERSONAL.EMAIL",
["includeSubClassifications"] = true
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6120",
["collectionId"] = "collectionName"
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
filter = new Dictionary<string, object>
{
["$id"] = "6169",
["objectType"] = "Tables"
},
limit = 10,
facets = new object[]
{
new
{
facet = "assetType",
count = 10,
},
new
{
facet = "classification",
count = 10,
},
new
{
facet = "term",
count = 10,
},
new
{
facet = "label",
count = 10,
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6299",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6300",
["fileExtension"] = "txt"
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "<term name>",
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6343",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6344",
["objectType"] = "Glossary terms"
},
new Dictionary<string, object>
{
["$id"] = "6345",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6346",
["glossaryType"] = "AtlasGlossary"
},
new Dictionary<string, object>
{
["$id"] = "6347",
["glossaryType"] = "AtlasGlossaryTerm"
}
}
}
}
},
facets = new object[]
{
new
{
facet = "termStatus",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "termTemplate",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6415",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6416",
["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9"
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6444",
["not"] = new Dictionary<string, object>
{
["$id"] = "6445",
["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE"
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6487",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6488",
["objectType"] = "Dashboards"
},
new Dictionary<string, object>
{
["$id"] = "6489",
["objectType"] = "Data pipelines"
},
new Dictionary<string, object>
{
["$id"] = "6490",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6491",
["objectType"] = "Folders"
},
new Dictionary<string, object>
{
["$id"] = "6492",
["objectType"] = "Glossary terms"
},
new Dictionary<string, object>
{
["$id"] = "6493",
["objectType"] = "Reports"
},
new Dictionary<string, object>
{
["$id"] = "6494",
["objectType"] = "Stored procedures"
},
new Dictionary<string, object>
{
["$id"] = "6495",
["objectType"] = "Tables"
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6533",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6534",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6535",
["entityType"] = "azure_blob_path"
}
}
},
limit = 2,
continuationToken = "<token>",
orderby = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6540",
["name"] = "ASC"
},
new Dictionary<string, object>
{
["$id"] = "6542",
["updateTime"] = "DESC"
}
},
facets = new object[]
{
new
{
facet = "assetType",
count = 0,
sort = new
{
count = "desc",
},
},
new
{
facet = "classification",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "contactId",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "label",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "term",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6620",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6621",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6622",
["entityType"] = "azure_blob_path"
}
}
},
limit = 2,
orderby = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6626",
["name"] = "ASC"
},
new Dictionary<string, object>
{
["$id"] = "6628",
["updateTime"] = "DESC"
}
},
facets = new object[]
{
new
{
facet = "assetType",
count = 0,
sort = new
{
count = "desc",
},
},
new
{
facet = "classification",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "contactId",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "label",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "term",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6706",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6707",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6708",
["entityType"] = "azure_blob_path"
}
}
},
limit = 2,
continuationToken = "<token>",
orderby = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6713",
["name"] = "ASC"
},
new Dictionary<string, object>
{
["$id"] = "6715",
["updateTime"] = "DESC"
}
},
facets = new object[]
{
new
{
facet = "assetType",
count = 0,
sort = new
{
count = "desc",
},
},
new
{
facet = "classification",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "contactId",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "label",
count = 10,
sort = new
{
count = "desc",
},
},
new
{
facet = "term",
count = 10,
sort = new
{
count = "desc",
},
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6792",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6793",
["createTime"] = new Dictionary<string, object>
{
["$id"] = "6794",
["operator"] = "lt",
["timeThreshold"] = 1545580800000L
}
},
new Dictionary<string, object>
{
["$id"] = "6795",
["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D"
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6828",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6829",
["objectType"] = "Files"
},
new Dictionary<string, object>
{
["$id"] = "6830",
["not"] = new Dictionary<string, object>
{
["$id"] = "6831",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6832",
["attributeName"] = "size",
["operator"] = "eq",
["attributeValue"] = 0
},
new Dictionary<string, object>
{
["$id"] = "6833",
["attributeName"] = "fileSize",
["operator"] = "eq",
["attributeValue"] = 0
}
}
}
},
new Dictionary<string, object>
{
["$id"] = "6834",
["not"] = new Dictionary<string, object>
{
["$id"] = "6835",
["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE"
}
}
}
},
limit = 10,
taxonomySetting = new
{
assetTypes = new object[]
{
"Azure Blob Storage"
},
facet = new
{
count = 10,
sort = new
{
count = "desc",
},
},
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "<asset name>",
limit = 3,
filter = new Dictionary<string, object>
{
["$id"] = "6889",
["or"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6890",
["term"] = "ExampleTerm"
},
new Dictionary<string, object>
{
["$id"] = "6891",
["term"] = "ExampleTerm",
["glossary"] = "GlossaryName"
},
new Dictionary<string, object>
{
["$id"] = "6892",
["termGuid"] = "<term guid>"
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code>
This sample shows how to call QueryAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
limit = 10,
filter = new Dictionary<string, object>
{
["$id"] = "6925",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6926",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
},
});
Response response = await client.QueryAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code></example>
</Docs>
</Member>
<Member MemberName="Suggest">
<MemberSignature Language="C#" Value="public virtual Azure.Response<Azure.Analytics.Purview.DataMap.SuggestResult> Suggest (Azure.Analytics.Purview.DataMap.SuggestConfig body, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response`1<class Azure.Analytics.Purview.DataMap.SuggestResult> Suggest(class Azure.Analytics.Purview.DataMap.SuggestConfig body, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.Suggest(Azure.Analytics.Purview.DataMap.SuggestConfig,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Suggest (body As SuggestConfig, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SuggestResult)" />
<MemberSignature Language="F#" Value="abstract member Suggest : Azure.Analytics.Purview.DataMap.SuggestConfig * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Purview.DataMap.SuggestResult>
override this.Suggest : Azure.Analytics.Purview.DataMap.SuggestConfig * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Purview.DataMap.SuggestResult>" Usage="discovery.Suggest (body, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response<Azure.Analytics.Purview.DataMap.SuggestResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="body" Type="Azure.Analytics.Purview.DataMap.SuggestConfig" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="body"> Body parameter. </param>
<param name="cancellationToken"> The cancellation token to use. </param>
<summary> Get search suggestions by query criteria. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="body" /> is null. </exception>
<example>
This sample shows how to call Suggest.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
SuggestConfig body = new SuggestConfig
{
Keywords = "exampledata",
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6982",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6983",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
}),
};
Response<SuggestResult> response = client.Suggest(body);
]]></code></example>
</Docs>
</Member>
<Member MemberName="Suggest">
<MemberSignature Language="C#" Value="public virtual Azure.Response Suggest (Azure.Core.RequestContent content, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response Suggest(class Azure.Core.RequestContent content, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.Suggest(Azure.Core.RequestContent,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Suggest (content As RequestContent, Optional context As RequestContext = Nothing) As Response" />
<MemberSignature Language="F#" Value="abstract member Suggest : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.Suggest : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response" Usage="discovery.Suggest (content, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="content" Type="Azure.Core.RequestContent" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="content"> The content to send as the body of the request. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary>
[Protocol Method] Get search suggestions by query criteria.
<list type="bullet"><item><description>
This <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/ProtocolMethods.md">protocol method</see> allows explicit creation of the request and processing of the response for advanced scenarios.
</description></item><item><description>
Please try the simpler <see cref="M:Azure.Analytics.Purview.DataMap.Discovery.Suggest(Azure.Analytics.Purview.DataMap.SuggestConfig,System.Threading.CancellationToken)" /> convenience overload with strongly typed models first.
</description></item></list></summary>
<returns> The response returned from the service. </returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="content" /> is null. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call Suggest and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6982",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6983",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
},
limit = 10,
});
Response response = client.Suggest(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code></example>
</Docs>
</Member>
<Member MemberName="SuggestAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.SuggestResult>> SuggestAsync (Azure.Analytics.Purview.DataMap.SuggestConfig body, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.Analytics.Purview.DataMap.SuggestResult>> SuggestAsync(class Azure.Analytics.Purview.DataMap.SuggestConfig body, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.SuggestAsync(Azure.Analytics.Purview.DataMap.SuggestConfig,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function SuggestAsync (body As SuggestConfig, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SuggestResult))" />
<MemberSignature Language="F#" Value="abstract member SuggestAsync : Azure.Analytics.Purview.DataMap.SuggestConfig * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.SuggestResult>>
override this.SuggestAsync : Azure.Analytics.Purview.DataMap.SuggestConfig * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.SuggestResult>>" Usage="discovery.SuggestAsync (body, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Purview.DataMap.SuggestResult>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="body" Type="Azure.Analytics.Purview.DataMap.SuggestConfig" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="body"> Body parameter. </param>
<param name="cancellationToken"> The cancellation token to use. </param>
<summary> Get search suggestions by query criteria. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="body" /> is null. </exception>
<example>
This sample shows how to call SuggestAsync.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
SuggestConfig body = new SuggestConfig
{
Keywords = "exampledata",
Limit = 10,
Filter = BinaryData.FromObjectAsJson(new Dictionary<string, object>
{
["$id"] = "6982",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6983",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
}),
};
Response<SuggestResult> response = await client.SuggestAsync(body);
]]></code></example>
</Docs>
</Member>
<Member MemberName="SuggestAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response> SuggestAsync (Azure.Core.RequestContent content, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response> SuggestAsync(class Azure.Core.RequestContent content, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Analytics.Purview.DataMap.Discovery.SuggestAsync(Azure.Core.RequestContent,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function SuggestAsync (content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)" />
<MemberSignature Language="F#" Value="abstract member SuggestAsync : Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.SuggestAsync : Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>" Usage="discovery.SuggestAsync (content, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Analytics.Purview.DataMap</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="content" Type="Azure.Core.RequestContent" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="content"> The content to send as the body of the request. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary>
[Protocol Method] Get search suggestions by query criteria.
<list type="bullet"><item><description>
This <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/ProtocolMethods.md">protocol method</see> allows explicit creation of the request and processing of the response for advanced scenarios.
</description></item><item><description>
Please try the simpler <see cref="M:Azure.Analytics.Purview.DataMap.Discovery.SuggestAsync(Azure.Analytics.Purview.DataMap.SuggestConfig,System.Threading.CancellationToken)" /> convenience overload with strongly typed models first.
</description></item></list></summary>
<returns> The response returned from the service. </returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="content" /> is null. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call SuggestAsync and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
TokenCredential credential = new DefaultAzureCredential();
Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01");
using RequestContent content = RequestContent.Create(new
{
keywords = "exampledata",
filter = new Dictionary<string, object>
{
["$id"] = "6982",
["and"] = new object[]
{
new Dictionary<string, object>
{
["$id"] = "6983",
["entityType"] = "azure_blob_path",
["includeSubTypes"] = false
}
}
},
limit = 10,
});
Response response = await client.SuggestAsync(content);
JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
Console.WriteLine(result.ToString());
]]></code></example>
</Docs>
</Member>
</Members>
</Type>