Horje
Powershell script to add app to VNET integration Code Example
Powershell script to add app to VNET integration
$subscription_id = "<Subscription_ID>"
$NetworkName = "<Network_Name>"
$location = "<Region>"
$netrgname = "<Resource_Group_VNet_is_in>"
$AppServiceName = "<AppService_Name>"
 $props = @{
      "vnetResourceId" = "/subscriptions/$subscription_id/resourcegroups/$netrgname/providers/Microsoft.ClassicNetwork/virtualNetworks/$NetworkName";
      "certThumbprint"= "<Client_cert_thumbprint>";
      "certBlob"= "<Base64_Cert_Data>";
      "routes" = $null;
      }

New-AzureRMResource -ResourceName "$AppServiceName/$AppServiceName-to-$NetworkName" -Location $location  -ResourceGroupName MarcusWebsites -ResourceType Microsoft.Web/sites/virtualNetworkConnections -PropertyObject $props -ApiVersion "2015-08-01" -force 




Shell

Related
how to scan for raspberry pi on network windows Code Example how to scan for raspberry pi on network windows Code Example
how to apply a svn patch git Code Example how to apply a svn patch git Code Example
install ripgrep windows Code Example install ripgrep windows Code Example
helm 3 prometheus operator Code Example helm 3 prometheus operator Code Example
dd mac status Code Example dd mac status Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
20