다음을 통해 공유


SapMonitorCollection Class

Definition

A class representing a collection of SapMonitorResource and their operations. Each SapMonitorResource in the collection will belong to the same instance of ResourceGroupResource. To get a SapMonitorCollection instance call the GetSapMonitors method from an instance of ResourceGroupResource.

public class SapMonitorCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Workloads.SapMonitorResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Workloads.SapMonitorResource>
type SapMonitorCollection = class
    inherit ArmCollection
    interface seq<SapMonitorResource>
    interface IEnumerable
    interface IAsyncEnumerable<SapMonitorResource>
Public Class SapMonitorCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SapMonitorResource), IEnumerable(Of SapMonitorResource)
Inheritance
SapMonitorCollection
Implements

Constructors

SapMonitorCollection()

Initializes a new instance of the SapMonitorCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SapMonitorData, CancellationToken)

Creates a SAP monitor for the specified subscription, resource group, and resource name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • Operation Id: monitors_Create
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
CreateOrUpdateAsync(WaitUntil, String, SapMonitorData, CancellationToken)

Creates a SAP monitor for the specified subscription, resource group, and resource name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • Operation Id: monitors_Create
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • Operation Id: monitors_Get
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • Operation Id: monitors_Get
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
Get(String, CancellationToken)

Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • Operation Id: monitors_Get
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
GetAll(CancellationToken)

Gets a list of SAP monitors in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors
  • Operation Id: monitors_ListByResourceGroup
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
GetAllAsync(CancellationToken)

Gets a list of SAP monitors in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors
  • Operation Id: monitors_ListByResourceGroup
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
GetAsync(String, CancellationToken)

Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • Operation Id: monitors_Get
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • Operation Id: monitors_Get
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}
  • Operation Id: monitors_Get
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SapMonitorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SapMonitorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to