azure-sdk-for-net icon indicating copy to clipboard operation
azure-sdk-for-net copied to clipboard

[QUERY] Where do GroupIds for PrivateLinkServiceConnection come from?

Open rguthriemsft opened this issue 2 years ago • 7 comments
trafficstars

Library name and version

Microsoft.Azure.Management.Network.Models 0.28.0-preview

Query/Question

I'm trying to deploy a PrivateEndpoint (from the namespace Microsoft.Azure.Management.Network.Models) to Azure Portal using C#. It will be connected to an Azure Monitor Private Link Scope (AMPLS), which is connected to a Log Analytics Workspace. The PrivateEndpoint class contains a required attribute IList groupIds (hierarchy shown below). I currently have the groupIds I need hardcoded in, and I would like to know where this value should come from so that it can be determined at runtime. I originally thought it might come from the AMPLS, but that class doesn't seem to contain a groupIds attribute.

var privateEndpoint = new PrivateEndpoint( ... privateLinkServiceConnections: new List<PrivateLinkServiceConnection>() { new PrivateLinkServiceConnection( ... groupIds: new List<string>() { "azuremonitor" }) });

Environment

Visual Studio 2022 netcoreapp6.0 C# Web Api Microsoft.Azure.Management.Network.Models 0.28.0-preview

rguthriemsft avatar Jan 10 '23 19:01 rguthriemsft

Thank you for your feedback. Tagging and routing to the team member best able to assist.

jsquire avatar Jan 10 '23 19:01 jsquire

This need to be answered by the service team, added the service attention label.

Yao725 avatar Jan 11 '23 06:01 Yao725

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

Issue Details

Library name and version

Microsoft.Azure.Management.Network.Models 0.28.0-preview

Query/Question

I'm trying to deploy a PrivateEndpoint (from the namespace Microsoft.Azure.Management.Network.Models) to Azure Portal using C#. It will be connected to an Azure Monitor Private Link Scope (AMPLS), which is connected to a Log Analytics Workspace. The PrivateEndpoint class contains a required attribute IList groupIds (hierarchy shown below). I currently have the groupIds I need hardcoded in, and I would like to know where this value should come from so that it can be determined at runtime. I originally thought it might come from the AMPLS, but that class doesn't seem to contain a groupIds attribute.

var privateEndpoint = new PrivateEndpoint( ... privateLinkServiceConnections: new List<PrivateLinkServiceConnection>() { new PrivateLinkServiceConnection( ... groupIds: new List<string>() { "azuremonitor" }) });

Environment

Visual Studio 2022 netcoreapp6.0 C# Web Api Microsoft.Azure.Management.Network.Models 0.28.0-preview

Author: rguthriemsft
Assignees: xboxeer
Labels:

Network, Service Attention, Mgmt, customer-reported, question, needs-team-attention

Milestone: -

ghost avatar Jan 11 '23 06:01 ghost

Hi @rguthriemsft. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “/unresolve” to remove the “issue-addressed” label and continue the conversation.

ghost avatar Feb 08 '23 05:02 ghost

Hi foode222, only the original author of the issue can ask that it be unresolved. Please open a new issue with your scenario and details if you would like to discuss this topic with the team.

ghost avatar Feb 13 '23 11:02 ghost

Hi @rguthriemsft, since you haven’t asked that we “/unresolve” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve” to reopen the issue.

ghost avatar Feb 20 '23 16:02 ghost