MonitorExtensions.GetMonitorPrivateLinkScopes 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
| Name | Description |
|---|---|
| GetMonitorPrivateLinkScopes(SubscriptionResource, CancellationToken) |
Gets a list of all Azure Monitor PrivateLinkScopes within a subscription. <item> Mocking. To mock this method, please mock GetMonitorPrivateLinkScopes(CancellationToken) instead. </item> |
| GetMonitorPrivateLinkScopes(ResourceGroupResource) |
Gets a collection of MonitorPrivateLinkScopes in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetMonitorPrivateLinkScopes() instead. </item> |
GetMonitorPrivateLinkScopes(SubscriptionResource, CancellationToken)
- Source:
- MonitorExtensions.cs
- Source:
- MonitorExtensions.cs
Gets a list of all Azure Monitor PrivateLinkScopes within a subscription. <item> Mocking. To mock this method, please mock GetMonitorPrivateLinkScopes(CancellationToken) instead. </item>
public static Azure.Pageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource> GetMonitorPrivateLinkScopes(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMonitorPrivateLinkScopes : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
<Extension()>
Public Function GetMonitorPrivateLinkScopes (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MonitorPrivateLinkScopeResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of MonitorPrivateLinkScopeResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource is null.
Applies to
GetMonitorPrivateLinkScopes(ResourceGroupResource)
- Source:
- MonitorExtensions.cs
- Source:
- MonitorExtensions.cs
Gets a collection of MonitorPrivateLinkScopes in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetMonitorPrivateLinkScopes() instead. </item>
public static Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeCollection GetMonitorPrivateLinkScopes(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetMonitorPrivateLinkScopes : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeCollection
<Extension()>
Public Function GetMonitorPrivateLinkScopes (resourceGroupResource As ResourceGroupResource) As MonitorPrivateLinkScopeCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource the method will execute against.
Returns
An object representing collection of MonitorPrivateLinkScopes and their operations over a MonitorPrivateLinkScopeResource.
Exceptions
resourceGroupResource is null.