Skip to content

Commit

Permalink
Move Monitor to joyer/metrics-removed
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-powershell-bot committed Apr 24, 2024
1 parent 10f0278 commit 37a153e
Show file tree
Hide file tree
Showing 381 changed files with 44,669 additions and 703 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

<#
.Synopsis
Create a new action group or Create an existing one.
Create a new action group or update an existing one.
.Description
Create a new action group or Create an existing one.
Create a new action group or update an existing one.
.Example
$email1 = New-AzActionGroupEmailReceiverObject -EmailAddress [email protected] -Name user1
$sms1 = New-AzActionGroupSmsReceiverObject -CountryCode '{countrycode}' -Name user2 -PhoneNumber '{phonenumber}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ end {

<#
.Synopsis
Create a new action group or Create an existing one.
Create a new action group or update an existing one.
.Description
Create a new action group or Create an existing one.
Create a new action group or update an existing one.
.Example
$email1 = New-AzActionGroupEmailReceiverObject -EmailAddress [email protected] -Name user1
$sms1 = New-AzActionGroupSmsReceiverObject -CountryCode '{countrycode}' -Name user2 -PhoneNumber '{phonenumber}'
Expand Down Expand Up @@ -1056,9 +1056,9 @@ end {

<#
.Synopsis
Update a new action group or Update an existing one.
Update a new action group or update an existing one.
.Description
Update a new action group or Update an existing one.
Update a new action group or update an existing one.
.Example
$enventhub = New-AzActionGroupEventHubReceiverObject -EventHubName "testEventHub" -EventHubNameSpace "actiongrouptest" -Name "sample eventhub" -SubscriptionId '{subid}'
Update-AzActionGroup -Name actiongroup1 -ResourceGroupName monitor-action -EventHubReceiver $enventhub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

<#
.Synopsis
Update a new action group or Update an existing one.
Update a new action group or update an existing one.
.Description
Update a new action group or Update an existing one.
Update a new action group or update an existing one.
.Example
$enventhub = New-AzActionGroupEventHubReceiverObject -EventHubName "testEventHub" -EventHubNameSpace "actiongrouptest" -Name "sample eventhub" -SubscriptionId '{subid}'
Update-AzActionGroup -Name actiongroup1 -ResourceGroupName monitor-action -EventHubReceiver $enventhub
Expand Down
12 changes: 6 additions & 6 deletions src/Monitor/ActionGroup.Autorest/generated/api/ActionGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ public partial class ActionGroup
}
}

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <param name="subscriptionId">The ID of the target subscription.</param>
/// <param name="resourceGroupName">The name of the resource group. The name is case insensitive.</param>
/// <param name="actionGroupName">The name of the action group.</param>
Expand Down Expand Up @@ -694,7 +694,7 @@ public partial class ActionGroup
}
}

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <param name="viaIdentity"></param>
/// <param name="body">The action group to create or use for the update.</param>
/// <param name="onOk">a delegate that is called when the remote service returns 200 (OK).</param>
Expand Down Expand Up @@ -754,7 +754,7 @@ public partial class ActionGroup
}
}

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <param name="viaIdentity"></param>
/// <param name="body">The action group to create or use for the update.</param>
/// <param name="eventListener">an <see cref="Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.IEventListener" /> instance that will receive events.</param>
Expand Down Expand Up @@ -811,7 +811,7 @@ public partial class ActionGroup
}
}

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <param name="subscriptionId">The ID of the target subscription.</param>
/// <param name="resourceGroupName">The name of the resource group. The name is case insensitive.</param>
/// <param name="actionGroupName">The name of the action group.</param>
Expand Down Expand Up @@ -860,7 +860,7 @@ public partial class ActionGroup
}
}

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <param name="subscriptionId">The ID of the target subscription.</param>
/// <param name="resourceGroupName">The name of the resource group. The name is case insensitive.</param>
/// <param name="actionGroupName">The name of the action group.</param>
Expand Down Expand Up @@ -906,7 +906,7 @@ public partial class ActionGroup
}
}

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <param name="subscriptionId">The ID of the target subscription.</param>
/// <param name="resourceGroupName">The name of the resource group. The name is case insensitive.</param>
/// <param name="actionGroupName">The name of the action group.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;

/// <summary>Create a new action group or Create an existing one.</summary>
/// <summary>Create a new action group or update an existing one.</summary>
/// <remarks>
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzActionGroup_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or Create an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
public partial class NewAzActionGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;

/// <summary>Create a new action group or Create an existing one.</summary>
/// <summary>Create a new action group or update an existing one.</summary>
/// <remarks>
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzActionGroup_CreateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or Create an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
public partial class NewAzActionGroup_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;

/// <summary>Create a new action group or Create an existing one.</summary>
/// <summary>Create a new action group or update an existing one.</summary>
/// <remarks>
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzActionGroup_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or Create an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.NotSuggestDefaultParameterSet]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;

/// <summary>Create a new action group or Create an existing one.</summary>
/// <summary>Create a new action group or update an existing one.</summary>
/// <remarks>
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzActionGroup_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or Create an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.NotSuggestDefaultParameterSet]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <remarks>
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// </remarks>
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzActionGroup_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
public partial class SetAzActionGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <remarks>
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// </remarks>
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzActionGroup_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.NotSuggestDefaultParameterSet]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <remarks>
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// </remarks>
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzActionGroup_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.NotSuggestDefaultParameterSet]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <remarks>
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzActionGroup_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
public partial class UpdateAzActionGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.IEventListener,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;

/// <summary>Update a new action group or Update an existing one.</summary>
/// <summary>Update a new action group or update an existing one.</summary>
/// <remarks>
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzActionGroup_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
public partial class UpdateAzActionGroup_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.IEventListener,
Expand Down
Loading

0 comments on commit 37a153e

Please sign in to comment.