You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/azure-hybrid-benefit-byos-linux.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ To start using the benefit for SUSE:
81
81
82
82
| License Type | Software Updates | Allowed VMs|
83
83
|---|---|---|
84
-
|SLES_STANDARD| Installs SLES standard repositories into your virtual machine. | SLES BYOS VMs, SLES custom on-prem image VMs|
84
+
|SLES| Installs SLES standard repositories into your virtual machine. | SLES BYOS VMs, SLES custom on-prem image VMs|
85
85
| SLES_SAP | Installs SLES SAP repositories into your virtual machine. | SLES SAP BYOS VMs, SLES custom on-prem image VMs|
86
86
| SLES_HPC | Installs SLES High Performance Compute related repositories into your virtual machine. | SLES HPC BYOS VMs, SLES custom on-prem image VMs|
87
87
@@ -140,18 +140,18 @@ you can use the `az vm update` command to update existing license type on runnin
140
140
## Enable and disable the benefit for SLES
141
141
142
142
You can install the `AHBForSLES` extension to install the extension. After successfully installing the extension,
143
-
you can use the `az vm update` command to update existing license type on running VMs. For SLES VMs, run the command and set `--license-type` parameter to one of the following: `SLES_STANDARD`, `SLES_SAP` or `SLES_HPC`.
143
+
you can use the `az vm update` command to update existing license type on running VMs. For SLES VMs, run the command and set `--license-type` parameter to one of the following: `SLES`, `SLES_SAP` or `SLES_HPC`.
144
144
145
145
### CLI example to enable the benefit for SLES
146
146
1. Install the Azure Hybrid Benefit extension on running VM using the portal or via Azure CLI using the command below:
147
147
```azurecli
148
-
az vm extension set -n AHBForSLES --publisher publisherName --vm-name myVMName --resource-group myResourceGroup
148
+
az vm extension set -n AHBForSLES --publisher SUSE.AzureHybridBenefit --vm-name myVMName --resource-group myResourceGroup
149
149
```
150
150
1. Once, the extension is installed successfully, change the license type based on your requirements:
151
151
152
152
```azurecli
153
153
# This will enable the benefit to fetch software updates for SLES STANDARD repositories
154
-
az vm update -g myResourceGroup -n myVmName --license-type SLES_STANDARD
154
+
az vm update -g myResourceGroup -n myVmName --license-type SLES
155
155
156
156
# This will enable the benefit to fetch software updates for SLES SAP repositories
157
157
az vm update -g myResourceGroup -n myVmName --license-type SLES_SAP
@@ -182,7 +182,7 @@ To check the status of Azure Hybrid Benefit for BYOS VM status
182
182
1. You can view the Azure Hybrid Benefit status of a VM by using the Azure CLI or by using Azure Instance Metadata Service.
183
183
184
184
You can use the below command for this purpose. Look for a `licenseType` field in the response. If the `licenseType` field exists and the value is one of the below, your VM has the benefit enabled:
0 commit comments