Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add number lookup GA
  • Loading branch information
guoqing2023 committed Feb 5, 2025
commit b9f203e7a57bb4cb788394c9029196b34fd8de02
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Release History

## 1.3.0-beta.6 (Unreleased)
## 1.3.0 (2025-02-11)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- GA release of Number Insight.

## 1.3.0-beta.5 (2024-03-01)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,15 @@ public PhoneNumbersClient(System.Uri endpoint, Azure.Core.TokenCredential tokenC
}
public partial class PhoneNumbersClientOptions : Azure.Core.ClientOptions
{
public PhoneNumbersClientOptions(Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion version = Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion.V2024_03_01_Preview) { }
public PhoneNumbersClientOptions(Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion version = Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion.V2025_02_11) { }
public string? AcceptedLanguage { get { throw null; } set { } }
public enum ServiceVersion
{
V2021_03_07 = 1,
V2022_01_11_Preview_2 = 2,
V2022_12_01 = 3,
V2024_03_01_Preview = 4,
V2025_02_11 = 5,
}
}
public partial class PhoneNumberSearchOptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,15 @@ public PhoneNumbersClient(System.Uri endpoint, Azure.Core.TokenCredential tokenC
}
public partial class PhoneNumbersClientOptions : Azure.Core.ClientOptions
{
public PhoneNumbersClientOptions(Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion version = Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion.V2024_03_01_Preview) { }
public PhoneNumbersClientOptions(Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion version = Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion.V2025_02_11) { }
public string? AcceptedLanguage { get { throw null; } set { } }
public enum ServiceVersion
{
V2021_03_07 = 1,
V2022_01_11_Preview_2 = 2,
V2022_12_01 = 3,
V2024_03_01_Preview = 4,
V2025_02_11 = 5,
}
}
public partial class PhoneNumberSearchOptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/communication/Azure.Communication.PhoneNumbers",
"Tag": "net/communication/Azure.Communication.PhoneNumbers_ab86664f5c"
"Tag": "net/communication/Azure.Communication.PhoneNumbers_e59e79351e"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
For this release, see notes - https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/communication/Azure.Communication.PhoneNumbers/README.md and https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/communication/Azure.Communication.PhoneNumbers/CHANGELOG.md.
</Description>
<AssemblyTitle>Azure Communication Phone Numbers Service</AssemblyTitle>
<Version>1.3.0-beta.6</Version>
<Version>1.3.0</Version>
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
<ApiCompatVersion>1.1.0</ApiCompatVersion>
<PackageTags>Microsoft Azure Communication Phone Numbers Service;Microsoft;Azure;Azure Communication Service;Azure Communication Phone Numbers Service;Phone Numbers;Communication;$(PackageCommonTags)</PackageTags>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Azure.Communication.PhoneNumbers
/// <summary> Client options for PhoneNumbersClient. </summary>
public class PhoneNumbersClientOptions : ClientOptions
{
private const ServiceVersion LatestVersion = ServiceVersion.V2024_03_01_Preview;
private const ServiceVersion LatestVersion = ServiceVersion.V2025_02_11;

/// <summary> The version of the service to use. </summary>
public enum ServiceVersion
Expand All @@ -26,6 +26,8 @@ public enum ServiceVersion
V2022_12_01 = 3,
/// <summary> Service version "2024-03-01-preview". </summary>
V2024_03_01_Preview = 4,
/// <summary> Service version "2025-02-11". </summary>
V2025_02_11 = 5,
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand All @@ -48,6 +50,7 @@ public PhoneNumbersClientOptions(ServiceVersion version = LatestVersion)
ServiceVersion.V2022_01_11_Preview_2 => "2022-01-11-preview2",
ServiceVersion.V2022_12_01 => "2022-12-01",
ServiceVersion.V2024_03_01_Preview => "2024-03-01-preview",
ServiceVersion.V2025_02_11 => "2025-02-11",
_ => throw new NotSupportedException()
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Run `dotnet msbuild /t:GenerateCode` to generate code.

``` yaml
public-clients: true
tag: package-phonenumber-2024-03-01-preview
tag: package-phonenumber-2025-02-11
model-namespace: false
require:
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/b56afb26c5450157006a3a1d9be57bae429051a2/specification/communication/data-plane/PhoneNumbers/readme.md
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/11eb55231cd72320a289d24504ae640cd363dc90/specification/communication/data-plane/PhoneNumbers/readme.md
title: Phone numbers
payload-flattening-threshold: 3
generation1-convenience-client: true
Expand Down