forked from MicrosoftDocs/azure-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37938 from mattbriggs/mdb_PowerShell2018_4020_update
Update Docs for PowerShell update April 20
- Loading branch information
Showing
23 changed files
with
735 additions
and
1,196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-24.4 KB
...dia/active-directory-enterprise-app-role-management/tutorial_app_properties.PNG
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,12 @@ author: brenduns | |
manager: femila | ||
editor: '' | ||
|
||
ms.assetid: | ||
ms.service: azure-stack | ||
ms.topic: article | ||
ms.date: 04/06/2018 | ||
ms.date: 05/08/2018 | ||
ms.author: brenduns | ||
ms.reviewer: anajod | ||
keywords: | ||
ms.reviewer: kivenkat | ||
|
||
--- | ||
|
||
# Make virtual machine scale sets available in Azure Stack | ||
|
@@ -35,14 +34,15 @@ On Azure Stack, virtual machine scale sets don't support auto-scale. You can add | |
Install and configured PowerShell for Azure Stack and the Azure Stack tools. See [Get up and running with PowerShell in Azure Stack](azure-stack-powershell-configure-quickstart.md). | ||
|
||
After you install the Azure Stack tools, make sure you import the following PowerShell module (path relative to the .\ComputeAdmin folder in the AzureStack-Tools-master folder): | ||
|
||
````PowerShell | ||
Import-Module .\AzureStack.ComputeAdmin.psm1 | ||
```` | ||
|
||
* **Operating system image** | ||
|
||
If you haven’t added an operating system image to your Azure Stack Marketplace, see [Add the Windows Server 2016 VM image to the Azure Stack marketplace](azure-stack-add-default-image.md). | ||
|
||
For Linux support, download Ubuntu Server 16.04 and add it using ```Add-AzsVMImage``` with the following parameters: ```-publisher "Canonical" -offer "UbuntuServer" -sku "16.04-LTS"```. | ||
For Linux support, download Ubuntu Server 16.04 and add it using ```Add-AzsPlatformImage``` with the following parameters: ```-publisher "Canonical" -offer "UbuntuServer" -sku "16.04-LTS"```. | ||
|
||
|
||
## Add the virtual machine scale set | ||
|
@@ -51,7 +51,7 @@ Edit the following PowerShell script for your environment and then run it to add | |
|
||
``$User`` is the account you use to connect the administrator portal. For example, [email protected]. | ||
|
||
``` | ||
````PowerShell | ||
$Arm = "https://adminmanagement.local.azurestack.external" | ||
$Location = "local" | ||
|
@@ -69,7 +69,7 @@ $AzsEnvContext = Add-AzureRmAccount -Environment $AzsEnv -Credential $Creds | |
Select-AzureRmSubscription -SubscriptionName "Default Provider Subscription" | ||
Add-AzsVMSSGalleryItem -Location $Location | ||
``` | ||
```` | ||
|
||
## Update images in a virtual machine scale set | ||
After you create a virtual machine scale set, users can update images in the scale set without the scale set having to be recreated. The process to update an image depends on the following scenarios: | ||
|
@@ -80,12 +80,14 @@ After you create a virtual machine scale set, users can update images in the sca | |
|
||
The following is an example of specifying *latest*: | ||
|
||
"imageReference": { | ||
"publisher": "[parameters('osImagePublisher')]", | ||
"offer": "[parameters('osImageOffer')]", | ||
"sku": "[parameters('osImageSku')]", | ||
"version": "latest" | ||
} | ||
```Json | ||
"imageReference": { | ||
"publisher": "[parameters('osImagePublisher')]", | ||
"offer": "[parameters('osImageOffer')]", | ||
"sku": "[parameters('osImageSku')]", | ||
"version": "latest" | ||
} | ||
``` | ||
|
||
Before scale up can use a new image, you must download that new image: | ||
|
||
|
@@ -107,12 +109,12 @@ For more information, see [operating system disks and images](.\user\azure-stack | |
|
||
To remove a virtual machine scale set gallery item, run the following PowerShell command: | ||
|
||
```PowerShell | ||
Remove-AzsVMSSGalleryItem | ||
```` | ||
|
||
> [!NOTE] | ||
> The gallery item may not be removed immediately. You night need to refresh the portal several times before the item shows as removed from the Marketplace. | ||
|
||
|
||
## Next steps | ||
[Frequently asked questions for Azure Stack](azure-stack-faq.md) | ||
|
||
[Frequently asked questions for Azure Stack](azure-stack-faq.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.