azure.purview.sharing.aio package¶
-
class
azure.purview.sharing.aio.PurviewSharingClient(endpoint: str, credential: AsyncTokenCredential, **kwargs: Any)[source]¶ Creates a data plane client for Purview Share.
- Variables
received_shares (azure.purview.sharing.aio.operations.ReceivedSharesOperations) – ReceivedSharesOperations operations
sent_shares (azure.purview.sharing.aio.operations.SentSharesOperations) – SentSharesOperations operations
share_resources (azure.purview.sharing.aio.operations.ShareResourcesOperations) – ShareResourcesOperations operations
- Parameters
endpoint (str) – The sharing endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share. Required.
credential (AsyncTokenCredential) – Credential needed for the client to connect to Azure. Required.
- Keyword Arguments
-
send_request(request: azure.core.rest._rest_py3.HttpRequest, **kwargs: Any) → Awaitable[azure.core.rest._rest_py3.AsyncHttpResponse][source]¶ 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 = await client.send_request(request) <AsyncHttpResponse: 200 OK>
For more information on this code flow, see https://aka.ms/azsdk/dpcodegen/python/send_request
- 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