Las plantillas de Inicio rápido de Azure están disponibles actualmente en inglés.
This template deploys Azure Cloud Shell resources into an Azure virtual network.
Esta plantilla de Azure Resource Manager (ARM) la creó un miembro de la comunidad, no Microsoft. Su propietario (no Microsoft) le permite usar las plantillas de ARM con arreglo a un contrato de licencia. Microsoft no se responsabiliza de ninguna plantilla de ARM que le proporcionen los miembros de la comunidad (o cuya licencia le otorguen) en cuanto a su seguridad, compatibilidad ni rendimiento. Las plantillas de ARM de la comunidad no reciben ningún tipo de soporte en ningún servicio ni programa de soporte de Microsoft. Dichas plantillas se proporcionan TAL CUAL, sin garantía de ningún tipo.
Parámetros
Nombre del parámetro | Descripción |
---|---|
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. |
Uso de la plantilla
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 deploymentInstalar y configurar PowerShell de Azure
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/cloud-shell-vnet/azuredeploy.json
Línea de comandos
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 deploymentInstalación y configuración de la interfaz de línea de comandos multiplataforma de Azure
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