From 93f9f0bffe3ddc660ffef4dfa2dee5ad1231faf1 Mon Sep 17 00:00:00 2001 From: Jorge Beauregard <69869951+jbeauregardb@users.noreply.github.com> Date: Wed, 31 Mar 2021 10:45:14 -0600 Subject: [PATCH] Removing administration package (#17668) --- .../CHANGELOG.md | 63 ------------------- .../CHANGELOG.md | 2 +- .../swagger/PHONE_NUMBER_SWAGGER.md | 2 +- .../sms/aio/_sms_client_async.py | 2 +- 4 files changed, 3 insertions(+), 66 deletions(-) delete mode 100644 sdk/communication/azure-communication-administration/CHANGELOG.md diff --git a/sdk/communication/azure-communication-administration/CHANGELOG.md b/sdk/communication/azure-communication-administration/CHANGELOG.md deleted file mode 100644 index ec93d81f8d0e..000000000000 --- 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 35a0df2a07dc..95eafce09776 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/swagger/PHONE_NUMBER_SWAGGER.md b/sdk/communication/azure-communication-phonenumbers/swagger/PHONE_NUMBER_SWAGGER.md index bd78a4b40502..c3adcb475ba7 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 858ab0982205..30c1ab7c789f 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__()