v2

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-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 Entity

type Entity struct {
	pulumi.CustomResourceState

	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	EntityTypeId pulumi.StringOutput `pulumi:"entityTypeId"`
	// Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
	Fields   pulumi.StringMapOutput `pulumi:"fields"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
}

Creates a new entity row of the specified entity type in the external system. The field values for creating the row are contained in the body of the request. The response message contains a `Entity` message object returned as a response by the external system. Auto-naming is currently not supported for this resource.

func GetEntity

func GetEntity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EntityState, opts ...pulumi.ResourceOption) (*Entity, error)

GetEntity gets an existing Entity 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 NewEntity

func NewEntity(ctx *pulumi.Context,
	name string, args *EntityArgs, opts ...pulumi.ResourceOption) (*Entity, error)

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

func (*Entity) ElementType

func (*Entity) ElementType() reflect.Type

func (*Entity) ToEntityOutput

func (i *Entity) ToEntityOutput() EntityOutput

func (*Entity) ToEntityOutputWithContext

func (i *Entity) ToEntityOutputWithContext(ctx context.Context) EntityOutput

type EntityArgs

type EntityArgs struct {
	ConnectionId pulumi.StringInput
	EntityTypeId pulumi.StringInput
	// Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
	Fields   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
}

The set of arguments for constructing a Entity resource.

func (EntityArgs) ElementType

func (EntityArgs) ElementType() reflect.Type

type EntityInput

type EntityInput interface {
	pulumi.Input

	ToEntityOutput() EntityOutput
	ToEntityOutputWithContext(ctx context.Context) EntityOutput
}

type EntityOutput

type EntityOutput struct{ *pulumi.OutputState }

func (EntityOutput) ConnectionId

func (o EntityOutput) ConnectionId() pulumi.StringOutput

func (EntityOutput) ElementType

func (EntityOutput) ElementType() reflect.Type

func (EntityOutput) EntityTypeId

func (o EntityOutput) EntityTypeId() pulumi.StringOutput

func (EntityOutput) Fields

func (o EntityOutput) Fields() pulumi.StringMapOutput

Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.

func (EntityOutput) Location

func (o EntityOutput) Location() pulumi.StringOutput

func (EntityOutput) Name

func (o EntityOutput) Name() pulumi.StringOutput

Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}

func (EntityOutput) Project

func (o EntityOutput) Project() pulumi.StringOutput

func (EntityOutput) ToEntityOutput

func (o EntityOutput) ToEntityOutput() EntityOutput

func (EntityOutput) ToEntityOutputWithContext

func (o EntityOutput) ToEntityOutputWithContext(ctx context.Context) EntityOutput

type EntityState

type EntityState struct {
}

func (EntityState) ElementType

func (EntityState) ElementType() reflect.Type

type LookupEntityArgs

type LookupEntityArgs struct {
	ConnectionId string  `pulumi:"connectionId"`
	EntityId     string  `pulumi:"entityId"`
	EntityTypeId string  `pulumi:"entityTypeId"`
	Location     string  `pulumi:"location"`
	Project      *string `pulumi:"project"`
}

type LookupEntityOutputArgs

type LookupEntityOutputArgs struct {
	ConnectionId pulumi.StringInput    `pulumi:"connectionId"`
	EntityId     pulumi.StringInput    `pulumi:"entityId"`
	EntityTypeId pulumi.StringInput    `pulumi:"entityTypeId"`
	Location     pulumi.StringInput    `pulumi:"location"`
	Project      pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupEntityOutputArgs) ElementType

func (LookupEntityOutputArgs) ElementType() reflect.Type

type LookupEntityResult

type LookupEntityResult struct {
	// Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
	Fields map[string]string `pulumi:"fields"`
	// Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
	Name string `pulumi:"name"`
}

func LookupEntity

func LookupEntity(ctx *pulumi.Context, args *LookupEntityArgs, opts ...pulumi.InvokeOption) (*LookupEntityResult, error)

Gets a single entity row matching the entity type and entity id specified in the request.

type LookupEntityResultOutput

type LookupEntityResultOutput struct{ *pulumi.OutputState }

func (LookupEntityResultOutput) ElementType

func (LookupEntityResultOutput) ElementType() reflect.Type

func (LookupEntityResultOutput) Fields

Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.

func (LookupEntityResultOutput) Name

Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}

func (LookupEntityResultOutput) ToLookupEntityResultOutput

func (o LookupEntityResultOutput) ToLookupEntityResultOutput() LookupEntityResultOutput

func (LookupEntityResultOutput) ToLookupEntityResultOutputWithContext

func (o LookupEntityResultOutput) ToLookupEntityResultOutputWithContext(ctx context.Context) LookupEntityResultOutput

Jump to

Keyboard shortcuts

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