PowerShell ile ExpressRoute circuit olusturulmasi

Son guncellemeyle birlikte ExpressRoute icin ARM destegi de gelmis bulunuyor. Bu yuzden hizlica circuit olusturma islemini PowerShell ile inceleyelim.

  • Ilk olarak Azure Subscription baglantisi gerceklestirilir.

Login-AzureRmAccount
Select-AzureRmSubscription -SubscriptionId “<sub-id>”

  • Ardindan ARM resource group olusturmamiz gerekiyor.

$rg = “yourRG”
$rglocation = “West Europe”
New-AzureRmResourceGroup -Name $rg -Location $rglocation

  • Ardindan circuit olusturulabilir.

$CircuitName = “MyCkt”
$ServiceProviderName = “ER-ServiceProvider”
$PeeringLocation = “London”
$Bandwidth = 50

New-AzureRmExpressRouteCircuit -Name $CircuitName -ResourceGroupName $rg -Location $rglocation -SkuTier Premium -SkuFamily UnlimitedData -ServiceProviderName $ServiceProviderName -PeeringLocation $PeeringLocation -BandwidthInMbps $Bandwidth

 

Leave a Reply

Your email address will not be published. Required fields are marked *

48 − = 40