Share via


WorkloadsExtensions.GetSapMonitors Method

Definition

Overloads

GetSapMonitors(ResourceGroupResource)

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

GetSapMonitors(SubscriptionResource, CancellationToken)

Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/monitors
  • Operation Id: monitors_List
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource

GetSapMonitors(ResourceGroupResource)

Source:
WorkloadsExtensions.cs
Source:
WorkloadsExtensions.cs

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

public static Azure.ResourceManager.Workloads.SapMonitorCollection GetSapMonitors (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSapMonitors : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Workloads.SapMonitorCollection
<Extension()>
Public Function GetSapMonitors (resourceGroupResource As ResourceGroupResource) As SapMonitorCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of SapMonitorResources and their operations over a SapMonitorResource.

Exceptions

resourceGroupResource is null.

Applies to

GetSapMonitors(SubscriptionResource, CancellationToken)

Source:
WorkloadsExtensions.cs
Source:
WorkloadsExtensions.cs

Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/monitors
  • Operation Id: monitors_List
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
public static Azure.Pageable<Azure.ResourceManager.Workloads.SapMonitorResource> GetSapMonitors (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSapMonitors : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Workloads.SapMonitorResource>
<Extension()>
Public Function GetSapMonitors (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SapMonitorResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to