diff --git a/sdk/communication/azure-communication-administration/CHANGELOG.md b/sdk/communication/azure-communication-administration/CHANGELOG.md deleted file mode 100644 index ec93d81f8d0e4..0000000000000 --- a/sdk/communication/azure-communication-administration/CHANGELOG.md +++ /dev/null @@ -1,63 +0,0 @@ -# Release History - -## 1.0.0b4 (2020-20-09) - -### Breaking Changes -- CommunicationIdentityClient is moved to a new package: "azure.communication.identity". -- Replaced CommunicationUser with CommunicationUserIdentifier. -- Renamed CommunicationUserCredential to CommunicationTokenCredential. - - -##### `PhoneNumberAdministrationClient` -- `begin_reserve_phone_numbers` now takes `display_name`, `description`, `phone_plan_ids`, -`area_code`, `quantity`, `location_options`, or `continuation_token` keywords as input. -Caller must provide one of the following: - (1) all of keywords `display_name`, `description`, `phone_plan_ids`, `area_code`, `quantity` if all the phone plans - to reserve are toll-free plans. - (2) all of keywords `display_name`, `description`, `phone_plan_ids`, `area_code`, `quantity`, `location_options` - if at least one phone plan to reserve is not toll-free plans. - (3) only keyword `continuation_token` to restart a poller from a saved state. -- `list_all_orders` renamed to `list_all_reservations`. - -### Added - -- Added `MicrosoftTeamsUserIdentifier` - -##### `IdentityClient` -- Added support for Azure Active Directory authentication - -#### `PhoneNumberAdministrationClient` -- Added support for Azure Active Directory authentication -## 1.0.0b3 (2020-11-16) - -### Breaking Changes - -##### `PhoneNumberSearch` renamed to `PhoneNumberReservation`. - -##### `PhoneNumberReservation` -- `search_id` has been renamed to `reservation_id`. - -##### `PhoneNumberAdministrationClient` -- `get_search_by_id` has been renamed to `get_reservation_by_id`. -- `create_search` has been renamed to `begin_reserve_phone_numbers`. -- `begin_reserve_phone_numbers` now takes either `options`, or `continuation_token` keywords as input. -- `begin_reserve_phone_numbers` now returns `LROPoller[PhoneNumberReservation]`. -- `release_phone_numbers` has been renamed to `begin_release_phone_numbers`. -- `begin_release_phone_numbers` now takes either `phone_numbers`, or `continuation_token` keywords as input. -- `begin_release_phone_numbers` now returns `LROPoller[PhoneNumberRelease]`. -- `purchase_search` has been renamed to `begin_purchase_reservation`. -- `begin_purchase_reservation` now takes either `reservation_id`, or `continuation_token` keywords as input. -- `begin_purchase_reservation` now returns `LROPoller[PurchaseReservationPolling]`. -- `cancel_search` has been renamed to `cancel_reservation`. - -### Added - -##### `PhoneNumberAdministrationClient` -- Add long run operation polling method `ReservePhoneNumberPolling`,`PurchaseReservationPolling`, -`ReleasePhoneNumberPolling`. - -## 1.0.0b2 (2020-10-06) -- Added support for phone number administration. - -## 1.0.0b1 (2020-09-22) -- Preview release of the package. diff --git a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md index 35a0df2a07dc9..95eafce097769 100644 --- a/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md +++ b/sdk/communication/azure-communication-phonenumbers/CHANGELOG.md @@ -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). diff --git a/sdk/communication/azure-communication-phonenumbers/README.md b/sdk/communication/azure-communication-phonenumbers/README.md index 0532868d880f8..02ddc23bd25ba 100644 --- a/sdk/communication/azure-communication-phonenumbers/README.md +++ b/sdk/communication/azure-communication-phonenumbers/README.md @@ -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 @@ -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 diff --git a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md index bd78a4b405026..c3adcb475ba7d 100644 --- a/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md +++ b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md @@ -1,4 +1,4 @@ -# Azure Communication Phone Numbers Administration for Python +# Azure Communication Phone Numbers for Python > see https://aka.ms/autorest diff --git a/sdk/communication/azure-communication-sms/azure/communication/sms/aio/_sms_client_async.py b/sdk/communication/azure-communication-sms/azure/communication/sms/aio/_sms_client_async.py index 858ab0982205b..30c1ab7c789f1 100644 --- a/sdk/communication/azure-communication-sms/azure/communication/sms/aio/_sms_client_async.py +++ b/sdk/communication/azure-communication-sms/azure/communication/sms/aio/_sms_client_async.py @@ -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__()