Skip to content

viananth/AzureStack-Tools

 
 

Repository files navigation

Azure Stack Development Kit Version

These tools are meant for use with Azure Stack Development Kit.

Important Notification 5/8/2018

The following Tools will be deprecated and removed from the repository by 5/31/2018. The new Azure Stack Admin PowerShell Module 1.3.0 will replace those.

  • ComputeAdmin
  • Identity\New-AzsAdGraphServicePrincipal
  • Infrastructure
  • ServiceAdmin
  • CanaryValidator

Tools for using Azure and Azure Stack

To use these tools, obtain Azure Stack compatible Azure PowerShell module. Unless you've installed from other sources, one way to do it is to obtain from public package repositories as follows. Note that both of these could still be used to operate against Azure as well as Azure Stack, but may lack some of the latest Azure features.

For PowerShell, install the following:

Install-Module -Name 'AzureRm.Bootstrapper'
Install-AzureRmProfile -profile '2017-03-09-profile' -Force
Install-Module -Name AzureStack -RequiredVersion 1.3.0

Obtain the tools by cloning the git repository.

git clone https://github.com/Azure/AzureStack-Tools.git --recursive
cd AzureStack-Tools

Otherwise download the tools as follows:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
invoke-webrequest https://github.com/Azure/AzureStack-Tools/archive/master.zip -OutFile master.zip
expand-archive master.zip -DestinationPath . -Force
cd AzureStack-Tools-master

Instructions below are relative to the root of the repo.

Constrains Azure subscription to the capabilities available in the Azure Stack.

  • Apply Azure Stack policy to Azure subscriptions and resource groups

Helps prepare for Azure Stack deployment.

  • Prepare to Deploy (boot from VHD)
  • Prepare to Redeploy (boot back to original/base OS)

Connect to an Azure Stack instance from your personal computer/laptop.

  • Connect via VPN to an Azure Stack installation

Create and manage identity related objects and configurations for Azure Stack

  • Manage plans and subscriptions in Azure Stack.
  • Add default (unlimited) plans and quotas so that tenants can create new subscriptions
  • Manage compute (VM) service in Azure Stack.
  • Add VM Image to the Azure Stack Marketplace
  • Manage Azure Stack Infrastructure
  • Get Infrastructure Roles
  • Get Infrastructure Role Instances
  • Start Infrastructure Role Instance
  • Stop Infrastructure Role Instance
  • Restart Infrastructure Role Instance
  • Get Storage Capacity
  • Get Storage Shares
  • Get Scale Unit
  • Get Scale Unit Node
  • Get Gateway Pool
  • Get Gateway
  • Get SLB MUX
  • Get IP Pool
  • Add IP Pool
  • Get MAC Address Pool
  • Get Logical network
  • Get Alert
  • Close Alert
  • Get Update Region Summary
  • Get Update
  • Apply Update
  • Get Update run

Validate Azure ARM Template Capabilities

  • resources - Types, Location, Apiversion
  • Compute Capabilities - extensions, images, sizes
  • Storage Capabilities - skus

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

About

Scripts and tools that help customers use Azure and Azure Stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%