Compartir a través de


Azure Purview DataMap client library for Java - version 1.0.0-beta.1

Microsoft Purview Data Map provides the foundation for data discovery and data governance. Microsoft Purview Data Map is a cloud native PaaS service that captures metadata about enterprise data present in analytics and operation systems on-premises and cloud. Azure Purview DataMap client provides a set of APIs in Purview Data Map Data Plane. For a full list of APIs, please refer to Data Map API.

This package contains Microsoft Azure PurviewDataMap client library.

Documentation

Various documentation is available to help you get started

Getting started

Prerequisites

Adding the package to your product

<dependency>
    <groupId>com.azure</groupId>
    <artifactId>azure-analytics-purview-datamap</artifactId>
    <version>1.0.0-beta.1</version>
</dependency>

Authentication

Azure Identity package provides the default implementation for authenticating the client.

Key concepts

See [DataMap APIs][https://learn.microsoft.com/rest/api/purview/datamapdataplane/operation-groups?view=rest-purview-datamapdataplane-2023-09-01] for general introduction the API scenarios.

Examples

Get Type Definition By Name


ClientSecretCredential cred = new ClientSecretCredentialBuilder()
    .tenantId(Configuration.getGlobalConfiguration().get("TENANT_ID"))
    .authorityHost(Configuration.getGlobalConfiguration().get("AUTHORITY_HOST"))
    .clientId(Configuration.getGlobalConfiguration().get("CLIENT_ID"))
    .clientSecret(Configuration.getGlobalConfiguration().get("CLIENT_SECRET"))
    .build();
DataMapClientBuilder clientBuilder = new DataMapClientBuilder()
    .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT"))
    .credential(cred);

TypeDefinitionClient typeDefinitionClient = clientBuilder.buildTypeDefinitionClient();
AtlasEntityDef type = typeDefinitionClient.getEntityByName("AtlasGlossary");

Troubleshooting

Next steps

Contributing

For details on contributing to this repository, see the contributing guide.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Impressions