Dela via


ElasticExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Elastic.

public static class ElasticExtensions
type ElasticExtensions = class
Public Module ElasticExtensions
Inheritance
ElasticExtensions

Methods

GetElasticMonitorResource(ArmClient, ResourceIdentifier)

Gets an object representing an ElasticMonitorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an ElasticMonitorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetElasticMonitorResource(ResourceIdentifier) instead.

GetElasticMonitorResource(ResourceGroupResource, String, CancellationToken)

Get the properties of a specific monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}
  • Operation Id: Monitors_Get
GetElasticMonitorResourceAsync(ResourceGroupResource, String, CancellationToken)

Get the properties of a specific monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}
  • Operation Id: Monitors_Get
GetElasticMonitorResources(ResourceGroupResource)

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

GetElasticMonitorResources(SubscriptionResource, CancellationToken)

List all monitors under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors
  • Operation Id: Monitors_List
GetElasticMonitorResourcesAsync(SubscriptionResource, CancellationToken)

List all monitors under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors
  • Operation Id: Monitors_List
GetMonitoringTagRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a MonitoringTagRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MonitoringTagRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMonitoringTagRuleResource(ResourceIdentifier) instead.

Applies to