Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.

Repository from Github https://github.comAzure/azure-sdk-for-jsRepository from Github https://github.comAzure/azure-sdk-for-js

arm-cosmos db doesnt have a way to access NetworkSecurityPerimeterConfigurations in Typescript

natanel-ficher-cyera opened this issue · comments

  • Package Name: arm-cosmosdb
  • Package Version: 16.2.0
  • Operating system: mac
  • nodejs
    • version: v22.14.0
  • browser
    • name/version:
  • typescript
    • version: 4.8.4
  • Is the bug related to documentation in

Describe the bug
cosmosDB has the option to assosiate nsp, https://learn.microsoft.com/en-us/azure/private-link/network-security-perimeter-concepts#onboarded-private-link-resources
and the arm-cosmosdb
changelog says its part of the SDK

- Added operation group NetworkSecurityPerimeterConfigurations

and it seems to be part of the interfaces https://github.com/search?q=repo%3AAzure%2Fazure-sdk-for-js+NetworkSecurityPerimeterConfigurations+cosmos&type=code
but when installing the library from npm, this part of the code seems to not exist

To Reproduce
Steps to reproduce the behavior:
const credential = new DefaultAzureCredential();
const client = new CosmosDBManagementClient(credential, subscriptionId);
const result = await client.networkSecurityPerimeterConfigurations.get(
resourceGroupName,
accountName,
networkSecurityPerimeterConfigurationName,
);

typescript throws Property 'networkSecurityPerimeterConfigurations' does not exist on type 'CosmosDBManagmentClient'

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @sajeetharan @simorenoh.

@kazrael2119 could you help take a look first? thanks

@qiaozha @kazrael2119 please prioritzie.