Az.Monitor

This topic displays help topics for the Azure Insights Cmdlets.

Monitor

Add-AzLogProfile

Creates a new activity log profile. This profile is used to either archive the activity log to an Azure storage account or stream it to an Azure event hub in the same subscription.

Add-AzMetricAlertRule

Adds or updates a claasic metric-based alert rule (already retired on public cloud). To create a new metric alert rule, use the Add-AzMetricAlertRuleV2 cmdlet.

Add-AzMetricAlertRuleV2

Adds or updates a V2 (non-classic) metric-based alert rule.

Add-AzWebtestAlertRule

Adds or updates a classic webtest alert rule (already retired on public cloud). To create a new webtest alert rule, use the Add-AzMetricAlertRuleV2 cmdlet, passing a criteria object for webtest (created via the New-AzMetricAlertRuleV2Criteria cmdlet with a "-WebTest" criteria type).

Enable-AzActionGroupReceiver

Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.

Get-AzActionGroup

Get an action group.

Get-AzActivityLog

Retrieve Activity Log events.

Get-AzActivityLogAlert

Get an Activity Log Alert rule.

Get-AzAlertHistory

Gets the history of classic alert rules.

Get-AzAlertRule

Gets classic alert rules.

Get-AzAutoscaleHistory

Gets the Autoscale history.

Get-AzAutoscalePredictiveMetric

get predictive autoscale metric future data

Get-AzAutoscaleSetting

Gets an autoscale setting

Get-AzDataCollectionEndpoint

Returns the specified data collection endpoint.

Get-AzDataCollectionRule

Returns the specified data collection rule.

Get-AzDataCollectionRuleAssociation

Returns the specified association.

Get-AzDiagnosticSetting

Gets the active diagnostic settings for the specified resource.

Get-AzDiagnosticSettingCategory

Gets the diagnostic settings category for the specified resource.

Get-AzEventCategory

Get the list of available event categories supported in the Activity Logs Service. The current list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.

Get-AzInsightsPrivateLinkScope

Get private link scope

Get-AzInsightsPrivateLinkScopedResource

Get for private link scoped resource

Get-AzLogProfile

Gets a log profile.

Get-AzMetric

Gets the metric values of a resource.

Get-AzMetricAlertRuleV2

Gets V2 (non-classic) metric alert rules

Get-AzMetricDefinition

Gets metric definitions.

Get-AzMetricsBatch

Lists the metric values for multiple resources.

Get-AzMonitorWorkspace

Returns the specific Azure Monitor workspace

Get-AzScheduledQueryRule

Retrieve an scheduled query rule definition.

Get-AzSubscriptionDiagnosticSetting

Gets the active subscription diagnostic settings for the specified resource.

New-AzActionGroup

Create a new action group or update an existing one.

New-AzActionGroupArmRoleReceiverObject

Create an in-memory object for ArmRoleReceiver.

New-AzActionGroupAutomationRunbookReceiverObject

Create an in-memory object for AutomationRunbookReceiver.

New-AzActionGroupAzureAppPushReceiverObject

Create an in-memory object for AzureAppPushReceiver.

New-AzActionGroupAzureFunctionReceiverObject

Create an in-memory object for AzureFunctionReceiver.

New-AzActionGroupEmailReceiverObject

Create an in-memory object for EmailReceiver.

New-AzActionGroupEventHubReceiverObject

Create an in-memory object for EventHubReceiver.

New-AzActionGroupItsmReceiverObject

Create an in-memory object for ItsmReceiver.

New-AzActionGroupLogicAppReceiverObject

Create an in-memory object for LogicAppReceiver.

New-AzActionGroupSmsReceiverObject

Create an in-memory object for SmsReceiver.

New-AzActionGroupVoiceReceiverObject

Create an in-memory object for VoiceReceiver.

New-AzActionGroupWebhookReceiverObject

Create an in-memory object for WebhookReceiver.

New-AzActivityLogAlert

Create a new Activity Log Alert rule or update an existing one.

New-AzActivityLogAlertActionGroupObject

Create an in-memory object for ActionGroup.

New-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject

Create an in-memory object for AlertRuleAnyOfOrLeafCondition.

New-AzActivityLogAlertAlertRuleLeafConditionObject

Create an in-memory object for AlertRuleLeafCondition.

New-AzAlertRuleEmail

Creates an email action for an alert rule.

New-AzAlertRuleWebhook

Creates an alert rule webhook.

New-AzAutoscaleNotificationObject

Create an in-memory object for AutoscaleNotification.

New-AzAutoscaleProfileObject

Create an in-memory object for AutoscaleProfile.

New-AzAutoscaleScaleRuleMetricDimensionObject

Create an in-memory object for ScaleRuleMetricDimension.

New-AzAutoscaleScaleRuleObject

Create an in-memory object for ScaleRule.

New-AzAutoscaleSetting

Creates or updates an autoscale setting.

