Skip to content

Commit 911dc90

Browse files
authored
Merge pull request #7911 from deathly809/preview
[Azure Stack] Re-Generate Module Help
2 parents 76579c0 + 8888950 commit 911dc90

File tree

3 files changed

+168
-1
lines changed

3 files changed

+168
-1
lines changed

src/StackAdmin/Azs.InfrastructureInsights.Admin/Help/Azs.InfrastructureInsights.Admin.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ Returns a list of each resource's health under a service.
2626
### [Get-AzsRPHealth](Get-AzsRPHealth.md)
2727
Returns a list of each service's health.
2828

29+
### [Repair-AzsAlert](Repair-AzsAlert.md)
30+
Repairs the given alert.
31+
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
---
2+
external help file: Azs.InfrastructureInsights.Admin-help.xml
3+
Module Name: Azs.InfrastructureInsights.Admin
4+
online version:
5+
schema: 2.0.0
6+
---
7+
8+
# Repair-AzsAlert
9+
10+
## SYNOPSIS
11+
Repairs the given alert.
12+
13+
## SYNTAX
14+
15+
### Repair (Default)
16+
```
17+
Repair-AzsAlert -Name <String> [-Location <String>] [-ResourceGroupName <String>] [-Force] [-WhatIf] [-Confirm]
18+
[<CommonParameters>]
19+
```
20+
21+
### InputObject
22+
```
23+
Repair-AzsAlert -InputObject <Alert> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
Repairs the given alert.
28+
29+
## EXAMPLES
30+
31+
### -------------------------- EXAMPLE 1 --------------------------
32+
```
33+
Repair-AzsAlert -Name f2147f3d-42ac-4316-8cbc-f0f9c18888b0
34+
```
35+
36+
Repairs an alert by Name.
37+
38+
### -------------------------- EXAMPLE 2 --------------------------
39+
```
40+
Get-AzsAlert -Name f2147f3d-42ac-4316-8cbc-f0f9c18888b0 | Repair-AzsAlert
41+
```
42+
43+
Repairs an alert through piping.
44+
45+
## PARAMETERS
46+
47+
### -Force
48+
Don't ask for confirmation.
49+
50+
```yaml
51+
Type: SwitchParameter
52+
Parameter Sets: (All)
53+
Aliases:
54+
55+
Required: False
56+
Position: Named
57+
Default value: False
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
62+
### -InputObject
63+
An alert returned from Get-AzsAlert.
64+
65+
```yaml
66+
Type: Alert
67+
Parameter Sets: InputObject
68+
Aliases:
69+
70+
Required: True
71+
Position: Named
72+
Default value: None
73+
Accept pipeline input: True (ByValue)
74+
Accept wildcard characters: False
75+
```
76+
77+
### -Location
78+
Name of the location.
79+
80+
```yaml
81+
Type: String
82+
Parameter Sets: Repair
83+
Aliases:
84+
85+
Required: False
86+
Position: Named
87+
Default value: None
88+
Accept pipeline input: False
89+
Accept wildcard characters: False
90+
```
91+
92+
### -Name
93+
The alert identifier.
94+
95+
```yaml
96+
Type: String
97+
Parameter Sets: Repair
98+
Aliases:
99+
100+
Required: True
101+
Position: Named
102+
Default value: None
103+
Accept pipeline input: False
104+
Accept wildcard characters: False
105+
```
106+
107+
### -ResourceGroupName
108+
Resource group name which the resource resides.
109+
110+
```yaml
111+
Type: String
112+
Parameter Sets: Repair
113+
Aliases:
114+
115+
Required: False
116+
Position: Named
117+
Default value: None
118+
Accept pipeline input: False
119+
Accept wildcard characters: False
120+
```
121+
122+
### -Confirm
123+
Prompts you for confirmation before running the cmdlet.
124+
125+
```yaml
126+
Type: SwitchParameter
127+
Parameter Sets: (All)
128+
Aliases: cf
129+
130+
Required: False
131+
Position: Named
132+
Default value: None
133+
Accept pipeline input: False
134+
Accept wildcard characters: False
135+
```
136+
137+
### -WhatIf
138+
Shows what would happen if the cmdlet runs.
139+
The cmdlet is not run.
140+
141+
```yaml
142+
Type: SwitchParameter
143+
Parameter Sets: (All)
144+
Aliases: wi
145+
146+
Required: False
147+
Position: Named
148+
Default value: None
149+
Accept pipeline input: False
150+
Accept wildcard characters: False
151+
```
152+
153+
### CommonParameters
154+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
155+
156+
## INPUTS
157+
158+
## OUTPUTS
159+
160+
## NOTES
161+
162+
## RELATED LINKS
163+

src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/Azs.Infrastructureinsights.Admin.psd1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ Licensed under the MIT License. See License.txt in the project root for license
7676

7777
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
7878
FunctionsToExport = 'Close-AzsAlert', 'Get-AzsRegionHealth',
79-
'Get-AzsAlert', 'Get-AzsRPHealth', 'Get-AzsRegistrationHealth'
79+
'Get-AzsAlert', 'Get-AzsRPHealth', 'Get-AzsRegistrationHealth',
80+
"Repair-AzsAlert"
8081

8182
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
8283
CmdletsToExport = @()

0 commit comments

Comments
 (0)