Skip to content

Commit aacc194

Browse files
azure-sdkv-jiaodi
andauthored
[AutoPR @azure-arm-peering]-generated-from-SDK Generation - JS-6278647 (#38491)
Configurations: 'specification/peering/resource-manager/Microsoft.Peering/Peering/tspconfig.yaml', API Version: 2025-05-01, SDK Release Type: beta, and CommitSHA: 'f49c8e82617bdfdf9de573cd7a69fe2bbe030781' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6278647 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: Jiao Di (MSFT) <v-jiaodi@microsoft.com>
1 parent 4276441 commit aacc194

498 files changed

Lines changed: 13938 additions & 18499 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@
823823
# PRLabel: %Mgmt
824824
/sdk/onlineexperimentation/arm-onlineexperimentation/ @qiaozha @MaryGao @JialinHuang803
825825

826-
# PRLabel: %Mgmt
826+
# PRLabel: %Mgmt %mgmt-review-needed
827827
/sdk/peering/arm-peering/ @qiaozha @MaryGao @JialinHuang803
828828

829829
# PRLabel: %Mgmt

pnpm-lock.yaml

Lines changed: 21 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/peering/arm-peering/CHANGELOG.md

Lines changed: 61 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,68 @@
11
# Release History
22

3-
## 2.1.2 (Unreleased)
3+
## 2.2.0-beta.1 (2026-05-11)
4+
Compared with version 2.1.0
45

56
### Features Added
7+
- Added operation group RpUnbilledPrefixesOperations
8+
- Added operation RegisteredPrefixesOperations.validate
9+
- Added Interface CdnPeeringPrefixProperties
10+
- Added Interface ConnectionMonitorTestProperties
11+
- Added Interface ConnectivityProbe
12+
- Added Interface ErrorAdditionalInfo
13+
- Added Interface OperationProperties
14+
- Added Interface PagedAsyncIterableIterator
15+
- Added Interface PageSettings
16+
- Added Interface PeerAsnProperties
17+
- Added Interface PeeringLocationProperties
18+
- Added Interface PeeringProperties
19+
- Added Interface PeeringRegisteredAsnProperties
20+
- Added Interface PeeringRegisteredPrefixProperties
21+
- Added Interface PeeringServiceLocationProperties
22+
- Added Interface PeeringServicePrefixProperties
23+
- Added Interface PeeringServiceProperties
24+
- Added Interface PeeringServiceProviderProperties
25+
- Added Interface ProxyResource
26+
- Added Interface RegisteredPrefixesValidateOptionalParams
27+
- Added Interface RpUnbilledPrefix
28+
- Added Interface RpUnbilledPrefixesListOptionalParams
29+
- Added Interface SystemData
30+
- Added Interface TrackedResource
31+
- Interface CdnPeeringPrefix has a new optional parameter systemData
32+
- Interface ConnectionMonitorTest has a new optional parameter systemData
33+
- Interface ErrorDetail has a new optional parameter additionalInfo
34+
- Interface ErrorDetail has a new optional parameter details
35+
- Interface ErrorDetail has a new optional parameter target
36+
- Interface LegacyPeeringsListOptionalParams has a new optional parameter directPeeringType
37+
- Interface PeerAsn has a new optional parameter systemData
38+
- Interface Peering has a new optional parameter connectivityProbes
39+
- Interface Peering has a new optional parameter systemData
40+
- Interface PeeringLocation has a new optional parameter systemData
41+
- Interface PeeringRegisteredAsn has a new optional parameter systemData
42+
- Interface PeeringRegisteredPrefix has a new optional parameter systemData
43+
- Interface PeeringService has a new optional parameter systemData
44+
- Interface PeeringServiceCountry has a new optional parameter systemData
45+
- Interface PeeringServiceLocation has a new optional parameter systemData
46+
- Interface PeeringServicePrefix has a new optional parameter systemData
47+
- Interface PeeringServiceProvider has a new optional parameter systemData
48+
- Interface Resource has a new optional parameter systemData
49+
- Added Type Alias AzureSupportedClouds
50+
- Added Type Alias CreatedByType
51+
- Added Type Alias Protocol
52+
- Added Enum AzureClouds
53+
- Added Enum KnownCreatedByType
54+
- Added Enum KnownProtocol
55+
- Added Enum KnownVersions
56+
- Enum KnownConnectionState has a new value ExternalBlocker
57+
- Enum KnownConnectionState has a new value TypeChangeInProgress
58+
- Enum KnownConnectionState has a new value TypeChangeRequested
59+
- Enum KnownDirectPeeringType has a new value EdgeZoneForOperators
60+
- Enum KnownDirectPeeringType has a new value PeerProp
61+
- Enum KnownPeeringLocationsDirectPeeringType has a new value EdgeZoneForOperators
62+
- Enum KnownPeeringLocationsDirectPeeringType has a new value PeerProp
63+
- Enum KnownProvisioningState has a new value Canceled
664

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
13-
## 2.1.1 (2025-08-22)
14-
15-
### Other Changes
16-
17-
- Other fixes
18-
65+
1966
## 2.1.0 (2022-12-02)
2067

2168
### Features Added
@@ -47,4 +94,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.
4794

4895
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
4996

50-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
97+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).

