apic

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MPL-2.0 Imports: 7 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 {
	// Which class object is being created. (Make sure there is no colon in the classname)
	Class_name string `pulumi:"class_name"`
	// Map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.
	Content map[string]string `pulumi:"content"`
	// Relative name of child object.
	Rn string `pulumi:"rn"`
}

type ChildArgs

type ChildArgs struct {
	// Which class object is being created. (Make sure there is no colon in the classname)
	Class_name pulumi.StringInput `pulumi:"class_name"`
	// Map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.
	Content pulumi.StringMapInput `pulumi:"content"`
	// Relative name of child object.
	Rn pulumi.StringInput `pulumi:"rn"`
}

func (ChildArgs) ElementType

func (ChildArgs) ElementType() reflect.Type

func (ChildArgs) ToChildOutput

func (i ChildArgs) ToChildOutput() ChildOutput

func (ChildArgs) ToChildOutputWithContext

func (i ChildArgs) ToChildOutputWithContext(ctx context.Context) ChildOutput

type ChildArray

type ChildArray []ChildInput

func (ChildArray) ElementType

func (ChildArray) ElementType() reflect.Type

func (ChildArray) ToChildArrayOutput

func (i ChildArray) ToChildArrayOutput() ChildArrayOutput

func (ChildArray) ToChildArrayOutputWithContext

func (i ChildArray) ToChildArrayOutputWithContext(ctx context.Context) ChildArrayOutput

type ChildArrayInput

type ChildArrayInput interface {
	pulumi.Input

	ToChildArrayOutput() ChildArrayOutput
	ToChildArrayOutputWithContext(context.Context) ChildArrayOutput
}

ChildArrayInput is an input type that accepts ChildArray and ChildArrayOutput values. You can construct a concrete instance of `ChildArrayInput` via:

ChildArray{ ChildArgs{...} }

type ChildArrayOutput

type ChildArrayOutput struct{ *pulumi.OutputState }

func (ChildArrayOutput) ElementType

func (ChildArrayOutput) ElementType() reflect.Type

func (ChildArrayOutput) Index

func (ChildArrayOutput) ToChildArrayOutput

func (o ChildArrayOutput) ToChildArrayOutput() ChildArrayOutput

func (ChildArrayOutput) ToChildArrayOutputWithContext

func (o ChildArrayOutput) ToChildArrayOutputWithContext(ctx context.Context) ChildArrayOutput

type ChildInput

type ChildInput interface {
	pulumi.Input

	ToChildOutput() ChildOutput
	ToChildOutputWithContext(context.Context) ChildOutput
}

ChildInput is an input type that accepts ChildArgs and ChildOutput values. You can construct a concrete instance of `ChildInput` via:

ChildArgs{...}

type ChildOutput

type ChildOutput struct{ *pulumi.OutputState }

func (ChildOutput) Class_name

func (o ChildOutput) Class_name() pulumi.StringOutput

Which class object is being created. (Make sure there is no colon in the classname)

func (ChildOutput) Content

func (o ChildOutput) Content() pulumi.StringMapOutput

Map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.

func (ChildOutput) ElementType

func (ChildOutput) ElementType() reflect.Type

func (ChildOutput) Rn

Relative name of child object.

func (ChildOutput) ToChildOutput

func (o ChildOutput) ToChildOutput() ChildOutput

func (ChildOutput) ToChildOutputWithContext

func (o ChildOutput) ToChildOutputWithContext(ctx context.Context) ChildOutput

type Rest

type Rest struct {
	pulumi.CustomResourceState

	// List of child objects to be created. Each child object must have a unique relative name.
	Children ChildArrayOutput `pulumi:"children"`
	// Which class object is being created. (Make sure there is no colon in the classname)
	Class_name pulumi.StringOutput `pulumi:"class_name"`
	// Map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.
	Content pulumi.StringMapOutput `pulumi:"content"`
	// Distinguished name of object being managed including its relative name, e.g. uni/tn-EXAMPLE_TENANT.
	Dn pulumi.StringOutput `pulumi:"dn"`
}

Manages ACI Model Objects via REST API calls. This resource can only manage a single API object.

func GetRest

func GetRest(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RestState, opts ...pulumi.ResourceOption) (*Rest, error)

GetRest gets an existing Rest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRest

func NewRest(ctx *pulumi.Context,
	name string, args *RestArgs, opts ...pulumi.ResourceOption) (*Rest, error)

NewRest registers a new resource with the given unique name, arguments, and options.

func (*Rest) ElementType

func (*Rest) ElementType() reflect.Type

