Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris
This template deploys Azure Cloud Shell resources into an Azure virtual network.
Templat Azure Resource Manager ini dibuat oleh anggota komunitas dan bukan oleh Microsoft. Setiap templat Resource Manager dilisensikan kepada Anda berdasarkan perjanjian lisensi oleh pemiliknya, bukan Microsoft. Microsoft tidak bertanggung jawab atas templat Resource Manager yang disediakan dan dilisensikan oleh anggota komunitas dan tidak menyaring keamanan, kompatibilitas, atau performa. Templat Community Resource Manager tidak didukung di bawah program atau layanan dukungan Microsoft apa pun, dan tersedia SEBAGAIMANA ADANYA tanpa jaminan apa pun.
Parameter
Nama Parameter | Deskripsi |
---|---|
existingVNETName | Name of the existing VNET to inject Cloud Shell into. |
relayNamespaceName | Name of Azure Relay Namespace. |
azureContainerInstanceOID | Object Id of Azure Container Instance Service Principal. We have to grant this permission to create hybrid connections in the Azure Relay you specify. To get it: Get-AzADServicePrincipal -DisplayNameBeginsWith 'Azure Container Instance' |
containerSubnetName | Name of the subnet to use for cloud shell containers. |
containerSubnetAddressPrefix | Address space of the subnet to add for cloud shell. e.g. 10.0.1.0/26 |
relaySubnetName | Name of the subnet to use for private link of relay namespace. |
relaySubnetAddressPrefix | Address space of the subnet to add for relay. e.g. 10.0.2.0/26 |
storageSubnetName | Name of the subnet to use for storage account. |
storageSubnetAddressPrefix | Address space of the subnet to add for storage. e.g. 10.0.3.0/26 |
privateEndpointName | Name of Private Endpoint for Azure Relay. |
tagName | Name of the resource tag. |
location | Location for all resources. |
Menggunakan templat
Windows PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentMenginstal dan mengonfigurasi Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/cloud-shell-vnet/azuredeploy.json
Baris perintah
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentMenginstal dan Mengonfigurasi Azure Cross-Platform Command-Line Interface
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/cloud-shell-vnet/azuredeploy.json