arm

package
v5.2.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixupAPIVersions

func FixupAPIVersions(template map[string]interface{}, versions map[string]string) error

FixupAPIVersions inserts an apiVersion field into the ARM template for each resource (the field is missing from the internal Azure type).

func FixupDepends

func FixupDepends(subscriptionID, resourceGroup string, template map[string]interface{})

FixupDepends inserts a dependsOn field into the ARM template for each resource that needs it (the field is missing from the internal Azure type).

Types

type Template

type Template struct {
	Schema         string        `json:"$schema,omitempty"`
	ContentVersion string        `json:"contentVersion,omitempty"`
	Parameters     struct{}      `json:"parameters,omitempty"`
	Variables      struct{}      `json:"variables,omitempty"`
	Resources      []interface{} `json:"resources,omitempty"`
	Outputs        struct{}      `json:"outputs,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL