Cloud Tech
  • Azure API Versions

    Get list of Azure RM API versions

     ###### Resource API version play an important role in ARM template. Below script help to get list of available API versions for various providers. if you remove if statement, script will list the API versions for all the provider.
       $listProviderNameSpace=Get-AzureRmResourceProvider -ListAvailable
       foreach($provideNameSpace in $listProviderNameSpace.ProviderNamespace)
        {
           if(($provideNameSpace -eq "microsoft.compute") -or($provideNameSpace -eq "microsoft.storage") -or ($provideNameSpace -eq "microsoft.network"))
            {
                Write-Host $provideNameSpace
                $providerList = (Get-AzureRmResourceProvider -ProviderNamespace $provideNameSpace).ResourceTypes
                foreach($providerType in $providerList.ResourceTypeName)
                {     
                    Write-Host $providerType
                    ((Get-AzureRmResourceProvider -ProviderNamespace $provideNameSpace).ResourceTypes | Where-Object ResourceTypeName -eq $providerType).ApiVersions
                }
            }
       }

    Please do let me know your thoughts/ suggestions/ question in disqus section.


    Read More »

  • VSTS 101

    VSTS is now known as Team Service is SaaS version of Team Foundation Server. More or less it’s provide all the functionality which is available in TFS with some additional functionality which support Cloud based deployment.

    Read More »