0.1.117 • Published 1 year ago

@azbake/ingredient-azure-vm v0.1.117

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Changelogs

Overview

The Azure VM ingredient is a plugin for bake. When included in a recipe, this will create a Windows Azure VM or a Linux Azure VM.

Windows Usage

name: windows-test
shortName: wintest
version: 1.0.0
ingredients:
  - "@azbake/ingredient-azure-vm@0~"
resourceGroup: true
rgOverride: test
parallelRegions: false
recipe:
  windows-test:
    properties:
      type: "@azbake/ingredient-azure-vm"
      parameters:
        vmName: "testvm"
        adminUsername: "user1"
        adminPassword: "password1!"
        subnetName: "default"
        storageAccountName: "sawindowsvm"
        osType: "windows"

Linux Usage

name: linux-test
shortName: lxtest
version: 1.0.0
ingredients:
  - "@azbake/ingredient-azure-vm@0~"
resourceGroup: true
rgOverride: test
parallelRegions: false
recipe:
  linux-test:
    properties:
      type: "@azbake/ingredient-azure-vm"
      parameters:
        vmName: "testvm"
        adminUsername: "user1"
        adminKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCnbJVCnaUoHap+jK+Wfvno6ahfu4npy5xixAt6uBYFkdpMprTxWHxh8ocdRhsCnx7dR05s5EVZV48kB9z2sCob+J4iEWi9nTvlQ8cqmrWGEOFisCHwgvPSFWY15sz+nOd8ry43xi7K5jrZ/NyIxz9+r4ZREHuMF1wPed5siik8jwL/ingY0kyTqfMDxe588/TnW2PkcUFHgJpBNqe78rBqmB/+7tk+R+UgFJ6RY//Xo+C5T/QfJNylrRdIam0wd0EFG8bg8Qou3S/32PIlW+/HbgauksZcjFE7Ta/yUFa4f8Pt4YJszw0bhyVRCFUPJEz66f1q8L/3en/AMhBLknwh rasquill@MININT-GFPHKM1"
        subnetName: "default"
        storageAccountName: "salinuxvm"
        osType: "linux"

##Windows Properties Set: | property | value | | osType | windows |

Parameters | property | required | description | | -------- | -------- | ----------- | | adminUsername | yes | User name for the Virtual Machine. | | adminPassword | yes | SSH Key for the Virtual Machine | | storageAccountName | yes | Storage Account for the VM | | nicName | yes | Network Interface Name | | subnetName | yes | Subnet name | | vmName | yes | Name for the VM | | virtualNetworkName | yes | Virtual Network Name | | location | no | Location for all resources | | windowsOSVersion | no | Windows OS type to deploy | | vmSize | no | VM Sizing |

##Linux Properties Set: | property | value | | osType | linux |

Parameters: | property | required | description | | -------- | -------- | ----------- | | adminUsername | yes | User name for the Virtual Machine. | | adminKey | yes | SSH Key for the Virtual Machine | | storageAccountName | yes | Storage Account for the VM | | nicName | yes | Network Interface Name | | subnetName | yes | Subnet name | | vmName | yes | Name for the VM | | virtualNetworkName | yes | Virtual Network Name | | ubuntuOSVersion | no | The Ubuntu version for the VM. This will pick a fully patched image of this given Ubuntu version. | | location | no | Location for all resources | | imagePublisher | no | Publisher for the VM Image | | imageOffer | no | Image Offer | | vmSize | no | VM Sizing |

Utilities

Utility classes can be used inside of the bake.yaml file for parameter and source values.

vm class

| function | description | | create_resource_name() | Returns the name created for the Service Bus Namespace when deployed |

Function Details

create_resource_name()

Gets the name created for the App Service Plan when deployed.

...
parameters:
    planName: "[vm.create_resource_name()]"
...
Returns

string

0.1.117

1 year ago

0.1.116

1 year ago

0.1.114

2 years ago

0.1.113

2 years ago

0.1.115

2 years ago

0.1.112

2 years ago

0.1.111

2 years ago

0.1.110

2 years ago

0.1.109

4 years ago

0.1.108

4 years ago

0.1.107

4 years ago

0.1.106

4 years ago

0.1.105

4 years ago

0.1.104

4 years ago

0.1.103

4 years ago

0.1.102

4 years ago

0.1.101

4 years ago

0.1.100

4 years ago

0.1.99

4 years ago

0.1.98

4 years ago

0.1.97

4 years ago

0.1.95

4 years ago

0.1.93

4 years ago

0.1.91

4 years ago

0.1.90

4 years ago

0.1.89

4 years ago

0.1.87

4 years ago

0.1.76

5 years ago

0.1.75

5 years ago

0.1.74

5 years ago

0.1.70

5 years ago

0.1.68

5 years ago

0.1.67

5 years ago

0.1.65

5 years ago

0.1.64

5 years ago

0.1.62

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago