Skip to content

Commit cf5c0d9

Browse files
committed
SME edits
1 parent ecb93b2 commit cf5c0d9

File tree

1 file changed

+4
-40
lines changed

1 file changed

+4
-40
lines changed

articles/azure-arc/servers/api-extended-security-updates.md

Lines changed: 4 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -16,93 +16,58 @@ This article provides instructions to programmatically provision and manage Wind
1616

1717
To provision a license, execute the following commands:
1818

19-
```json
19+
```
2020
PUT
21-
2221
https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/RESOURCE_GROUP_NAME/providers/Microsoft.HybridCompute/licenses/LICENSE_NAME?api-version=2023-06-20-preview
23-
2422
{ 
25-
2623
    "location": "ENTER-REGION", 
27-
2824
    "properties": { 
29-
3025
        "licenseDetails": { 
31-
3226
            "state": "Activated", 
33-
3427
            "target": "Windows Server 2012", 
35-
3628
            "Edition": "Datacenter", 
37-
3829
            "Type": "pCore", 
39-
4030
            "Processors": 12 
41-
4231
        } 
43-
4432
    } 
45-
4633
}
4734
```
4835

4936
## Link a license
5037

5138
To link a license, execute the following commands:
5239

53-
```json
40+
```
5441
PUT
55-
5642
https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/RESOURCE_GROUP_NAME/providers/Microsoft.HybridCompute/machines/MACHINE_NAME/licenseProfiles/default?api-version=2023-06-20-preview
57-
5843
{
59-
6044
“location”: “SAME_REGION_AS_MACHINE”,
61-
6245
“properties”: {
63-
6446
“esuProfile”: {
65-
6647
“assignedLicense”: “RESOURCE_ID_OF_LICENSE”
67-
6848
}
69-
7049
}
71-
7250
}
7351
```
7452

7553
## Modify a license
7654

7755
To modify a license, execute the following commands:
7856

79-
```json
57+
```
8058
PUT/PATCH
81-
8259
https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/RESOURCE_GROUP_NAME/providers/Microsoft.HybridCompute/licenses/LICENSE_NAME?api-version=2023-06-20-preview
83-
8460
{ 
85-
8661
    "location": "ENTER-REGION", 
87-
8862
    "properties": { 
89-
9063
        "licenseDetails": { 
91-
9264
            "state": "Activated", 
93-
9465
            "target": "Windows Server 2012", 
95-
9666
            "Edition": "Datacenter", 
97-
9867
            "Type": "pCore", 
99-
10068
            "Processors": 12 
101-
10269
        } 
103-
10470
    } 
105-
10671
}
10772
```
10873

@@ -114,8 +79,7 @@ https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/RESOUR
11479

11580
To delete a license, execute the following commands:
11681

117-
```json
82+
```
11883
DELETE
119-
12084
https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/RESOURCE_GROUP_NAME/providers/Microsoft.HybridCompute/licenses/LICENSE_NAME?api-version=2023-06-20-preview
12185
```

0 commit comments

Comments
 (0)