HybridComputeExtensions.GetHybridComputePrivateLinkScopes Method

Definition

Overloads

GetHybridComputePrivateLinkScopes(SubscriptionResource, CancellationToken)

Gets a list of all Azure Arc PrivateLinkScopes within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes
  • Operation Id: PrivateLinkScopes_List
  • Default Api Version: 2024-07-10
  • Resource: HybridComputePrivateLinkScopeResource
GetHybridComputePrivateLinkScopes(ResourceGroupResource)

Gets a collection of HybridComputePrivateLinkScopeResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHybridComputePrivateLinkScopes() instead.

GetHybridComputePrivateLinkScopes(SubscriptionResource, CancellationToken)

Source:
HybridComputeExtensions.cs
Source:
HybridComputeExtensions.cs

Gets a list of all Azure Arc PrivateLinkScopes within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes
  • Operation Id: PrivateLinkScopes_List
  • Default Api Version: 2024-07-10
  • Resource: HybridComputePrivateLinkScopeResource
public static Azure.Pageable<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource> GetHybridComputePrivateLinkScopes (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetHybridComputePrivateLinkScopes : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>
<Extension()>
Public Function GetHybridComputePrivateLinkScopes (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HybridComputePrivateLinkScopeResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to

GetHybridComputePrivateLinkScopes(ResourceGroupResource)

Source:
HybridComputeExtensions.cs
Source:
HybridComputeExtensions.cs

Gets a collection of HybridComputePrivateLinkScopeResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHybridComputePrivateLinkScopes() instead.

public static Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeCollection GetHybridComputePrivateLinkScopes (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetHybridComputePrivateLinkScopes : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeCollection
<Extension()>
Public Function GetHybridComputePrivateLinkScopes (resourceGroupResource As ResourceGroupResource) As HybridComputePrivateLinkScopeCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of HybridComputePrivateLinkScopeResources and their operations over a HybridComputePrivateLinkScopeResource.

Exceptions

resourceGroupResource is null.

Applies to