PurviewAccountClient Class

Creates a Microsoft.Purview data plane account client.

Inheritance
builtins.object
PurviewAccountClient

Constructor

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

Parameters

endpoint
str
Required

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

credential
TokenCredential
Required

Credential needed for the client to connect to Azure.

Variables

accounts
AccountsOperations

AccountsOperations operations

collections
CollectionsOperations

CollectionsOperations operations

resource_set_rules
ResourceSetRulesOperations

ResourceSetRulesOperations operations

Methods

close
send_request

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.

close

close() -> None

send_request

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.

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

Parameters

request
HttpRequest
Required

The network request you want to make. Required.

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