arm

package
v10.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 6 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).

func FixupSDKMismatch

func FixupSDKMismatch(template map[string]interface{}) error

FixupSDKMismatch adds missing configurations and objects into the generated template

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