Compartir a través de


PurviewCatalogClient Class

Purview Catalog Service is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Catalog helps organizations get more value from their existing investments. This spec defines REST API of Purview Catalog Service.

Inheritance
builtins.object
PurviewCatalogClient

Constructor

PurviewCatalogClient(endpoint: str, credential: TokenCredential, **kwargs: Any)

Parameters

Name Description
endpoint
Required
str

The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com.

credential
Required

Credential needed for the client to connect to Azure.

Keyword-Only Parameters

Name Description
api_version
str

Api Version. Default value is "2022-03-01-preview". Note that overriding this default value may result in unsupported behavior.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Variables

Name Description
entity

EntityOperations operations

glossary

GlossaryOperations operations

discovery

DiscoveryOperations operations

lineage

LineageOperations operations

relationship

RelationshipOperations operations

types

TypesOperations operations

collection

CollectionOperations operations

Methods

close
send_request

Runs the network request through the client's chained policies.


>>> from azure.core.rest import HttpRequest
>>> request = HttpRequest("GET", "https://www.example.org/")
<HttpRequest [GET], url: 'https://www.example.org/'>
>>> response = client.send_request(request)
<HttpResponse: 200 OK>

For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart

close

close() -> None

send_request

Runs the network request through the client's chained policies.


>>> from azure.core.rest import HttpRequest
>>> request = HttpRequest("GET", "https://www.example.org/")
<HttpRequest [GET], url: 'https://www.example.org/'>
>>> response = client.send_request(request)
<HttpResponse: 200 OK>

For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart

send_request(request: HttpRequest, **kwargs: Any) -> HttpResponse

Parameters

Name Description
request
Required

The network request you want to make. Required.

Keyword-Only Parameters

Name Description
stream

Whether the response payload will be streamed. Defaults to False.

Returns

Type Description

The response of your network call. Does not do error handling on your response.