SynapseExtensions.GetSynapsePrivateLinkHubs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetSynapsePrivateLinkHubs(SubscriptionResource, CancellationToken) |
Returns a list of privateLinkHubs in a subscription
|
GetSynapsePrivateLinkHubs(ResourceGroupResource) |
Gets a collection of SynapsePrivateLinkHubResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSynapsePrivateLinkHubs() instead. |
GetSynapsePrivateLinkHubs(SubscriptionResource, CancellationToken)
- Source:
- SynapseExtensions.cs
- Source:
- SynapseExtensions.cs
Returns a list of privateLinkHubs in a subscription
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Synapse/privateLinkHubs
- Operation Id: PrivateLinkHubs_List
public static Azure.Pageable<Azure.ResourceManager.Synapse.SynapsePrivateLinkHubResource> GetSynapsePrivateLinkHubs (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSynapsePrivateLinkHubs : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Synapse.SynapsePrivateLinkHubResource>
<Extension()>
Public Function GetSynapsePrivateLinkHubs (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SynapsePrivateLinkHubResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of SynapsePrivateLinkHubResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
GetSynapsePrivateLinkHubs(ResourceGroupResource)
- Source:
- SynapseExtensions.cs
- Source:
- SynapseExtensions.cs
Gets a collection of SynapsePrivateLinkHubResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSynapsePrivateLinkHubs() instead.
public static Azure.ResourceManager.Synapse.SynapsePrivateLinkHubCollection GetSynapsePrivateLinkHubs (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSynapsePrivateLinkHubs : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Synapse.SynapsePrivateLinkHubCollection
<Extension()>
Public Function GetSynapsePrivateLinkHubs (resourceGroupResource As ResourceGroupResource) As SynapsePrivateLinkHubCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of SynapsePrivateLinkHubResources and their operations over a SynapsePrivateLinkHubResource.
Exceptions
resourceGroupResource
is null.