Skip to content

Commit 2114609

Browse files
authored
Merge pull request #197186 from mathapli/master
Added Publisher Name and change SLES_STANDARD
2 parents db43d36 + c169d07 commit 2114609

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/virtual-machines/linux/azure-hybrid-benefit-byos-linux.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ To start using the benefit for SUSE:
8181

8282
| License Type | Software Updates | Allowed VMs|
8383
|---|---|---|
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|
8585
| SLES_SAP | Installs SLES SAP repositories into your virtual machine. | SLES SAP BYOS VMs, SLES custom on-prem image VMs|
8686
| SLES_HPC | Installs SLES High Performance Compute related repositories into your virtual machine. | SLES HPC BYOS VMs, SLES custom on-prem image VMs|
8787

@@ -140,18 +140,18 @@ you can use the `az vm update` command to update existing license type on runnin
140140
## Enable and disable the benefit for SLES
141141
142142
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`.
144144
145145
### CLI example to enable the benefit for SLES
146146
1. Install the Azure Hybrid Benefit extension on running VM using the portal or via Azure CLI using the command below:
147147
```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
149149
```
150150
1. Once, the extension is installed successfully, change the license type based on your requirements:
151151
152152
```azurecli
153153
# 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
155155
156156
# This will enable the benefit to fetch software updates for SLES SAP repositories
157157
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
182182
1. You can view the Azure Hybrid Benefit status of a VM by using the Azure CLI or by using Azure Instance Metadata Service.
183183
184184
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:
185-
`RHEL_BASE`, `RHEL_EUS`, `RHEL_BASESAPAPPS`, `RHEL_SAPHA`, `RHEL_BASESAPAPPS`, `RHEL_BASESAPHA`, `SLES_STANDARD`, `SLES_SAP`, `SLES_HPC`.
185+
`RHEL_BASE`, `RHEL_EUS`, `RHEL_BASESAPAPPS`, `RHEL_SAPHA`, `RHEL_BASESAPAPPS`, `RHEL_BASESAPHA`, `SLES`, `SLES_SAP`, `SLES_HPC`.
186186
187187
```azurecli
188188
az vm get-instance-view -g MyResourceGroup -n MyVm
@@ -211,7 +211,7 @@ A: On using AHB for BYOS VMs, you will essentially convert your bring your own s
211211
| RHEL_BASESAPAPPS | [RHEL for SAP Business Applications](https://azure.microsoft.com/pricing/details/virtual-machines/rhel-sap-business/) |
212212
| RHEL_BASESAPHA | [RHEL for SAP with HA](https://azure.microsoft.com/pricing/details/virtual-machines/rhel-sap-ha/) |
213213
| RHEL_EUS | [Red Hat Enterprise Linux](https://azure.microsoft.com/pricing/details/virtual-machines/red-hat/) |
214-
| SLES_ STANDARD | [SLES Standard](https://azure.microsoft.com/pricing/details/virtual-machines/sles-standard/) |
214+
| SLES | [SLES Standard](https://azure.microsoft.com/pricing/details/virtual-machines/sles-standard/) |
215215
| SLES_SAP | [SLES SAP](https://azure.microsoft.com/pricing/details/virtual-machines/sles-sap/) |
216216
| SLES_HPC | [SLES HPC](https://azure.microsoft.com/pricing/details/virtual-machines/sles-hpc-standard/) |
217217

0 commit comments

Comments
 (0)