This commit is contained in:
Michael Gira 2024-11-14 10:35:16 -08:00
Родитель 66faa3a3a1
Коммит 3a84bb4ad2
2 изменённых файлов: 23 добавлений и 18 удалений

Просмотреть файл

@ -5,64 +5,67 @@
"_generator": {
"name": "bicep",
"version": "0.31.34.60546",
"templateHash": "13155077260503502571"
"templateHash": "7193932620031991611"
}
},
"parameters": {
"vnetName": {
"type": "string",
"metadata": {
"description": "Name of the VNET to inject Cloud Shell into"
"description": "Name of the VNET to inject Cloud Shell into."
}
},
"vnetAddressPrefix": {
"type": "string",
"metadata": {
"description": "Address space of the subnet to add"
"description": "Address space of the subnet to add."
}
},
"defaultSubnetName": {
"type": "string",
"defaultValue": "default",
"metadata": {
"description": "Name of the subnet to use for cloud shell containers"
"description": "Name of the default subnet."
}
},
"defaultSubnetAddressPrefix": {
"type": "string",
"metadata": {
"description": "Address space of the subnet to add"
"description": "Address space of the default subnet."
}
},
"containerSubnetName": {
"type": "string",
"defaultValue": "cloudshellsubnet",
"metadata": {
"description": "Name of the subnet to use for cloud shell containers"
"description": "Name of the subnet to use for Cloud Shell containers."
}
},
"containerSubnetAddressPrefix": {
"type": "string",
"metadata": {
"description": "Address space of the subnet to add"
"description": "Address space of the subnet to add for Cloud Shell."
}
},
"storageSubnetName": {
"type": "string",
"defaultValue": "storagesubnet",
"metadata": {
"description": "Name of the subnet to use for storage account"
"description": "Name of the subnet to use for storage account."
}
},
"storageSubnetAddressPrefix": {
"type": "string",
"metadata": {
"description": "Address space of the subnet to add for storage subnet"
"description": "Address space of the subnet to add for storage."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]"
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources."
}
}
},
"resources": [

Просмотреть файл

@ -1,26 +1,28 @@
@description('Name of the VNET to inject Cloud Shell into')
@description('Name of the VNET to inject Cloud Shell into.')
param vnetName string
@description('Address space of the subnet to add')
@description('Address space of the subnet to add.')
param vnetAddressPrefix string
@description('Name of the subnet to use for cloud shell containers')
@description('Name of the default subnet.')
param defaultSubnetName string = 'default'
@description('Address space of the subnet to add')
@description('Address space of the default subnet.')
param defaultSubnetAddressPrefix string
@description('Name of the subnet to use for cloud shell containers')
@description('Name of the subnet to use for Cloud Shell containers.')
param containerSubnetName string = 'cloudshellsubnet'
@description('Address space of the subnet to add')
@description('Address space of the subnet to add for Cloud Shell.')
param containerSubnetAddressPrefix string
@description('Name of the subnet to use for storage account')
@description('Name of the subnet to use for storage account.')
param storageSubnetName string = 'storagesubnet'
@description('Address space of the subnet to add for storage subnet')
@description('Address space of the subnet to add for storage.')
param storageSubnetAddressPrefix string
@description('Location for all resources.')
param location string = resourceGroup().location
resource vnet 'Microsoft.Network/virtualNetworks@2021-08-01' = {