Skip to content

Commit 43a5b18

Browse files
authored
Merge pull request #180606 from cynthn/vmapp-portal
adding version to portal - https://github.com/MicrosoftDocs/azure-docs/issues/84148
2 parents 8ee8e8d + 222afac commit 43a5b18

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

articles/virtual-machines/vm-applications-how-to.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.custom:
1313

1414
# Create and deploy VM Applications (preview)
1515

16-
VM Applications are a resource type in Azure Compute Gallery (formerly known as Shared Image Gallery) that simplifies management,sharing and global distribution of applications for your virtual machines.
16+
VM Applications are a resource type in Azure Compute Gallery (formerly known as Shared Image Gallery) that simplifies management, sharing and global distribution of applications for your virtual machines.
1717

1818

1919
> [!IMPORTANT]
@@ -48,7 +48,9 @@ if ($remainder -ne 0){
4848
}
4949
```
5050

51-
You need to make sure the files are publicly available, or you will need the SAS URI for the files in your storage account. You can use [Storage Explorer](../vs-azure-tools-storage-explorer-blobs.md) to quickly created a SAS URI if you don't already have one.
51+
You need to make sure the files are publicly available, or you will need the SAS URI for the files in your storage account. You can use [Storage Explorer](../vs-azure-tools-storage-explorer-blobs.md) to quickly create a SAS URI if you don't already have one.
52+
53+
If you are using PowerShell, you need to be using version 3.11.0 of the Az.Storage module.
5254

5355
## Create the VM application
5456

@@ -70,6 +72,17 @@ Choose an option below for creating your VM application definition and version:
7072
1. When you are done, select **Review + create**.
7173
1. When validation completes, select **Create** to have the definition deployed.
7274
1. Once the deployment is complete, select **Go to resource**.
75+
1. On the page for the application, select **Create a VM application version**. The **Create a VM Application Version** page will open.
76+
1. Enter a version number like 1.0.0.
77+
1. Select the region where you have uploaded your application package.
78+
1. Under **Source application package**, select **Browse**. Select the storage account, then the container where your package is located. Select the package from the list and then click **Select** when you are done.
79+
1. Type in the **Install script**. You can also provide the **Uninstall script** and **Update script**. See the [Overview](vm-applications.md#command-interpreter) for information on how to create the scripts.
80+
1. If you have a default configuration file uploaded to a storage account, you can select it in **Default configuration**.
81+
1. Select **Exclude from latest** if you do not want this version to appear as the latest version when you create a VM.
82+
1. For **End of life date**, choose a date in the future to track when this version should be retired. It is not deleted or removed automatically, it is only for your own tracking.
83+
1. To replicate this version to other regions, select the **Replication** tab and add more regions and make changes to the number of replicas per region. The original region where your version was created must be in the list and cannot be removed.
84+
1. When you are done making changes, select **Review + create** at the bottom of the page.
85+
1. When validation shows as passed, select **Create** to deploy your VM application version.
7386

7487

7588
Now you can create a VM and deploy the VM application to it using the portal. Just create the VM as usual, and under the **Advanced** tab, choose **Select a VM application to install**.
@@ -84,7 +97,7 @@ If you have more than one VM application to install, you can set the install ord
8497

8598
### [CLI](#tab/cli)
8699

87-
VM applications requires [Azure CLI](/cli/azure/install-azure-cli) version 2.30.0 or later.
100+
VM applications require [Azure CLI](/cli/azure/install-azure-cli) version 2.30.0 or later.
88101

89102
Crate the VM application definition using [az sig gallery-application create](/cli/azure/sig/gallery-application#az_sig_gallery_application_create). In this example we are creating a VM application definition named *myApp* for Linux-based VMs.
90103

0 commit comments

Comments
 (0)