Automation Blueprint: Linux Sample v1

by Simon Sparks · 28 January 2026

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-Linux-Sample-v1\content.yaml

formatVersion: 1
inputs:
  inOperatingSystem:
    populateRequiredOnNonDefaultProperties: true
    type: string
    title: Operating System
    description: Operating System
    default: RedHat Enterprise Linux v9.x
    oneOf:
      - title: Ubuntu Server v22.04.x
        const: Ubuntu Server v22.04.x
      - title: Ubuntu Server v24.04.x
        const: Ubuntu Server v24.04.x
      - title: Ubuntu Server v25.04.x
        const: Ubuntu Server v25.04.x
      - title: RedHat Enterprise Linux v8.x
        const: RedHat Enterprise Linux v8.x
      - title: RedHat Enterprise Linux v9.x
        const: RedHat Enterprise Linux v9.x
      - title: RedHat Enterprise Linux v10.x
        const: RedHat Enterprise Linux v10.x
  inNetwork:
    populateRequiredOnNonDefaultProperties: true
    type: string
    title: Network
    description: Network
    oneOf:
      - title: Linux Server - Application Servers
        const: VMS-40GbE-Linux
  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.

You may also like