File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
src/Security/Security/help Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -31,24 +31,11 @@ Sets the pricing of Azure Security Center tier for a scope.
31
31
32
32
### Example 1
33
33
``` powershell
34
- PS C:\> Set-AzSecurityPricing -Name "default" -PricingTier "Standard"
35
- Id Name PricingTier
36
- -- ---- -----------
37
- /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/pricings/default default Standard
34
+ PS C:\> Set-AzSecurityPricing -Name "virtualmachines" -PricingTier "Standard"
38
35
```
39
36
40
37
Sets the subscription Azure Security Center pricing tier to "Standard"
41
38
42
- ### Example 2
43
- ``` powershell
44
- PS C:\> Set-AzSecurityPricing -Name "myService1" -ResourceGroupName "myService1" -PricingTier "Standard"
45
-
46
- Id
47
- --
48
- /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/resourceGroups/myService1/providers/Microsoft.Security/pricings/...
49
- ```
50
-
51
- Sets the "myService1" resource group Azure Security Center pricing tier to "Standard"
52
39
53
40
## PARAMETERS
54
41
You can’t perform that action at this time.
0 commit comments