New-AzAutoscaleWebhookNotificationObject

Create an in-memory object for WebhookNotification.

New-AzDataCollectionEndpoint

Create a data collection endpoint.

New-AzDataCollectionRule

Create a data collection rule.

New-AzDataCollectionRuleAssociation

Create an association.

New-AzDataFlowObject

Create an in-memory object for DataFlow.

New-AzDiagnosticSetting

Creates or updates diagnostic settings for the specified resource.

New-AzDiagnosticSettingLogSettingsObject

Create an in-memory object for LogSettings.

New-AzDiagnosticSettingMetricSettingsObject

Create an in-memory object for MetricSettings.

New-AzDiagnosticSettingSubscriptionLogSettingsObject

Create an in-memory object for SubscriptionLogSettings.

New-AzEventHubDestinationObject

Create an in-memory object for EventHubDestination.

New-AzEventHubDirectDestinationObject

Create an in-memory object for EventHubDirectDestination.

New-AzExtensionDataSourceObject

Create an in-memory object for ExtensionDataSource.

New-AzIisLogsDataSourceObject

Create an in-memory object for IisLogsDataSource.

New-AzInsightsPrivateLinkScope

create private link scope

New-AzInsightsPrivateLinkScopedResource

create for private link scoped resource

New-AzLogAnalyticsDestinationObject

Create an in-memory object for LogAnalyticsDestination.

New-AzLogFilesDataSourceObject

Create an in-memory object for LogFilesDataSource.

New-AzMetricAlertRuleV2Criteria

Creates a local criteria object that can be used to create a new metric alert

New-AzMetricAlertRuleV2DimensionSelection

Creates a local dimension selection object that can be used to construct a metric alert criteria.

New-AzMetricFilter

Creates a metric dimension filter that can be used to query metrics.

New-AzMonitoringAccountDestinationObject

Create an in-memory object for MonitoringAccountDestination.

New-AzMonitorWorkspace

Create or update a workspace

New-AzPerfCounterDataSourceObject

Create an in-memory object for PerfCounterDataSource.

New-AzPlatformTelemetryDataSourceObject

Create an in-memory object for PlatformTelemetryDataSource.

New-AzPrometheusForwarderDataSourceObject

Create an in-memory object for PrometheusForwarderDataSource.

New-AzScheduledQueryRule

Creates or updates a scheduled query rule.

New-AzScheduledQueryRuleConditionObject

Create an in-memory object for Condition.

New-AzScheduledQueryRuleDimensionObject

Create an in-memory object for Dimension.

New-AzStorageBlobDestinationObject

Create an in-memory object for StorageBlobDestination.

New-AzStorageTableDestinationObject

Create an in-memory object for StorageTableDestination.

New-AzSubscriptionDiagnosticSetting

Creates or updates subscription diagnostic settings for the specified resource.

New-AzSyslogDataSourceObject

Create an in-memory object for SyslogDataSource.

New-AzWindowsEventLogDataSourceObject

Create an in-memory object for WindowsEventLogDataSource.

New-AzWindowsFirewallLogsDataSourceObject

Create an in-memory object for WindowsFirewallLogsDataSource.

Remove-AzActionGroup

Delete an action group.

Remove-AzActivityLogAlert

Delete an Activity Log Alert rule.

Remove-AzAlertRule

Removes an alert rule.

Remove-AzAutoscaleSetting

Deletes and autoscale setting

Remove-AzDataCollectionEndpoint

Deletes a data collection endpoint.

Remove-AzDataCollectionRule

Deletes a data collection rule.

Remove-AzDataCollectionRuleAssociation

Deletes an association.

Remove-AzDiagnosticSetting

Deletes existing diagnostic settings for the specified resource.

Remove-AzInsightsPrivateLinkScope

delete private link scope

Remove-AzInsightsPrivateLinkScopedResource

delete for private link scoped resource

Remove-AzLogProfile

Removes a log profile.

Remove-AzMetricAlertRuleV2

Removes a V2 (non-classic) metric alert rule.

Remove-AzMonitorWorkspace

Delete a workspace

Remove-AzScheduledQueryRule

Deletes a scheduled query rule.

Remove-AzSubscriptionDiagnosticSetting

Deletes existing subscription diagnostic settings for the specified resource.

Test-AzActionGroup

Send test notifications to a set of provided receivers

Update-AzActionGroup

Update a new action group or update an existing one.

Update-AzActivityLogAlert

Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.

Update-AzAutoscaleSetting

Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.

Update-AzDataCollectionEndpoint

Update part of a data collection endpoint.

Update-AzDataCollectionRule

Update a data collection rule.

Update-AzDataCollectionRuleAssociation

Update an association.

Update-AzInsightsPrivateLinkScope

Update for private link scope

Update-AzMonitorWorkspace

Updates part of a workspace

Update-AzScheduledQueryRule

Update a scheduled query rule.