Skip to content

Commit

Permalink
Removing administration package
Browse files Browse the repository at this point in the history
  • Loading branch information
jorge-beauregard committed Mar 30, 2021
1 parent 63bc8a0 commit 13667b6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 68 deletions.
63 changes: 0 additions & 63 deletions sdk/communication/azure-communication-administration/CHANGELOG.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ and PhoneNumbersAsyncClient.list_purchased_phone_numbers
- Dropped support for Python 3.5

### Added
- Added PhoneNumbersAdministrationClient (originally was part of the azure.communication.administration package).
- Added PhoneNumbersClient (originally was part of the azure.communication.administration package).



Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/azure-communication-phonenumbers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ endpoint = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING')

# To use Azure Active Directory Authentication (DefaultAzureCredential) make sure to have your
# AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET as env variables.
phone_number_administration_client = PhoneNumbersAdministrationClient(endpoint, DefaultAzureCredential())
phone_numbers_client = PhoneNumbersClient(endpoint, DefaultAzureCredential())

```
### Initializing the Client Using Your Connection String
Expand All @@ -39,7 +39,7 @@ import os
from azure.communication.phonenumbers import PhoneNumbersClient

connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING')
phone_number_administration_client = PhoneNumbersAdministrationClient.from_connection_string(connection_str)
phone_numbers_client = PhoneNumbersClient.from_connection_string(connection_str)
```

### Phone Number Types overview
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Azure Communication Phone Numbers Administration for Python
# Azure Communication Phone Numbers for Python

> see https://aka.ms/autorest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,6 @@ async def __aexit__(self, *args: "Any") -> None:

async def close(self) -> None:
"""Close the :class:
`~azure.communication.administration.aio.SMSClient` session.
`~azure.communication.sms.aio.SmsClient` session.
"""
await self._sms_service_client.__aexit__()

0 comments on commit 13667b6

Please sign in to comment.