Gezintiyi Atla

The Azure Quickstart templates are currently available in English

BOSH Setup

Bin Xia tarafından
Son güncelleme tarihi: 12.07.2021

This template helps you setup a development environment where you can deploy BOSH and Cloud Foundry.

Bu Azure Resource Manager (ARM) şablonu Microsoft tarafından değil bir topluluk üyesi tarafından oluşturulmuştur. Her bir ARM şablonu size Microsoft tarafından değil, bir lisans sözleşmesi altında sahibi tarafından lisanslanmıştır. Microsoft, topluluk üyeleri tarafından sağlanan ve lisanslanan ARM şablonlarından sorumlu değildir ve güvenlik, uyumluluk ve performans denetimi yapmaz. Topluluk ARM şablonları herhangi bir Microsoft destek programı veya hizmeti altında desteklenmez ve herhangi bir garanti olmaksızın OLDUĞU GİBİ kullanıma sunulur.


Parametre Adı Açıklama
vmName name of the vm, will be used as DNS Name for the Public IP used to access the Virtual Machine
ubuntuOSVersion OS version of Ubuntu
adminUsername User name for the Virtual Machine
sshKeyData Please copy the content of your SSH RSA public key and paste it here. You can use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs.
storageAccountKind Storage Account Kind. Choose v1 for Storage (general purpose v1) and v2 for StorageV2 (general purpose v2)
_artifactsLocation The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated.
_artifactsLocationSasToken The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated.
environment Different environments in Azure. Choose AzureCloud for Global Azure, choose AzureChinaCloud for Azure China Cloud, choose AzureUSGovernment for Azure Government, choose AzureGermanCloud for German cloud.
servicePrincipalType Service principal supports two types: with a password or with a certificate
tenantID Tenant ID
clientID Client ID or application ID
clientSecret Password of the service principal. See
storageAccountKey Access key of the storage account
certificate Base64-encoded Certificate of the service principal. You can run "cat <PATH_TO_YOUR_PEM_CERTIFICATE> | base64 -w 0", and input the result. See
azureStackDomain Azure Stack deployment domain. Please check
azureStackResource Azure Stack Active Directory Service Endpoint Resource ID. Please check
azureStackAuthentication Azure Stack Authentication. Please check
azureStackCARootCertificate Azure Stack CA root certificate, which is base64 encoded. Get the Azure Stack CA root certificate from the Azure Stack operator, run "cat <PATH_TO_YOUR_PEM_CERTIFICATE> | base64 -w 0", and input the result. If not provided, "/var/lib/waagent/Certificates.pem" will be used. Please check
loadBalancerSku The sku of the load balancer to be used. Note: Standard Sku LB is not supported in Azure Stack and Azure China Cloud.
useAvailabilityZones The flag to enable availability zones in cloud config
autoDeployBosh The flag allowing to deploy BOSH director automatically or not
boshVmSize Please check if the region support this VM size For more information about virtual machine sizes, see
boshLogLevel The log level for Bosh
autoDeployCloudFoundry The flag allowing to deploy Cloud Foundry automatically or not
cloudFoundrySystemDomain The Cloud Foundry system domain. If not specified, a domain will be used.
coreUriAzure Core URI used for the endpoints within Azure Cloud
vmSize Size of the VM
location Location for all resources.

Şablonu kullanın


New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri
Azure PowerShell'i yükleme ve yapılandırma

Komut satırı

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 deployment
az group deployment create --resource-group <my-resource-group> --template-uri
Azure Platformlar Arası Komut Satırı Arabirimini Yükleme ve Yapılandırma