File tree Expand file tree Collapse file tree 1 file changed +4
-40
lines changed
articles/azure-arc/servers Expand file tree Collapse file tree 1 file changed +4
-40
lines changed Original file line number Diff line number Diff line change @@ -16,93 +16,58 @@ This article provides instructions to programmatically provision and manage Wind
16
16
17
17
To provision a license, execute the following commands:
18
18
19
- ``` json
19
+ ```
20
20
PUT
21
-
22
21
https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/RESOURCE_GROUP_NAME/providers/Microsoft.HybridCompute/licenses/LICENSE_NAME?api-version=2023-06-20-preview
23
-
24
22
{
25
-
26
23
"location": "ENTER-REGION",
27
-
28
24
"properties": {
29
-
30
25
"licenseDetails": {
31
-
32
26
"state": "Activated",
33
-
34
27
"target": "Windows Server 2012",
35
-
36
28
"Edition": "Datacenter",
37
-
38
29
"Type": "pCore",
39
-
40
30
"Processors": 12
41
-
42
31
}
43
-
44
32
}
45
-
46
33
}
47
34
```
48
35
49
36
## Link a license
50
37
51
38
To link a license, execute the following commands:
52
39
53
- ``` json
40
+ ```
54
41
PUT
55
-
56
42
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
-
58
43
{
59
-
60
44
“location”: “SAME_REGION_AS_MACHINE”,
61
-
62
45
“properties”: {
63
-
64
46
“esuProfile”: {
65
-
66
47
“assignedLicense”: “RESOURCE_ID_OF_LICENSE”
67
-
68
48
}
69
-
70
49
}
71
-
72
50
}
73
51
```
74
52
75
53
## Modify a license
76
54
77
55
To modify a license, execute the following commands:
78
56
79
- ``` json
57
+ ```
80
58
PUT/PATCH
81
-
82
59
https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/RESOURCE_GROUP_NAME/providers/Microsoft.HybridCompute/licenses/LICENSE_NAME?api-version=2023-06-20-preview
83
-
84
60
{
85
-
86
61
"location": "ENTER-REGION",
87
-
88
62
"properties": {
89
-
90
63
"licenseDetails": {
91
-
92
64
"state": "Activated",
93
-
94
65
"target": "Windows Server 2012",
95
-
96
66
"Edition": "Datacenter",
97
-
98
67
"Type": "pCore",
99
-
100
68
"Processors": 12
101
-
102
69
}
103
-
104
70
}
105
-
106
71
}
107
72
```
108
73
@@ -114,8 +79,7 @@ https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/RESOUR
114
79
115
80
To delete a license, execute the following commands:
116
81
117
- ``` json
82
+ ```
118
83
DELETE
119
-
120
84
https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/RESOURCE_GROUP_NAME/providers/Microsoft.HybridCompute/licenses/LICENSE_NAME?api-version=2023-06-20-preview
121
85
```
You can’t perform that action at this time.
0 commit comments