Skip to content

Commit 428604a

Browse files
authored
The API has updated. Examples updated here. (Azure#12027)
1 parent 54851b4 commit 428604a

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/Security/Security/help/Set-AzSecurityPricing.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,11 @@ Sets the pricing of Azure Security Center tier for a scope.
3131

3232
### Example 1
3333
```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"
3835
```
3936

4037
Sets the subscription Azure Security Center pricing tier to "Standard"
4138

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"
5239

5340
## PARAMETERS
5441

0 commit comments

Comments
 (0)