aci

package
v0.0.0-...-7e849e7 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Child

type Child struct {
	Rn        string             `pulumi:"rn"`
	ClassName string             `pulumi:"class_name"`
	Content   *map[string]string `pulumi:"content,optional"`
}

func (*Child) Annotate

func (c *Child) Annotate(a infer.Annotator)

type Config

type Config struct {
	Url      string `pulumi:"url"`
	Username string `pulumi:"username"`
	Password string `pulumi:"password" provider:"secret"`
	Insecure *bool  `pulumi:"insecure,optional"`
	Retries  *int   `pulumi:"retries,optional"`
	Logging  *bool  `pulumi:"logging,optional"`
	Client   *aci.Client
}

func (*Config) Annotate

func (c *Config) Annotate(a infer.Annotator)

func (*Config) Check

func (c *Config) Check(ctx p.Context, name string, oldInputs, newInputs resource.PropertyMap) (*Config, []p.CheckFailure, error)

workaround for https://github.com/pulumi/pulumi-go-provider/issues/110

func (*Config) Configure

func (c *Config) Configure(ctx p.Context) error

type Rest

type Rest struct{}

This is the type that implements the Rest resource methods.

func (*Rest) Annotate

func (c *Rest) Annotate(a infer.Annotator)

Implementing Annotate lets you provide descriptions and default values for resources and they will be visible in the provider's schema and the generated SDKs.

func (*Rest) Create

func (c *Rest) Create(ctx p.Context, name string, input RestInputs, preview bool) (string, RestOutputs, error)

This is the Create method. This will be run on every Rest resource creation.

func (*Rest) Delete

func (c *Rest) Delete(ctx p.Context, id string, props RestOutputs) error

The Delete method will run when the resource is deleted.

func (*Rest) Diff

func (c *Rest) Diff(ctx p.Context, id string, olds RestOutputs, news RestInputs) (p.DiffResponse, error)

This is the Diff method.

func (*Rest) Read

func (c *Rest) Read(ctx p.Context, id string, input RestInputs, state RestOutputs) (string, RestInputs, RestOutputs, error)

This is the Read method.

func (*Rest) Update

func (c *Rest) Update(ctx p.Context, id string, olds RestOutputs, news RestInputs, preview bool) (RestOutputs, error)

The Update method will be run on every update.

func (*Rest) WireDependencies

func (r *Rest) WireDependencies(f infer.FieldSelector, args *RestInputs, state *RestOutputs)

This naive implementation conveys that every output is derived from its respective inputs.

type RestInputs

type RestInputs struct {
	// The field tags are used to provide metadata on the schema representation.
	// pulumi:"optional" specifies that a field is optional. This must be a pointer.
	// provider:"replaceOnChanges" specifies that the resource will be replaced if the field changes.
	Dn        string             `pulumi:"dn"`
	ClassName string             `pulumi:"class_name"`
	Content   *map[string]string `pulumi:"content,optional"`
	Children  *[]Child           `pulumi:"children,optional"`
}

These are the inputs (or arguments) to a Rest resource.

func (*RestInputs) Annotate

func (c *RestInputs) Annotate(a infer.Annotator)

Annotate lets you provide descriptions and default values for fields and they will be visible in the provider's schema and the generated SDKs.

type RestOutputs

type RestOutputs struct {
	RestInputs
}

These are the outputs (or properties) of a Rest resource.

Jump to

Keyboard shortcuts

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