tfutil

package
v0.0.0-...-2cd9adc Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Copyright (c) 2019 Stefaan Coussement MIT License

more info: https://github.com/stefaanc/terraform-provider-windows

Index

Constants

This section is empty.

Variables

View Source
var DataSourceXLifecycleSchema schema.Schema = schema.Schema{
	Type:     schema.TypeList,
	MaxItems: 1,
	Optional: true,
	Computed: true,
	Elem: &schema.Resource{
		Schema: map[string]*schema.Schema{

			"ignore_error_if_not_exists": &schema.Schema{
				Type:     schema.TypeBool,
				Optional: true,
				Default:  false,
			},

			"exists": &schema.Schema{
				Type:     schema.TypeBool,
				Computed: true,
			},
		},
	},
}
View Source
var ResourceXLifecycleSchema schema.Schema = schema.Schema{
	Type:     schema.TypeList,
	MaxItems: 1,
	Optional: true,
	Computed: true,
	Elem: &schema.Resource{
		Schema: map[string]*schema.Schema{

			"import_if_exists": &schema.Schema{
				Type:     schema.TypeBool,
				Optional: true,
				Default:  false,
			},

			"imported": &schema.Schema{
				Type:     schema.TypeBool,
				Computed: true,
			},

			"destroy_if_imported": &schema.Schema{
				Type:     schema.TypeBool,
				Optional: true,
				Default:  false,
			},
		},
	},
}

Functions

func ExpandListOfResources

func ExpandListOfResources(d map[string]interface{}, name string) (l []map[string]interface{})

func ExpandListOfStrings

func ExpandListOfStrings(d map[string]interface{}, name string) (l []string)

func ExpandResource

func ExpandResource(d map[string]interface{}, name string) (m map[string]interface{})

func ExpandSetOfResources

func ExpandSetOfResources(d map[string]interface{}, name string) (l []map[string]interface{})

func GetListOfResources

func GetListOfResources(d *schema.ResourceData, name string) (l []map[string]interface{})

func GetListOfStrings

func GetListOfStrings(d *schema.ResourceData, name string) (l []string)

func GetResource

func GetResource(d *schema.ResourceData, name string) (m map[string]interface{})

func GetSetOfResources

func GetSetOfResources(d *schema.ResourceData, name string) (l []map[string]interface{})

func StateAcceptEmptyString

func StateAcceptEmptyString() schema.SchemaStateFunc

func StateAll

func StateAll(funcs ...schema.SchemaStateFunc) schema.SchemaStateFunc

func StateToCamel

func StateToCamel() schema.SchemaStateFunc

func StateToLower

func StateToLower() schema.SchemaStateFunc

func StateToUpper

func StateToUpper() schema.SchemaStateFunc

func ValidateSingleMAC

func ValidateSingleMAC() schema.SchemaValidateFunc

func ValidateUUID

func ValidateUUID() schema.SchemaValidateFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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