File tree Expand file tree Collapse file tree 2 files changed +18
-15
lines changed Expand file tree Collapse file tree 2 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -29,27 +29,28 @@ Refreshes the ingestion key for all monitors linked to the same account associat
2929
3030## EXAMPLES
3131
32- ### Example 1: {{ Add title here }}
32+ ### Example 1: Refresh ingestion key for a NewRelic monitor
3333``` powershell
34- {{ Add code here }}
34+ Update-AzNewRelicMonitorIngestionKey -MonitorName clientParity-Test-1014 -ResourceGroupName vanshjoshi-clientparity-test
3535```
3636
3737``` output
38- {{ Add output here (remove the output block if the example doesn't have an output) }}
38+ True
3939```
4040
41- {{ Add description here }}
41+ Refreshes the ingestion key for all monitors linked to the same account associated to the underlying monitor.
4242
43- ### Example 2: {{ Add title here }}
43+ ### Example 2: Refresh ingestion key using pipeline input
4444``` powershell
45- {{ Add code here }}
45+ Get-AzNewRelicMonitor -Name clientParity-Test-1014 -ResourceGroupName vanshjoshi-clientparity-test | Update-AzNewRelicMonitorIngestionKey
4646```
4747
4848``` output
49- {{ Add output here (remove the output block if the example doesn't have an output) }}
49+ True
5050```
5151
52- {{ Add description here }}
52+ Refreshes the ingestion key using pipeline input from Get-AzNewRelicMonitor cmdlet.
53+
5354
5455## PARAMETERS
5556
Original file line number Diff line number Diff line change @@ -30,26 +30,28 @@ Refreshes the ingestion key for all monitors linked to the same account associat
3030
3131## EXAMPLES
3232
33- ### Example 1: {{ Add title here }}
33+ ### Example 1: Refresh ingestion key for a NewRelic monitor
3434``` powershell
35- {{ Add code here }}
35+ Update-AzNewRelicMonitorIngestionKey -MonitorName clientParity-Test-1014 -ResourceGroupName vanshjoshi-clientparity-test
3636```
3737
3838``` output
39- {{ Add output here (remove the output block if the example doesn't have an output) }}
39+ True
4040```
4141
42- {{ Add description here }}
42+ Refreshes the ingestion key for all monitors linked to the same account associated to the underlying monitor.
4343
44- ### Example 2: {{ Add title here }}
44+ ### Example 2: Refresh ingestion key using pipeline input
4545``` powershell
46- {{ Add code here }}
46+ Get-AzNewRelicMonitor -Name clientParity-Test-1014 -ResourceGroupName vanshjoshi-clientparity-test | Update-AzNewRelicMonitorIngestionKey
4747```
4848
4949``` output
50- {{ Add output here (remove the output block if the example doesn't have an output) }}
50+ True
5151```
5252
53+ Refreshes the ingestion key using pipeline input from Get-AzNewRelicMonitor cmdlet.
54+
5355{{ Add description here }}
5456
5557## PARAMETERS
You can’t perform that action at this time.
0 commit comments