func (*Rest) ToRestOutput

func (i *Rest) ToRestOutput() RestOutput

func (*Rest) ToRestOutputWithContext

func (i *Rest) ToRestOutputWithContext(ctx context.Context) RestOutput

type RestArgs

type RestArgs struct {
	// List of child objects to be created. Each child object must have a unique relative name.
	Children ChildArrayInput
	// Which class object is being created. (Make sure there is no colon in the classname)
	Class_name pulumi.StringInput
	// Map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.
	Content pulumi.StringMapInput
	// Distinguished name of object being managed including its relative name, e.g. uni/tn-EXAMPLE_TENANT.
	Dn pulumi.StringInput
}

The set of arguments for constructing a Rest resource.

func (RestArgs) ElementType

func (RestArgs) ElementType() reflect.Type

type RestArray

type RestArray []RestInput

func (RestArray) ElementType

func (RestArray) ElementType() reflect.Type

func (RestArray) ToRestArrayOutput

func (i RestArray) ToRestArrayOutput() RestArrayOutput

func (RestArray) ToRestArrayOutputWithContext

func (i RestArray) ToRestArrayOutputWithContext(ctx context.Context) RestArrayOutput

type RestArrayInput

type RestArrayInput interface {
	pulumi.Input

	ToRestArrayOutput() RestArrayOutput
	ToRestArrayOutputWithContext(context.Context) RestArrayOutput
}

RestArrayInput is an input type that accepts RestArray and RestArrayOutput values. You can construct a concrete instance of `RestArrayInput` via:

RestArray{ RestArgs{...} }

type RestArrayOutput

type RestArrayOutput struct{ *pulumi.OutputState }

func (RestArrayOutput) ElementType

func (RestArrayOutput) ElementType() reflect.Type

func (RestArrayOutput) Index

func (RestArrayOutput) ToRestArrayOutput

func (o RestArrayOutput) ToRestArrayOutput() RestArrayOutput

func (RestArrayOutput) ToRestArrayOutputWithContext

func (o RestArrayOutput) ToRestArrayOutputWithContext(ctx context.Context) RestArrayOutput

type RestInput

type RestInput interface {
	pulumi.Input

	ToRestOutput() RestOutput
	ToRestOutputWithContext(ctx context.Context) RestOutput
}

type RestMap

type RestMap map[string]RestInput

func (RestMap) ElementType

func (RestMap) ElementType() reflect.Type

func (RestMap) ToRestMapOutput

func (i RestMap) ToRestMapOutput() RestMapOutput

func (RestMap) ToRestMapOutputWithContext

func (i RestMap) ToRestMapOutputWithContext(ctx context.Context) RestMapOutput

type RestMapInput

type RestMapInput interface {
	pulumi.Input

	ToRestMapOutput() RestMapOutput
	ToRestMapOutputWithContext(context.Context) RestMapOutput
}

RestMapInput is an input type that accepts RestMap and RestMapOutput values. You can construct a concrete instance of `RestMapInput` via:

RestMap{ "key": RestArgs{...} }

type RestMapOutput

type RestMapOutput struct{ *pulumi.OutputState }

func (RestMapOutput) ElementType

func (RestMapOutput) ElementType() reflect.Type

func (RestMapOutput) MapIndex

func (RestMapOutput) ToRestMapOutput

func (o RestMapOutput) ToRestMapOutput() RestMapOutput

func (RestMapOutput) ToRestMapOutputWithContext

func (o RestMapOutput) ToRestMapOutputWithContext(ctx context.Context) RestMapOutput

type RestOutput

type RestOutput struct{ *pulumi.OutputState }

func (RestOutput) Children

func (o RestOutput) Children() ChildArrayOutput

List of child objects to be created. Each child object must have a unique relative name.

func (RestOutput) Class_name

func (o RestOutput) Class_name() pulumi.StringOutput

Which class object is being created. (Make sure there is no colon in the classname)

func (RestOutput) Content

func (o RestOutput) Content() pulumi.StringMapOutput

Map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.

func (RestOutput) Dn

Distinguished name of object being managed including its relative name, e.g. uni/tn-EXAMPLE_TENANT.

func (RestOutput) ElementType

func (RestOutput) ElementType() reflect.Type

func (RestOutput) ToRestOutput

func (o RestOutput) ToRestOutput() RestOutput

func (RestOutput) ToRestOutputWithContext

func (o RestOutput) ToRestOutputWithContext(ctx context.Context) RestOutput

type RestState

type RestState struct {
}

func (RestState) ElementType

func (RestState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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