MonitorExtensions Class
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.
A class to add extension methods to Azure.ResourceManager.Monitor.
public static class MonitorExtensions
type MonitorExtensions = class
Public Module MonitorExtensions
- Inheritance
-
MonitorExtensions
Methods
GetActionGroup(ResourceGroupResource, String, CancellationToken) |
Get an action group.
|
GetActionGroupAsync(ResourceGroupResource, String, CancellationToken) |
Get an action group.
|
GetActionGroupResource(ArmClient, ResourceIdentifier) |
Gets an object representing an ActionGroupResource 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 ActionGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetActionGroupResource(ResourceIdentifier) instead. |
GetActionGroups(ResourceGroupResource) |
Gets a collection of ActionGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetActionGroups() instead. |
GetActionGroups(SubscriptionResource, CancellationToken) |
Get a list of all action groups in a subscription.
|
GetActionGroupsAsync(SubscriptionResource, CancellationToken) |
Get a list of all action groups in a subscription.
|
GetActivityLogAlert(ResourceGroupResource, String, CancellationToken) |
Get an Activity Log Alert rule.
|
GetActivityLogAlertAsync(ResourceGroupResource, String, CancellationToken) |
Get an Activity Log Alert rule.
|
GetActivityLogAlertResource(ArmClient, ResourceIdentifier) |
Gets an object representing an ActivityLogAlertResource 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 ActivityLogAlertResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetActivityLogAlertResource(ResourceIdentifier) instead. |
GetActivityLogAlerts(ResourceGroupResource) |
Gets a collection of ActivityLogAlertResources in the ResourceGroupResource. MockingTo mock this method, please mock GetActivityLogAlerts() instead. |
GetActivityLogAlerts(SubscriptionResource, CancellationToken) |
Get a list of all Activity Log Alert rules in a subscription.
|
GetActivityLogAlertsAsync(SubscriptionResource, CancellationToken) |
Get a list of all Activity Log Alert rules in a subscription.
|
GetActivityLogs(SubscriptionResource, String, String, CancellationToken) |
Provides the list of records from the activity logs.
|
GetActivityLogsAsync(SubscriptionResource, String, String, CancellationToken) |
Provides the list of records from the activity logs.
|
GetAlertRule(ResourceGroupResource, String, CancellationToken) |
Gets a classic metric alert rule
|
GetAlertRuleAsync(ResourceGroupResource, String, CancellationToken) |
Gets a classic metric alert rule
|
GetAlertRuleResource(ArmClient, ResourceIdentifier) |
Gets an object representing an AlertRuleResource 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 AlertRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAlertRuleResource(ResourceIdentifier) instead. |
GetAlertRules(ResourceGroupResource) |
Gets a collection of AlertRuleResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAlertRules() instead. |
GetAlertRules(SubscriptionResource, CancellationToken) |
List the classic metric alert rules within a subscription.
|
GetAlertRulesAsync(SubscriptionResource, CancellationToken) |
List the classic metric alert rules within a subscription.
|
GetAutoscaleSetting(ResourceGroupResource, String, CancellationToken) |
Gets an autoscale setting
|
GetAutoscaleSettingAsync(ResourceGroupResource, String, CancellationToken) |
Gets an autoscale setting
|
GetAutoscaleSettingResource(ArmClient, ResourceIdentifier) |
Gets an object representing an AutoscaleSettingResource 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 AutoscaleSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutoscaleSettingResource(ResourceIdentifier) instead. |
GetAutoscaleSettings(ResourceGroupResource) |
Gets a collection of AutoscaleSettingResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAutoscaleSettings() instead. |
GetAutoscaleSettings(SubscriptionResource, CancellationToken) |
Lists the autoscale settings for a subscription
|
GetAutoscaleSettingsAsync(SubscriptionResource, CancellationToken) |
Lists the autoscale settings for a subscription
|
GetDataCollectionEndpoint(ResourceGroupResource, String, CancellationToken) |
Returns the specified data collection endpoint.
|
GetDataCollectionEndpointAsync(ResourceGroupResource, String, CancellationToken) |
Returns the specified data collection endpoint.
|
GetDataCollectionEndpointResource(ArmClient, ResourceIdentifier) |
Gets an object representing a DataCollectionEndpointResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DataCollectionEndpointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataCollectionEndpointResource(ResourceIdentifier) instead. |
GetDataCollectionEndpoints(ResourceGroupResource) |
Gets a collection of DataCollectionEndpointResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataCollectionEndpoints() instead. |
GetDataCollectionEndpoints(SubscriptionResource, CancellationToken) |
Lists all data collection endpoints in the specified subscription
|
GetDataCollectionEndpointsAsync(SubscriptionResource, CancellationToken) |
Lists all data collection endpoints in the specified subscription
|
GetDataCollectionRule(ResourceGroupResource, String, CancellationToken) |
Returns the specified data collection rule.
|
GetDataCollectionRuleAssociation(ArmClient, ResourceIdentifier, String, CancellationToken) |
Returns the specified association.
|
GetDataCollectionRuleAssociationAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Returns the specified association.
|
GetDataCollectionRuleAssociationResource(ArmClient, ResourceIdentifier) |
Gets an object representing a DataCollectionRuleAssociationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a DataCollectionRuleAssociationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataCollectionRuleAssociationResource(ResourceIdentifier) instead. |
GetDataCollectionRuleAssociations(ArmClient, ResourceIdentifier) |
Gets a collection of DataCollectionRuleAssociationResources in the ArmClient. MockingTo mock this method, please mock GetDataCollectionRuleAssociations(ResourceIdentifier) instead. |
GetDataCollectionRuleAsync(ResourceGroupResource, String, CancellationToken) |
Returns the specified data collection rule.
|
GetDataCollectionRuleResource(ArmClient, ResourceIdentifier) |
Gets an object representing a DataCollectionRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DataCollectionRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataCollectionRuleResource(ResourceIdentifier) instead. |
GetDataCollectionRules(ResourceGroupResource) |
Gets a collection of DataCollectionRuleResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataCollectionRules() instead. |
GetDataCollectionRules(SubscriptionResource, CancellationToken) |
Lists all data collection rules in the specified subscription.
|
GetDataCollectionRulesAsync(SubscriptionResource, CancellationToken) |
Lists all data collection rules in the specified subscription.
|
GetDiagnosticSetting(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the active diagnostic settings for the specified resource.
|
GetDiagnosticSettingAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the active diagnostic settings for the specified resource.
|
GetDiagnosticSettingResource(ArmClient, ResourceIdentifier) |
Gets an object representing a DiagnosticSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a DiagnosticSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDiagnosticSettingResource(ResourceIdentifier) instead. |
GetDiagnosticSettings(ArmClient, ResourceIdentifier) |
Gets a collection of DiagnosticSettingResources in the ArmClient. MockingTo mock this method, please mock GetDiagnosticSettings(ResourceIdentifier) instead. |
GetDiagnosticSettingsCategories(ArmClient, ResourceIdentifier) |
Gets a collection of DiagnosticSettingsCategoryResources in the ArmClient. MockingTo mock this method, please mock GetDiagnosticSettingsCategories(ResourceIdentifier) instead. |
GetDiagnosticSettingsCategory(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the diagnostic settings category for the specified resource.
|
GetDiagnosticSettingsCategoryAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the diagnostic settings category for the specified resource.
|
GetDiagnosticSettingsCategoryResource(ArmClient, ResourceIdentifier) |
Gets an object representing a DiagnosticSettingsCategoryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a DiagnosticSettingsCategoryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDiagnosticSettingsCategoryResource(ResourceIdentifier) instead. |
GetEventCategories(TenantResource, CancellationToken) |
Get the list of available event categories supported in the Activity Logs Service.<br>The current list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
|
GetEventCategoriesAsync(TenantResource, CancellationToken) |
Get the list of available event categories supported in the Activity Logs Service.<br>The current list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
|
GetLogProfile(SubscriptionResource, String, CancellationToken) |
Gets the log profile.
|
GetLogProfileAsync(SubscriptionResource, String, CancellationToken) |
Gets the log profile.
|
GetLogProfileResource(ArmClient, ResourceIdentifier) |
Gets an object representing a LogProfileResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a LogProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLogProfileResource(ResourceIdentifier) instead. |
GetLogProfiles(SubscriptionResource) |
Gets a collection of LogProfileResources in the SubscriptionResource. MockingTo mock this method, please mock GetLogProfiles() instead. |
GetMetricAlert(ResourceGroupResource, String, CancellationToken) |
Retrieve an alert rule definition.
|
GetMetricAlertAsync(ResourceGroupResource, String, CancellationToken) |
Retrieve an alert rule definition.
|
GetMetricAlertResource(ArmClient, ResourceIdentifier) |
Gets an object representing a MetricAlertResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a MetricAlertResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMetricAlertResource(ResourceIdentifier) instead. |
GetMetricAlerts(ResourceGroupResource) |
Gets a collection of MetricAlertResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMetricAlerts() instead. |
GetMetricAlerts(SubscriptionResource, CancellationToken) |
Retrieve alert rule definitions in a subscription.
|
GetMetricAlertsAsync(SubscriptionResource, CancellationToken) |
Retrieve alert rule definitions in a subscription.
|
GetMonitorMetricBaselines(ArmClient, ResourceIdentifier, ArmResourceGetMonitorMetricBaselinesOptions, CancellationToken) |
Lists the metric baseline values for a resource.
|
GetMonitorMetricBaselinesAsync(ArmClient, ResourceIdentifier, ArmResourceGetMonitorMetricBaselinesOptions, CancellationToken) |
Lists the metric baseline values for a resource.
|
GetMonitorMetricDefinitions(ArmClient, ResourceIdentifier, String, CancellationToken) |
Lists the metric definitions for the resource.
|
GetMonitorMetricDefinitionsAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Lists the metric definitions for the resource.
|
GetMonitorMetricNamespaces(ArmClient, ResourceIdentifier, String, CancellationToken) |
Lists the metric namespaces for the resource.
|
GetMonitorMetricNamespacesAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Lists the metric namespaces for the resource.
|
GetMonitorMetrics(ArmClient, ResourceIdentifier, ArmResourceGetMonitorMetricsOptions, CancellationToken) |
Lists the metric values for a resource.
|
GetMonitorMetrics(SubscriptionResource, SubscriptionResourceGetMonitorMetricsOptions, CancellationToken) |
Lists the metric data for a subscription.
|
GetMonitorMetricsAsync(ArmClient, ResourceIdentifier, ArmResourceGetMonitorMetricsOptions, CancellationToken) |
Lists the metric values for a resource.
|
GetMonitorMetricsAsync(SubscriptionResource, SubscriptionResourceGetMonitorMetricsOptions, CancellationToken) |
Lists the metric data for a subscription.
|
GetMonitorMetricsWithPost(SubscriptionResource, SubscriptionResourceGetMonitorMetricsWithPostOptions, CancellationToken) |
Lists the metric data for a subscription. Parameters can be specified on either query params or the body.
|
GetMonitorMetricsWithPostAsync(SubscriptionResource, SubscriptionResourceGetMonitorMetricsWithPostOptions, CancellationToken) |
Lists the metric data for a subscription. Parameters can be specified on either query params or the body.
|
GetMonitorPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier) |
Gets an object representing a MonitorPrivateEndpointConnectionResource 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 MonitorPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMonitorPrivateEndpointConnectionResource(ResourceIdentifier) instead. |
GetMonitorPrivateLinkResource(ArmClient, ResourceIdentifier) |
Gets an object representing a MonitorPrivateLinkResource 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 MonitorPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMonitorPrivateLinkResource(ResourceIdentifier) instead. |
GetMonitorPrivateLinkScope(ResourceGroupResource, String, CancellationToken) |
Returns a Azure Monitor PrivateLinkScope.
|
GetMonitorPrivateLinkScopeAsync(ResourceGroupResource, String, CancellationToken) |
Returns a Azure Monitor PrivateLinkScope.
|
GetMonitorPrivateLinkScopedResource(ArmClient, ResourceIdentifier) |
Gets an object representing a MonitorPrivateLinkScopedResource 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 MonitorPrivateLinkScopedResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMonitorPrivateLinkScopedResource(ResourceIdentifier) instead. |
GetMonitorPrivateLinkScopeResource(ArmClient, ResourceIdentifier) |
Gets an object representing a MonitorPrivateLinkScopeResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a MonitorPrivateLinkScopeResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMonitorPrivateLinkScopeResource(ResourceIdentifier) instead. |
GetMonitorPrivateLinkScopes(ResourceGroupResource) |
Gets a collection of MonitorPrivateLinkScopeResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMonitorPrivateLinkScopes() instead. |
GetMonitorPrivateLinkScopes(SubscriptionResource, CancellationToken) |
Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.
|
GetMonitorPrivateLinkScopesAsync(SubscriptionResource, CancellationToken) |
Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.
|
GetMonitorWorkspaceResource(ArmClient, ResourceIdentifier) |
Gets an object representing a MonitorWorkspaceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a MonitorWorkspaceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMonitorWorkspaceResource(ResourceIdentifier) instead. |
GetMonitorWorkspaceResource(ResourceGroupResource, String, CancellationToken) |
Returns the specific Azure Monitor workspace
|
GetMonitorWorkspaceResourceAsync(ResourceGroupResource, String, CancellationToken) |
Returns the specific Azure Monitor workspace
|
GetMonitorWorkspaceResources(ResourceGroupResource) |
Gets a collection of MonitorWorkspaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMonitorWorkspaceResources() instead. |
GetMonitorWorkspaceResources(SubscriptionResource, CancellationToken) |
Lists all workspaces in the specified subscription
|
GetMonitorWorkspaceResourcesAsync(SubscriptionResource, CancellationToken) |
Lists all workspaces in the specified subscription
|
GetPipelineGroup(ResourceGroupResource, String, CancellationToken) |
Returns the specific pipeline group instance.
|
GetPipelineGroupAsync(ResourceGroupResource, String, CancellationToken) |
Returns the specific pipeline group instance.
|
GetPipelineGroupResource(ArmClient, ResourceIdentifier) |
Gets an object representing a PipelineGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a PipelineGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPipelineGroupResource(ResourceIdentifier) instead. |
GetPipelineGroups(ResourceGroupResource) |
Gets a collection of PipelineGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetPipelineGroups() instead. |
GetPipelineGroups(SubscriptionResource, CancellationToken) |
Lists all workspaces in the specified subscription
|
GetPipelineGroupsAsync(SubscriptionResource, CancellationToken) |
Lists all workspaces in the specified subscription
|
GetPrivateLinkScopeOperationStatus(ResourceGroupResource, String, CancellationToken) |
Get the status of an azure asynchronous operation associated with a private link scope operation.
|
GetPrivateLinkScopeOperationStatusAsync(ResourceGroupResource, String, CancellationToken) |
Get the status of an azure asynchronous operation associated with a private link scope operation.
|
GetScheduledQueryRule(ResourceGroupResource, String, CancellationToken) |
Retrieve an scheduled query rule definition.
|
GetScheduledQueryRuleAsync(ResourceGroupResource, String, CancellationToken) |
Retrieve an scheduled query rule definition.
|
GetScheduledQueryRuleResource(ArmClient, ResourceIdentifier) |
Gets an object representing a ScheduledQueryRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ScheduledQueryRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetScheduledQueryRuleResource(ResourceIdentifier) instead. |
GetScheduledQueryRules(ResourceGroupResource) |
Gets a collection of ScheduledQueryRuleResources in the ResourceGroupResource. MockingTo mock this method, please mock GetScheduledQueryRules() instead. |
GetScheduledQueryRules(SubscriptionResource, CancellationToken) |
Retrieve a scheduled query rule definitions in a subscription.
|
GetScheduledQueryRulesAsync(SubscriptionResource, CancellationToken) |
Retrieve a scheduled query rule definitions in a subscription.
|
GetTenantActivityLogs(TenantResource, String, String, CancellationToken) |
Gets the Activity Logs for the Tenant.<br>Everything that is applicable to the API to get the Activity Logs for the subscription is applicable to this API (the parameters, $filter, etc.).<br>One thing to point out here is that this API does not retrieve the logs at the individual subscription of the tenant but only surfaces the logs that were generated at the tenant level.
|
GetTenantActivityLogsAsync(TenantResource, String, String, CancellationToken) |
Gets the Activity Logs for the Tenant.<br>Everything that is applicable to the API to get the Activity Logs for the subscription is applicable to this API (the parameters, $filter, etc.).<br>One thing to point out here is that this API does not retrieve the logs at the individual subscription of the tenant but only surfaces the logs that were generated at the tenant level.
|
GetVmInsightsOnboardingStatus(ArmClient, ResourceIdentifier) |
Gets an object representing a VmInsightsOnboardingStatusResource along with the instance operations that can be performed on it in the ArmClient. MockingTo mock this method, please mock GetVmInsightsOnboardingStatus(ResourceIdentifier) instead. |
GetVmInsightsOnboardingStatusResource(ArmClient, ResourceIdentifier) |
Gets an object representing a VmInsightsOnboardingStatusResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a VmInsightsOnboardingStatusResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVmInsightsOnboardingStatusResource(ResourceIdentifier) instead. |
Applies to
Azure SDK for .NET