formatVersion: 1 includes template specifications for inputs and resources. It automatically applies to all basic cloud templates.
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: Blueprtint-Windows-Sample-v1\content.yaml
formatVersion: 2
inputs:
inOperatingSystem:
populateRequiredOnNonDefaultProperties: true
type: string
title: Operating System
description: Operating System
default: Windows Server 2025 GUI
oneOf:
- title: Windows Server 2019 GUI
const: Windows Server 2019 GUI
- title: Windows Server 2019 Core
const: Windows Server 2019 Core
- title: Windows Server 2022 GUI
const: Windows Server 2022 GUI
- title: Windows Server 2022 Core
const: Windows Server 2022 Core
- title: Windows Server 2025 GUI
const: Windows Server 2025 GUI
- title: Windows Server 2025 Core
const: Windows Server 2025 Core
inNetwork:
populateRequiredOnNonDefaultProperties: true
type: string
title: Network
description: Network
oneOf:
- title: Windows Server - Application Servers
const: VMS-40GbE-Windows
inFlavor:
populateRequiredOnNonDefaultProperties: true
type: string
title: Flavor
description: Flavor
default: Extra Small
oneOf:
- title: Extra Small ( vCPU 1, RAM 2 GB )
const: Extra Small
- title: Small ( vCPU 2, RAM 4 GB )
const: Small
- title: Medium ( vCPU 4, RAM 8GB )
const: Medium
- title: Large ( vCPU 8, RAM 32 GB )
const: Large
- title: Extra Large ( vCPU 16, RAM 64 GB )
const: Extra Large
inStorageTier:
populateRequiredOnNonDefaultProperties: true
type: string
title: Storage Tier
description: Storage Tier
default: Silver
oneOf:
- title: Platinum
const: Platinum
- title: Gold
const: Gold
- title: Silver
const: Silver
- title: Bronze
const: Bronze
inStorageType:
populateRequiredOnNonDefaultProperties: true
type: string
title: Storage Type
description: Storage Type
default: Single-Site
oneOf:
- title: Single Site ( Non Replicated )
const: Single-Site
- title: Multi Site ( Replicated - Asynchronous )
const: Multi-Site-Asynchronous
- title: Multi Site ( Replicated - Synchronous )
const: Multi-Site-Synchronous
inAdminUsername:
populateRequiredOnNonDefaultProperties: true
type: string
title: Admin Username
description: Admin Username
minLength: 8
maxLength: 15
pattern: ^[a-zA-Z]+$
inAdminPassword:
populateRequiredOnNonDefaultProperties: true
type: string
title: Admin Password
description: Admin Password
minLength: 8
maxLength: 15
encrypted: true
writeOnly: true
pattern: ^[a-zA-Z]+$
resources:
Cloud_vSphere_Network_1:
type: Cloud.vSphere.Network
properties:
networkType: existing
name: ${input.inNetwork}
constraints:
- tag: OperatingSystemType:Windows
Cloud_vSphere_Machine_1:
type: Cloud.vSphere.Machine
allocatePerInstance: true
createTimeout: 1h
deleteTimeout: 1h
updateTimeout: 1h
preventDelete: true
ignoreChanges: true
properties:
image: ${input.inOperatingSystem}
flavor: ${input.inFlavor}
constraints:
- tag: OperatingSystemType:Windows:hard
remoteAccess:
authentication: usernamePassword
username: ${input.inAdminUsername}
password: ${input.inAdminPassword}
networks:
- network: ${resource.Cloud_vSphere_Network_1.name}
deviceIndex: 0
assignment: static
assignIPv6Address: false
assignPublicIpAddress: false
cloneStrategy: FULL
customizationSpec: Windows-Server
folderName: Windows-Servers
storage:
maxDiskCapacityInGB: 2048
bootDiskCapacityInGB: 128
constraints:
- tag: StorageTier:${input.inStorageTier}:hard
- tag: StorageType:${input.inStorageType}:hard
snapshotLimit: 2
Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
