|
| 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 | +
|
0 commit comments