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

Creates a Microsoft.Scanning management client.

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

  • 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.

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

For more information on this code flow, see

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

Table of Contents

Subpackages