Versions in this module Expand all Collapse all v0 v0.12.2 Jan 20, 2017 v0.12.1 Dec 15, 2016 v0.12.0 Nov 15, 2016 v0.11.0 Oct 21, 2016 Changes in this version + const BasicTemplate + const KeyVault + type AccessPolicies struct + ObjectId *string + Permissions *Permissions + TenantId *string + type Parameters struct + DefaultValue *string + Type *string + type Permissions struct + Keys *[]string + Secrets *[]string + type Properties struct + AccessPolicies *[]AccessPolicies + AddressSpace *network.AddressSpace + DNSSettings *network.PublicIPAddressDNSSettings + DiagnosticsProfile *compute.DiagnosticsProfile + EnabledForDeployment *string + EnabledForTemplateDeployment *string + HardwareProfile *compute.HardwareProfile + IPConfigurations *[]network.IPConfiguration + NetworkProfile *compute.NetworkProfile + OsProfile *compute.OSProfile + PublicIPAllocatedMethod *network.IPAllocationMethod + Sku *Sku + StorageProfile *compute.StorageProfile + Subnets *[]network.Subnet + TenantId *string + Value *string + type Resource struct + ApiVersion *string + DependsOn *[]string + Location *string + Name *string + Properties *Properties + Resources *[]Resource + Tags *map[string]*string + Type *string + type Sku struct + Family *string + Name *string + type Template struct + ContentVersion *string + Parameters *map[string]Parameters + Resources *[]Resource + Schema *string + Variables *map[string]string + type TemplateBuilder struct + func NewTemplateBuilder(template string) (*TemplateBuilder, error) + func (s *TemplateBuilder) BuildLinux(sshAuthorizedKey string) error + func (s *TemplateBuilder) BuildWindows(keyVaultName, winRMCertificateUrl string) error + func (s *TemplateBuilder) SetCustomData(customData string) error + func (s *TemplateBuilder) SetImageUrl(imageUrl string, osType compute.OperatingSystemTypes) error + func (s *TemplateBuilder) SetMarketPlaceImage(publisher, offer, sku, version string) error + func (s *TemplateBuilder) SetOSDiskSizeGB(diskSizeGB int32) error + func (s *TemplateBuilder) SetTags(tags *map[string]*string) error + func (s *TemplateBuilder) SetVirtualNetwork(virtualNetworkResourceGroup, virtualNetworkName, subnetName string) error + func (s *TemplateBuilder) ToJSON() (*string, error) + type TemplateParameter struct + Value string + type TemplateParameters struct + AdminPassword *TemplateParameter + AdminUsername *TemplateParameter + DnsNameForPublicIP *TemplateParameter + KeyVaultName *TemplateParameter + KeyVaultSecretValue *TemplateParameter + OSDiskName *TemplateParameter + ObjectId *TemplateParameter + StorageAccountBlobEndpoint *TemplateParameter + TenantId *TemplateParameter + VMName *TemplateParameter + VMSize *TemplateParameter