azure.purview.account package

class azure.purview.account.PurviewAccountClient(endpoint: str, credential: ‘TokenCredential’, **kwargs: Any)[source]

Creates a Microsoft.Purview data plane account client.

Variables
Parameters
  • endpoint (str) – The account endpoint of your Purview account. Example: https://{accountName}.purview.azure.com/account/.

  • credential (TokenCredential) – Credential needed for the client to connect to Azure.

close()None[source]
send_request(request: HttpRequest, **kwargs: Any)HttpResponse[source]

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

We have helper methods to create requests specific to this service in azure.purview.account.rest. Use these helper methods to create the request you pass to this method.

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

For advanced cases, you can also create your own HttpRequest and pass it in.

Parameters

request (HttpRequest) – The network request you want to make. Required.

Keyword Arguments

stream (bool) – Whether the response payload will be streamed. Defaults to False.

Returns

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

Return type

HttpResponse