azure

package module
v0.14.1-dev Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

README

Build Status

Microsoft Azure Resource Provider

Pulumi is in private beta. This package may not work unless you are already participating. Please visit pulumi.com to register for access.

The Microsoft Azure provider for Pulumi lets you use Azure resources in your cloud programs.

This package is meant for use with the Pulumi CLI. Please visit docs.pulumi.com for installation instructions.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoName

func AutoName(name string, options AutoNameOptions) *tfbridge.SchemaInfo

AutoName creates custom schema for a Terraform name property which is automatically populated from the resource's URN name, and tranformed based on the provided options.

func FromName

func FromName(options AutoNameOptions) func(res *tfbridge.PulumiResource) (interface{}, error)

FromName automatically propagates a resource's URN onto the resulting default info.

func Provider

func Provider() tfbridge.ProviderInfo

Provider returns additional overlaid schema and metadata associated with the azure package.

Types

type AutoNameOptions

type AutoNameOptions struct {
	// A separator between name and random portions of the
	Separator string
	// Maximum length of the generated name
	Maxlen int
	// Number of characters of random hex digits to add to the name
	Randlen int
	// A transform to apply to the name prior to adding random characters
	Transform func(string) string
	// Force the name to be lowercase prior to adding random characters
	ForceLowercase bool
}

AutoNameOptions provides parameters to AutoName to control how names will be generated

Jump to

Keyboard shortcuts

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