azure.purview.scanning package¶
-
class
azure.purview.scanning.
PurviewScanningClient
(credential: ‘TokenCredential’, endpoint: str, **kwargs: Any)[source]¶ Creates a Microsoft.Scanning management client.
- Parameters
-
send_request
(http_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.scanning.rest. Use these helper methods to create the request you pass to this method. See our example below:
>>> from azure.purview.scanning.rest import build_get_request >>> request = build_get_request(key_vault_name) <HttpRequest [GET], url: '/azureKeyVaults/{keyVaultName}'> >>> response = client.send_request(request) <HttpResponse: 200 OK>
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
http_request (HttpRequest) – The network request you want to make. Required.
- Keyword Arguments
stream_response (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
Subpackages¶
- azure.purview.scanning.aio package
- azure.purview.scanning.core package
- azure.purview.scanning.rest package
- Subpackages
- azure.purview.scanning.rest.classification_rules package
- azure.purview.scanning.rest.data_sources package
- azure.purview.scanning.rest.filters package
- azure.purview.scanning.rest.key_vault_connections package
- azure.purview.scanning.rest.scan_result package
- azure.purview.scanning.rest.scan_rulesets package
- azure.purview.scanning.rest.scans package
- azure.purview.scanning.rest.system_scan_rulesets package
- azure.purview.scanning.rest.triggers package
- Subpackages