PrivateLinkResourceCollection.GetAll(CancellationToken) Method

Definition

Lists all the private links in the specified resource group. private links enable secure, private connectivity to Microsoft Defender for Cloud services without exposing traffic to the public internet. Use the 'nextLink' property in the response to get the next page of private links for the specified resource group.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks.
  • Operation Id. : PrivateLinkResources_List.
  • Default Api Version. : 2026-01-01.
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.PrivateLinkResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.PrivateLinkResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.PrivateLinkResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PrivateLinkResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of PrivateLinkResource that may take multiple service requests to iterate over.

Applies to