sdk/peering/arm-peering/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/peering/arm-peering/README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Peering Client
66

7-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/peering/arm-peering) |
8-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-peering) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-peering) |
10-
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/peering/arm-peering)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-peering)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-peering)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/peering/arm-peering/samples)
1113

1214
## Getting started
1315

@@ -35,7 +37,7 @@ npm install @azure/arm-peering
3537
To create a client object to access the Azure PeeringManagement API, you will need the `endpoint` of your Azure PeeringManagement resource and a `credential`. The Azure PeeringManagement client can use Azure Active Directory credentials to authenticate.
3638
You can find the endpoint for your Azure PeeringManagement resource in the [Azure Portal][azure_portal].
3739

38-
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
40+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3941

4042
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
4143

@@ -44,7 +46,6 @@ npm install @azure/identity
4446
```
4547

4648
You will also need to **register a new AAD application and grant access to Azure PeeringManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4849

4950
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
5051

@@ -64,16 +65,16 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6465
import { InteractiveBrowserCredential } from "@azure/identity";
6566
import { PeeringManagementClient } from "@azure/arm-peering";
6667

67-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6868
const credential = new InteractiveBrowserCredential({
6969
tenantId: "<YOUR_TENANT_ID>",
7070
clientId: "<YOUR_CLIENT_ID>",
7171
});
72+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
7273
const client = new PeeringManagementClient(credential, subscriptionId);
7374
```
7475

75-
### JavaScript Bundle
7676

77+
### JavaScript Bundle
7778
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7879

7980
## Key concepts
@@ -98,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
9899

99100
## Next steps
100101

101-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/peering/arm-peering/samples) directory for detailed examples on how to use this library.
102103

103104
## Contributing
104105

@@ -108,8 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
108109

109110
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
110111

111-
[azure_cli]: https://learn.microsoft.com/cli/azure
112-
[azure_sub]: https://azure.microsoft.com/free/
113112
[azure_sub]: https://azure.microsoft.com/free/
114113
[azure_portal]: https://portal.azure.com
115114
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/peering/arm-peering/_meta.json

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"extends": "../../../api-extractor-base.json"
3-
}
1+
{ "extends": "../../../api-extractor-base.json" }

sdk/peering/arm-peering/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/peering/arm-peering",
5-
"Tag": "js/peering/arm-peering_5d0dd73bd7"
5+
"Tag": "js/peering/arm-peering_4b8ee35561"
66
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";
2+
3+
export default azsdkEslint.config([
4+
{
5+
rules: {
6+
"@azure/azure-sdk/ts-modules-only-named": "warn",
7+
"@azure/azure-sdk/ts-package-json-types": "warn",
8+
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
9+
"@azure/azure-sdk/ts-package-json-files-required": "off",
10+
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
11+
"tsdoc/syntax": "warn",
12+
},
13+
},
14+
]);

0 commit comments

Comments
 (0)