2016-03-04 05:14:55 -05:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
2016-03-10 20:46:22 -05:00
|
|
|
// Licensed under the MIT License. See the LICENSE file in builder/azure for license information.
|
2016-03-04 05:14:55 -05:00
|
|
|
|
|
|
|
package arm
|
|
|
|
|
|
|
|
// The intent of these types to facilitate interchange with Azure in the
|
|
|
|
// appropriate JSON format. A sample format is below. Each parameter listed
|
|
|
|
// below corresponds to a parameter defined in the template.
|
|
|
|
//
|
|
|
|
// {
|
|
|
|
// "storageAccountName": {
|
|
|
|
// "value" : "my_storage_account_name"
|
|
|
|
// },
|
|
|
|
// "adminUserName" : {
|
|
|
|
// "value": "admin"
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
type TemplateParameter struct {
|
|
|
|
Value string `json:"value"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type TemplateParameters struct {
|
|
|
|
AdminUsername *TemplateParameter `json:"adminUsername,omitempty"`
|
|
|
|
AdminPassword *TemplateParameter `json:"adminPassword,omitempty"`
|
|
|
|
DnsNameForPublicIP *TemplateParameter `json:"dnsNameForPublicIP,omitempty"`
|
|
|
|
ImageOffer *TemplateParameter `json:"imageOffer,omitempty"`
|
|
|
|
ImagePublisher *TemplateParameter `json:"imagePublisher,omitempty"`
|
|
|
|
ImageSku *TemplateParameter `json:"imageSku,omitempty"`
|
|
|
|
OSDiskName *TemplateParameter `json:"osDiskName,omitempty"`
|
|
|
|
SshAuthorizedKey *TemplateParameter `json:"sshAuthorizedKey,omitempty"`
|
|
|
|
StorageAccountName *TemplateParameter `json:"storageAccountName,omitempty"`
|
|
|
|
VMSize *TemplateParameter `json:"vmSize,omitempty"`
|
|
|
|
VMName *TemplateParameter `json:"vmName,omitempty"`
|
|
|
|
}
|