catalog

package
v0.0.0-...-81f5abf Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type GetItemArgs

type GetItemArgs struct {
	// Flag to indicate whether to expand detailed project data for the catalog item.
	ExpandProjects *bool `pulumi:"expandProjects"`
	// Flag to indicate whether to expand detailed versions of the catalog item.
	ExpandVersions *bool `pulumi:"expandVersions"`
	// The id of catalog item. One of `id`, or `name` must be provided.
	Id *string `pulumi:"id"`
	// Name of the catalog item. One of `id`, or `name` must be provided.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getItem.

type GetItemEntitlementDefinition

type GetItemEntitlementDefinition struct {
	// Description of the catalog item.
	Description string `pulumi:"description"`
	// Icon id of associated catalog item.
	IconId string `pulumi:"iconId"`
	// The id of entitlement. One of `catalogItemId` or `id` must be provided.
	Id string `pulumi:"id"`
	// Name of the catalog item.
	Name string `pulumi:"name"`
	// Number of items in the associated catalog source.
	NumberOfItems int `pulumi:"numberOfItems"`
	// Catalog source name.
	SourceName string `pulumi:"sourceName"`
	// Catalog source type.
	SourceType string `pulumi:"sourceType"`
	// Content definition type.
	Type string `pulumi:"type"`
}

type GetItemEntitlementDefinitionArgs

type GetItemEntitlementDefinitionArgs struct {
	// Description of the catalog item.
	Description pulumi.StringInput `pulumi:"description"`
	// Icon id of associated catalog item.
	IconId pulumi.StringInput `pulumi:"iconId"`
	// The id of entitlement. One of `catalogItemId` or `id` must be provided.
	Id pulumi.StringInput `pulumi:"id"`
	// Name of the catalog item.
	Name pulumi.StringInput `pulumi:"name"`
	// Number of items in the associated catalog source.
	NumberOfItems pulumi.IntInput `pulumi:"numberOfItems"`
	// Catalog source name.
	SourceName pulumi.StringInput `pulumi:"sourceName"`
	// Catalog source type.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
	// Content definition type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetItemEntitlementDefinitionArgs) ElementType

func (GetItemEntitlementDefinitionArgs) ToGetItemEntitlementDefinitionOutput

func (i GetItemEntitlementDefinitionArgs) ToGetItemEntitlementDefinitionOutput() GetItemEntitlementDefinitionOutput

func (GetItemEntitlementDefinitionArgs) ToGetItemEntitlementDefinitionOutputWithContext

func (i GetItemEntitlementDefinitionArgs) ToGetItemEntitlementDefinitionOutputWithContext(ctx context.Context) GetItemEntitlementDefinitionOutput

type GetItemEntitlementDefinitionArray

type GetItemEntitlementDefinitionArray []GetItemEntitlementDefinitionInput

func (GetItemEntitlementDefinitionArray) ElementType

func (GetItemEntitlementDefinitionArray) ToGetItemEntitlementDefinitionArrayOutput

func (i GetItemEntitlementDefinitionArray) ToGetItemEntitlementDefinitionArrayOutput() GetItemEntitlementDefinitionArrayOutput

func (GetItemEntitlementDefinitionArray) ToGetItemEntitlementDefinitionArrayOutputWithContext

func (i GetItemEntitlementDefinitionArray) ToGetItemEntitlementDefinitionArrayOutputWithContext(ctx context.Context) GetItemEntitlementDefinitionArrayOutput

type GetItemEntitlementDefinitionArrayInput

type GetItemEntitlementDefinitionArrayInput interface {
	pulumi.Input

	ToGetItemEntitlementDefinitionArrayOutput() GetItemEntitlementDefinitionArrayOutput
	ToGetItemEntitlementDefinitionArrayOutputWithContext(context.Context) GetItemEntitlementDefinitionArrayOutput
}

GetItemEntitlementDefinitionArrayInput is an input type that accepts GetItemEntitlementDefinitionArray and GetItemEntitlementDefinitionArrayOutput values. You can construct a concrete instance of `GetItemEntitlementDefinitionArrayInput` via:

GetItemEntitlementDefinitionArray{ GetItemEntitlementDefinitionArgs{...} }

type GetItemEntitlementDefinitionArrayOutput

type GetItemEntitlementDefinitionArrayOutput struct{ *pulumi.OutputState }

func (GetItemEntitlementDefinitionArrayOutput) ElementType

func (GetItemEntitlementDefinitionArrayOutput) Index

func (GetItemEntitlementDefinitionArrayOutput) ToGetItemEntitlementDefinitionArrayOutput

func (o GetItemEntitlementDefinitionArrayOutput) ToGetItemEntitlementDefinitionArrayOutput() GetItemEntitlementDefinitionArrayOutput

func (GetItemEntitlementDefinitionArrayOutput) ToGetItemEntitlementDefinitionArrayOutputWithContext

func (o GetItemEntitlementDefinitionArrayOutput) ToGetItemEntitlementDefinitionArrayOutputWithContext(ctx context.Context) GetItemEntitlementDefinitionArrayOutput

type GetItemEntitlementDefinitionInput

type GetItemEntitlementDefinitionInput interface {
	pulumi.Input

	ToGetItemEntitlementDefinitionOutput() GetItemEntitlementDefinitionOutput
	ToGetItemEntitlementDefinitionOutputWithContext(context.Context) GetItemEntitlementDefinitionOutput
}

GetItemEntitlementDefinitionInput is an input type that accepts GetItemEntitlementDefinitionArgs and GetItemEntitlementDefinitionOutput values. You can construct a concrete instance of `GetItemEntitlementDefinitionInput` via:

GetItemEntitlementDefinitionArgs{...}

type GetItemEntitlementDefinitionOutput

type GetItemEntitlementDefinitionOutput struct{ *pulumi.OutputState }

func (GetItemEntitlementDefinitionOutput) Description

Description of the catalog item.

func (GetItemEntitlementDefinitionOutput) ElementType

func (GetItemEntitlementDefinitionOutput) IconId

Icon id of associated catalog item.

func (GetItemEntitlementDefinitionOutput) Id

The id of entitlement. One of `catalogItemId` or `id` must be provided.

func (GetItemEntitlementDefinitionOutput) Name

Name of the catalog item.

func (GetItemEntitlementDefinitionOutput) NumberOfItems

Number of items in the associated catalog source.

func (GetItemEntitlementDefinitionOutput) SourceName

Catalog source name.

func (GetItemEntitlementDefinitionOutput) SourceType

Catalog source type.

func (GetItemEntitlementDefinitionOutput) ToGetItemEntitlementDefinitionOutput

func (o GetItemEntitlementDefinitionOutput) ToGetItemEntitlementDefinitionOutput() GetItemEntitlementDefinitionOutput

func (GetItemEntitlementDefinitionOutput) ToGetItemEntitlementDefinitionOutputWithContext

func (o GetItemEntitlementDefinitionOutput) ToGetItemEntitlementDefinitionOutputWithContext(ctx context.Context) GetItemEntitlementDefinitionOutput

func (GetItemEntitlementDefinitionOutput) Type

Content definition type.

type GetItemOutputArgs

type GetItemOutputArgs struct {
	// Flag to indicate whether to expand detailed project data for the catalog item.
	ExpandProjects pulumi.BoolPtrInput `pulumi:"expandProjects"`
	// Flag to indicate whether to expand detailed versions of the catalog item.
	ExpandVersions pulumi.BoolPtrInput `pulumi:"expandVersions"`
	// The id of catalog item. One of `id`, or `name` must be provided.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name of the catalog item. One of `id`, or `name` must be provided.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getItem.

func (GetItemOutputArgs) ElementType

func (GetItemOutputArgs) ElementType() reflect.Type

type GetItemProject

type GetItemProject struct {
	// A human-friendly description.
	Description *string `pulumi:"description"`
	// The id of catalog item. One of `id`, or `name` must be provided.
	Id *string `pulumi:"id"`
	// Name of the catalog item. One of `id`, or `name` must be provided.
	Name *string `pulumi:"name"`
	// Version of the entity, if applicable.
	Version *string `pulumi:"version"`
}

type GetItemProjectArgs

type GetItemProjectArgs struct {
	// A human-friendly description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The id of catalog item. One of `id`, or `name` must be provided.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name of the catalog item. One of `id`, or `name` must be provided.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Version of the entity, if applicable.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (GetItemProjectArgs) ElementType

func (GetItemProjectArgs) ElementType() reflect.Type

func (GetItemProjectArgs) ToGetItemProjectOutput

func (i GetItemProjectArgs) ToGetItemProjectOutput() GetItemProjectOutput

func (GetItemProjectArgs) ToGetItemProjectOutputWithContext

func (i GetItemProjectArgs) ToGetItemProjectOutputWithContext(ctx context.Context) GetItemProjectOutput

type GetItemProjectArray

type GetItemProjectArray []GetItemProjectInput

func (GetItemProjectArray) ElementType

func (GetItemProjectArray) ElementType() reflect.Type

func (GetItemProjectArray) ToGetItemProjectArrayOutput

func (i GetItemProjectArray) ToGetItemProjectArrayOutput() GetItemProjectArrayOutput

func (GetItemProjectArray) ToGetItemProjectArrayOutputWithContext

func (i GetItemProjectArray) ToGetItemProjectArrayOutputWithContext(ctx context.Context) GetItemProjectArrayOutput

type GetItemProjectArrayInput

type GetItemProjectArrayInput interface {
	pulumi.Input

	ToGetItemProjectArrayOutput() GetItemProjectArrayOutput
	ToGetItemProjectArrayOutputWithContext(context.Context) GetItemProjectArrayOutput
}

GetItemProjectArrayInput is an input type that accepts GetItemProjectArray and GetItemProjectArrayOutput values. You can construct a concrete instance of `GetItemProjectArrayInput` via:

GetItemProjectArray{ GetItemProjectArgs{...} }

type GetItemProjectArrayOutput

type GetItemProjectArrayOutput struct{ *pulumi.OutputState }

func (GetItemProjectArrayOutput) ElementType

func (GetItemProjectArrayOutput) ElementType() reflect.Type

func (GetItemProjectArrayOutput) Index

func (GetItemProjectArrayOutput) ToGetItemProjectArrayOutput

func (o GetItemProjectArrayOutput) ToGetItemProjectArrayOutput() GetItemProjectArrayOutput

func (GetItemProjectArrayOutput) ToGetItemProjectArrayOutputWithContext

func (o GetItemProjectArrayOutput) ToGetItemProjectArrayOutputWithContext(ctx context.Context) GetItemProjectArrayOutput

type GetItemProjectInput

type GetItemProjectInput interface {
	pulumi.Input

	ToGetItemProjectOutput() GetItemProjectOutput
	ToGetItemProjectOutputWithContext(context.Context) GetItemProjectOutput
}

GetItemProjectInput is an input type that accepts GetItemProjectArgs and GetItemProjectOutput values. You can construct a concrete instance of `GetItemProjectInput` via:

GetItemProjectArgs{...}

type GetItemProjectOutput

type GetItemProjectOutput struct{ *pulumi.OutputState }

func (GetItemProjectOutput) Description

A human-friendly description.

func (GetItemProjectOutput) ElementType

func (GetItemProjectOutput) ElementType() reflect.Type

func (GetItemProjectOutput) Id

The id of catalog item. One of `id`, or `name` must be provided.

func (GetItemProjectOutput) Name

Name of the catalog item. One of `id`, or `name` must be provided.

func (GetItemProjectOutput) ToGetItemProjectOutput

func (o GetItemProjectOutput) ToGetItemProjectOutput() GetItemProjectOutput

func (GetItemProjectOutput) ToGetItemProjectOutputWithContext

func (o GetItemProjectOutput) ToGetItemProjectOutputWithContext(ctx context.Context) GetItemProjectOutput

func (GetItemProjectOutput) Version

Version of the entity, if applicable.

type GetItemResult

type GetItemResult struct {
	// Date-time when catalog item version was created at.
	CreatedAt string `pulumi:"createdAt"`
	// The user the entity was created by.
	CreatedBy string `pulumi:"createdBy"`
	// A human-friendly description.
	Description    string `pulumi:"description"`
	ExpandProjects *bool  `pulumi:"expandProjects"`
	ExpandVersions *bool  `pulumi:"expandVersions"`
	// Id of the catalog item version.
	Id string `pulumi:"id"`
	// Date-time when the entity was last updated.
	LastUpdatedAt string `pulumi:"lastUpdatedAt"`
	// The user the entity was last updated by.
	LastUpdatedBy string `pulumi:"lastUpdatedBy"`
	// Name of the entity.
	Name string `pulumi:"name"`
	// List of associated project IDs that can be used for requesting this catalog item.
	ProjectIds []string `pulumi:"projectIds"`
	// List of associated projects that can be used for requesting this catalog item.
	Projects []GetItemProject `pulumi:"projects"`
	// Json schema describing request parameters, a simplified version of http://json-schema.org/latest/json-schema-validation.html#rfc.section.5
	Schema string `pulumi:"schema"`
	// LibraryItem source ID.
	SourceId string `pulumi:"sourceId"`
	// LibraryItem source name.
	SourceName string        `pulumi:"sourceName"`
	Types      []GetItemType `pulumi:"types"`
	// Catalog item versions.
	Versions []GetItemVersion `pulumi:"versions"`
}

A collection of values returned by getItem.

func GetItem

func GetItem(ctx *pulumi.Context, args *GetItemArgs, opts ...pulumi.InvokeOption) (*GetItemResult, error)

This data source provides information about a catalog item in vRA.

## Example Usage ### S

This is an example of how to get a vRA catalog item by its name.

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/catalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.GetItem(ctx, &catalog.GetItemArgs{
			Name:           pulumi.StringRef(_var.Catalog_item_name),
			ExpandVersions: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

This is an example of how to get a vRA catalog item by its id.

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/catalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.GetItem(ctx, &catalog.GetItemArgs{
			Id:             pulumi.StringRef(_var.Catalog_item_id),
			ExpandVersions: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetItemResultOutput

type GetItemResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getItem.

func (GetItemResultOutput) CreatedAt

func (o GetItemResultOutput) CreatedAt() pulumi.StringOutput

Date-time when catalog item version was created at.

func (GetItemResultOutput) CreatedBy

func (o GetItemResultOutput) CreatedBy() pulumi.StringOutput

The user the entity was created by.

func (GetItemResultOutput) Description

func (o GetItemResultOutput) Description() pulumi.StringOutput

A human-friendly description.

func (GetItemResultOutput) ElementType

func (GetItemResultOutput) ElementType() reflect.Type

func (GetItemResultOutput) ExpandProjects

func (o GetItemResultOutput) ExpandProjects() pulumi.BoolPtrOutput

func (GetItemResultOutput) ExpandVersions

func (o GetItemResultOutput) ExpandVersions() pulumi.BoolPtrOutput

func (GetItemResultOutput) Id

Id of the catalog item version.

func (GetItemResultOutput) LastUpdatedAt

func (o GetItemResultOutput) LastUpdatedAt() pulumi.StringOutput

Date-time when the entity was last updated.

func (GetItemResultOutput) LastUpdatedBy

func (o GetItemResultOutput) LastUpdatedBy() pulumi.StringOutput

The user the entity was last updated by.

func (GetItemResultOutput) Name

Name of the entity.

func (GetItemResultOutput) ProjectIds

List of associated project IDs that can be used for requesting this catalog item.

func (GetItemResultOutput) Projects

List of associated projects that can be used for requesting this catalog item.

func (GetItemResultOutput) Schema

Json schema describing request parameters, a simplified version of http://json-schema.org/latest/json-schema-validation.html#rfc.section.5

func (GetItemResultOutput) SourceId

LibraryItem source ID.

func (GetItemResultOutput) SourceName

func (o GetItemResultOutput) SourceName() pulumi.StringOutput

LibraryItem source name.

func (GetItemResultOutput) ToGetItemResultOutput

func (o GetItemResultOutput) ToGetItemResultOutput() GetItemResultOutput

func (GetItemResultOutput) ToGetItemResultOutputWithContext

func (o GetItemResultOutput) ToGetItemResultOutputWithContext(ctx context.Context) GetItemResultOutput

func (GetItemResultOutput) Types

func (GetItemResultOutput) Versions

Catalog item versions.

type GetItemType

type GetItemType struct {
	// A human-friendly description.
	Description *string `pulumi:"description"`
	// The id of catalog item. One of `id`, or `name` must be provided.
	Id *string `pulumi:"id"`
	// Name of the catalog item. One of `id`, or `name` must be provided.
	Name *string `pulumi:"name"`
	// Version of the entity, if applicable.
	Version *string `pulumi:"version"`
}

type GetItemTypeArgs

type GetItemTypeArgs struct {
	// A human-friendly description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The id of catalog item. One of `id`, or `name` must be provided.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name of the catalog item. One of `id`, or `name` must be provided.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Version of the entity, if applicable.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (GetItemTypeArgs) ElementType

func (GetItemTypeArgs) ElementType() reflect.Type

func (GetItemTypeArgs) ToGetItemTypeOutput

func (i GetItemTypeArgs) ToGetItemTypeOutput() GetItemTypeOutput

func (GetItemTypeArgs) ToGetItemTypeOutputWithContext

func (i GetItemTypeArgs) ToGetItemTypeOutputWithContext(ctx context.Context) GetItemTypeOutput

type GetItemTypeArray

type GetItemTypeArray []GetItemTypeInput

func (GetItemTypeArray) ElementType

func (GetItemTypeArray) ElementType() reflect.Type

func (GetItemTypeArray) ToGetItemTypeArrayOutput

func (i GetItemTypeArray) ToGetItemTypeArrayOutput() GetItemTypeArrayOutput

func (GetItemTypeArray) ToGetItemTypeArrayOutputWithContext

func (i GetItemTypeArray) ToGetItemTypeArrayOutputWithContext(ctx context.Context) GetItemTypeArrayOutput

type GetItemTypeArrayInput

type GetItemTypeArrayInput interface {
	pulumi.Input

	ToGetItemTypeArrayOutput() GetItemTypeArrayOutput
	ToGetItemTypeArrayOutputWithContext(context.Context) GetItemTypeArrayOutput
}

GetItemTypeArrayInput is an input type that accepts GetItemTypeArray and GetItemTypeArrayOutput values. You can construct a concrete instance of `GetItemTypeArrayInput` via:

GetItemTypeArray{ GetItemTypeArgs{...} }

type GetItemTypeArrayOutput

type GetItemTypeArrayOutput struct{ *pulumi.OutputState }

func (GetItemTypeArrayOutput) ElementType

func (GetItemTypeArrayOutput) ElementType() reflect.Type

func (GetItemTypeArrayOutput) Index

func (GetItemTypeArrayOutput) ToGetItemTypeArrayOutput

func (o GetItemTypeArrayOutput) ToGetItemTypeArrayOutput() GetItemTypeArrayOutput

func (GetItemTypeArrayOutput) ToGetItemTypeArrayOutputWithContext

func (o GetItemTypeArrayOutput) ToGetItemTypeArrayOutputWithContext(ctx context.Context) GetItemTypeArrayOutput

type GetItemTypeInput

type GetItemTypeInput interface {
	pulumi.Input

	ToGetItemTypeOutput() GetItemTypeOutput
	ToGetItemTypeOutputWithContext(context.Context) GetItemTypeOutput
}

GetItemTypeInput is an input type that accepts GetItemTypeArgs and GetItemTypeOutput values. You can construct a concrete instance of `GetItemTypeInput` via:

GetItemTypeArgs{...}

type GetItemTypeOutput

type GetItemTypeOutput struct{ *pulumi.OutputState }

func (GetItemTypeOutput) Description

func (o GetItemTypeOutput) Description() pulumi.StringPtrOutput

A human-friendly description.

func (GetItemTypeOutput) ElementType

func (GetItemTypeOutput) ElementType() reflect.Type

func (GetItemTypeOutput) Id

The id of catalog item. One of `id`, or `name` must be provided.

func (GetItemTypeOutput) Name

Name of the catalog item. One of `id`, or `name` must be provided.

func (GetItemTypeOutput) ToGetItemTypeOutput

func (o GetItemTypeOutput) ToGetItemTypeOutput() GetItemTypeOutput

func (GetItemTypeOutput) ToGetItemTypeOutputWithContext

func (o GetItemTypeOutput) ToGetItemTypeOutputWithContext(ctx context.Context) GetItemTypeOutput

func (GetItemTypeOutput) Version

Version of the entity, if applicable.

type GetItemVersion

type GetItemVersion struct {
	// Date-time when catalog item version was created at.
	CreatedAt *string `pulumi:"createdAt"`
	// A human-friendly description.
	Description *string `pulumi:"description"`
	// The id of catalog item. One of `id`, or `name` must be provided.
	Id *string `pulumi:"id"`
}

type GetItemVersionArgs

type GetItemVersionArgs struct {
	// Date-time when catalog item version was created at.
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	// A human-friendly description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The id of catalog item. One of `id`, or `name` must be provided.
	Id pulumi.StringPtrInput `pulumi:"id"`
}

func (GetItemVersionArgs) ElementType

func (GetItemVersionArgs) ElementType() reflect.Type

func (GetItemVersionArgs) ToGetItemVersionOutput

func (i GetItemVersionArgs) ToGetItemVersionOutput() GetItemVersionOutput

func (GetItemVersionArgs) ToGetItemVersionOutputWithContext

func (i GetItemVersionArgs) ToGetItemVersionOutputWithContext(ctx context.Context) GetItemVersionOutput

type GetItemVersionArray

type GetItemVersionArray []GetItemVersionInput

func (GetItemVersionArray) ElementType

func (GetItemVersionArray) ElementType() reflect.Type

func (GetItemVersionArray) ToGetItemVersionArrayOutput

func (i GetItemVersionArray) ToGetItemVersionArrayOutput() GetItemVersionArrayOutput

func (GetItemVersionArray) ToGetItemVersionArrayOutputWithContext

func (i GetItemVersionArray) ToGetItemVersionArrayOutputWithContext(ctx context.Context) GetItemVersionArrayOutput

type GetItemVersionArrayInput

type GetItemVersionArrayInput interface {
	pulumi.Input

	ToGetItemVersionArrayOutput() GetItemVersionArrayOutput
	ToGetItemVersionArrayOutputWithContext(context.Context) GetItemVersionArrayOutput
}

GetItemVersionArrayInput is an input type that accepts GetItemVersionArray and GetItemVersionArrayOutput values. You can construct a concrete instance of `GetItemVersionArrayInput` via:

GetItemVersionArray{ GetItemVersionArgs{...} }

type GetItemVersionArrayOutput

type GetItemVersionArrayOutput struct{ *pulumi.OutputState }

func (GetItemVersionArrayOutput) ElementType

func (GetItemVersionArrayOutput) ElementType() reflect.Type

func (GetItemVersionArrayOutput) Index

func (GetItemVersionArrayOutput) ToGetItemVersionArrayOutput

func (o GetItemVersionArrayOutput) ToGetItemVersionArrayOutput() GetItemVersionArrayOutput

func (GetItemVersionArrayOutput) ToGetItemVersionArrayOutputWithContext

func (o GetItemVersionArrayOutput) ToGetItemVersionArrayOutputWithContext(ctx context.Context) GetItemVersionArrayOutput

type GetItemVersionInput

type GetItemVersionInput interface {
	pulumi.Input

	ToGetItemVersionOutput() GetItemVersionOutput
	ToGetItemVersionOutputWithContext(context.Context) GetItemVersionOutput
}

GetItemVersionInput is an input type that accepts GetItemVersionArgs and GetItemVersionOutput values. You can construct a concrete instance of `GetItemVersionInput` via:

GetItemVersionArgs{...}

type GetItemVersionOutput

type GetItemVersionOutput struct{ *pulumi.OutputState }

func (GetItemVersionOutput) CreatedAt

Date-time when catalog item version was created at.

func (GetItemVersionOutput) Description

A human-friendly description.

func (GetItemVersionOutput) ElementType

func (GetItemVersionOutput) ElementType() reflect.Type

func (GetItemVersionOutput) Id

The id of catalog item. One of `id`, or `name` must be provided.

func (GetItemVersionOutput) ToGetItemVersionOutput

func (o GetItemVersionOutput) ToGetItemVersionOutput() GetItemVersionOutput

func (GetItemVersionOutput) ToGetItemVersionOutputWithContext

func (o GetItemVersionOutput) ToGetItemVersionOutputWithContext(ctx context.Context) GetItemVersionOutput

type GetSourceEntitlementDefinition

type GetSourceEntitlementDefinition struct {
	// Description of the catalog source.
	Description string `pulumi:"description"`
	// Icon id of associated catalog source.
	IconId string `pulumi:"iconId"`
	// The id of entitlement. One of `catalogSourceId` or `id` must be provided.
	Id string `pulumi:"id"`
	// Name of the catalog source.
	Name string `pulumi:"name"`
	// Number of items in the associated catalog source.
	NumberOfItems int `pulumi:"numberOfItems"`
	// Catalog source name.
	SourceName string `pulumi:"sourceName"`
	// Catalog source type.
	SourceType string `pulumi:"sourceType"`
	// Content definition type.
	Type string `pulumi:"type"`
}

type GetSourceEntitlementDefinitionArgs

type GetSourceEntitlementDefinitionArgs struct {
	// Description of the catalog source.
	Description pulumi.StringInput `pulumi:"description"`
	// Icon id of associated catalog source.
	IconId pulumi.StringInput `pulumi:"iconId"`
	// The id of entitlement. One of `catalogSourceId` or `id` must be provided.
	Id pulumi.StringInput `pulumi:"id"`
	// Name of the catalog source.
	Name pulumi.StringInput `pulumi:"name"`
	// Number of items in the associated catalog source.
	NumberOfItems pulumi.IntInput `pulumi:"numberOfItems"`
	// Catalog source name.
	SourceName pulumi.StringInput `pulumi:"sourceName"`
	// Catalog source type.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
	// Content definition type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetSourceEntitlementDefinitionArgs) ElementType

func (GetSourceEntitlementDefinitionArgs) ToGetSourceEntitlementDefinitionOutput

func (i GetSourceEntitlementDefinitionArgs) ToGetSourceEntitlementDefinitionOutput() GetSourceEntitlementDefinitionOutput

func (GetSourceEntitlementDefinitionArgs) ToGetSourceEntitlementDefinitionOutputWithContext

func (i GetSourceEntitlementDefinitionArgs) ToGetSourceEntitlementDefinitionOutputWithContext(ctx context.Context) GetSourceEntitlementDefinitionOutput

type GetSourceEntitlementDefinitionArray

type GetSourceEntitlementDefinitionArray []GetSourceEntitlementDefinitionInput

func (GetSourceEntitlementDefinitionArray) ElementType

func (GetSourceEntitlementDefinitionArray) ToGetSourceEntitlementDefinitionArrayOutput

func (i GetSourceEntitlementDefinitionArray) ToGetSourceEntitlementDefinitionArrayOutput() GetSourceEntitlementDefinitionArrayOutput

func (GetSourceEntitlementDefinitionArray) ToGetSourceEntitlementDefinitionArrayOutputWithContext

func (i GetSourceEntitlementDefinitionArray) ToGetSourceEntitlementDefinitionArrayOutputWithContext(ctx context.Context) GetSourceEntitlementDefinitionArrayOutput

type GetSourceEntitlementDefinitionArrayInput

type GetSourceEntitlementDefinitionArrayInput interface {
	pulumi.Input

	ToGetSourceEntitlementDefinitionArrayOutput() GetSourceEntitlementDefinitionArrayOutput
	ToGetSourceEntitlementDefinitionArrayOutputWithContext(context.Context) GetSourceEntitlementDefinitionArrayOutput
}

GetSourceEntitlementDefinitionArrayInput is an input type that accepts GetSourceEntitlementDefinitionArray and GetSourceEntitlementDefinitionArrayOutput values. You can construct a concrete instance of `GetSourceEntitlementDefinitionArrayInput` via:

GetSourceEntitlementDefinitionArray{ GetSourceEntitlementDefinitionArgs{...} }

type GetSourceEntitlementDefinitionArrayOutput

type GetSourceEntitlementDefinitionArrayOutput struct{ *pulumi.OutputState }

func (GetSourceEntitlementDefinitionArrayOutput) ElementType

func (GetSourceEntitlementDefinitionArrayOutput) Index

func (GetSourceEntitlementDefinitionArrayOutput) ToGetSourceEntitlementDefinitionArrayOutput

func (o GetSourceEntitlementDefinitionArrayOutput) ToGetSourceEntitlementDefinitionArrayOutput() GetSourceEntitlementDefinitionArrayOutput

func (GetSourceEntitlementDefinitionArrayOutput) ToGetSourceEntitlementDefinitionArrayOutputWithContext

func (o GetSourceEntitlementDefinitionArrayOutput) ToGetSourceEntitlementDefinitionArrayOutputWithContext(ctx context.Context) GetSourceEntitlementDefinitionArrayOutput

type GetSourceEntitlementDefinitionInput

type GetSourceEntitlementDefinitionInput interface {
	pulumi.Input

	ToGetSourceEntitlementDefinitionOutput() GetSourceEntitlementDefinitionOutput
	ToGetSourceEntitlementDefinitionOutputWithContext(context.Context) GetSourceEntitlementDefinitionOutput
}

GetSourceEntitlementDefinitionInput is an input type that accepts GetSourceEntitlementDefinitionArgs and GetSourceEntitlementDefinitionOutput values. You can construct a concrete instance of `GetSourceEntitlementDefinitionInput` via:

GetSourceEntitlementDefinitionArgs{...}

type GetSourceEntitlementDefinitionOutput

type GetSourceEntitlementDefinitionOutput struct{ *pulumi.OutputState }

func (GetSourceEntitlementDefinitionOutput) Description

Description of the catalog source.

func (GetSourceEntitlementDefinitionOutput) ElementType

func (GetSourceEntitlementDefinitionOutput) IconId

Icon id of associated catalog source.

func (GetSourceEntitlementDefinitionOutput) Id

The id of entitlement. One of `catalogSourceId` or `id` must be provided.

func (GetSourceEntitlementDefinitionOutput) Name

Name of the catalog source.

func (GetSourceEntitlementDefinitionOutput) NumberOfItems

Number of items in the associated catalog source.

func (GetSourceEntitlementDefinitionOutput) SourceName

Catalog source name.

func (GetSourceEntitlementDefinitionOutput) SourceType

Catalog source type.

func (GetSourceEntitlementDefinitionOutput) ToGetSourceEntitlementDefinitionOutput

func (o GetSourceEntitlementDefinitionOutput) ToGetSourceEntitlementDefinitionOutput() GetSourceEntitlementDefinitionOutput

func (GetSourceEntitlementDefinitionOutput) ToGetSourceEntitlementDefinitionOutputWithContext

func (o GetSourceEntitlementDefinitionOutput) ToGetSourceEntitlementDefinitionOutputWithContext(ctx context.Context) GetSourceEntitlementDefinitionOutput

func (GetSourceEntitlementDefinitionOutput) Type

Content definition type.

type ItemEntitlement

type ItemEntitlement struct {
	pulumi.CustomResourceState

	// The id of the catalog item to create the entitlement.
	CatalogItemId pulumi.StringOutput `pulumi:"catalogItemId"`
	// Represents a catalog item that is linked to a project via an entitlement.
	Definitions ItemEntitlementDefinitionArrayOutput `pulumi:"definitions"`
	// The id of the project this entity belongs to.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

This resource provides a way to create a catalog item entitlement in VMware vRealize Automation.

## Example Usage ### S

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.NewItemEntitlement(ctx, "this", &catalog.ItemEntitlementArgs{
			CatalogItemId: pulumi.Any(_var.Catalog_item_id),
			ProjectId:     pulumi.Any(_var.Project_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Catalog item entitlement can be imported using the id, e.g.

```sh

$ pulumi import vra:catalog/itemEntitlement:ItemEntitlement this 05956583-6488-4e7d-84c9-92a7b7219a15`

```

func GetItemEntitlement

func GetItemEntitlement(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ItemEntitlementState, opts ...pulumi.ResourceOption) (*ItemEntitlement, error)

GetItemEntitlement gets an existing ItemEntitlement 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 NewItemEntitlement

func NewItemEntitlement(ctx *pulumi.Context,
	name string, args *ItemEntitlementArgs, opts ...pulumi.ResourceOption) (*ItemEntitlement, error)

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

func (*ItemEntitlement) ElementType

func (*ItemEntitlement) ElementType() reflect.Type

func (*ItemEntitlement) ToItemEntitlementOutput

func (i *ItemEntitlement) ToItemEntitlementOutput() ItemEntitlementOutput

func (*ItemEntitlement) ToItemEntitlementOutputWithContext

func (i *ItemEntitlement) ToItemEntitlementOutputWithContext(ctx context.Context) ItemEntitlementOutput

type ItemEntitlementArgs

type ItemEntitlementArgs struct {
	// The id of the catalog item to create the entitlement.
	CatalogItemId pulumi.StringInput
	// The id of the project this entity belongs to.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a ItemEntitlement resource.

func (ItemEntitlementArgs) ElementType

func (ItemEntitlementArgs) ElementType() reflect.Type

type ItemEntitlementArray

type ItemEntitlementArray []ItemEntitlementInput

func (ItemEntitlementArray) ElementType

func (ItemEntitlementArray) ElementType() reflect.Type

func (ItemEntitlementArray) ToItemEntitlementArrayOutput

func (i ItemEntitlementArray) ToItemEntitlementArrayOutput() ItemEntitlementArrayOutput

func (ItemEntitlementArray) ToItemEntitlementArrayOutputWithContext

func (i ItemEntitlementArray) ToItemEntitlementArrayOutputWithContext(ctx context.Context) ItemEntitlementArrayOutput

type ItemEntitlementArrayInput

type ItemEntitlementArrayInput interface {
	pulumi.Input

	ToItemEntitlementArrayOutput() ItemEntitlementArrayOutput
	ToItemEntitlementArrayOutputWithContext(context.Context) ItemEntitlementArrayOutput
}

ItemEntitlementArrayInput is an input type that accepts ItemEntitlementArray and ItemEntitlementArrayOutput values. You can construct a concrete instance of `ItemEntitlementArrayInput` via:

ItemEntitlementArray{ ItemEntitlementArgs{...} }

type ItemEntitlementArrayOutput

type ItemEntitlementArrayOutput struct{ *pulumi.OutputState }

func (ItemEntitlementArrayOutput) ElementType

func (ItemEntitlementArrayOutput) ElementType() reflect.Type

func (ItemEntitlementArrayOutput) Index

func (ItemEntitlementArrayOutput) ToItemEntitlementArrayOutput

func (o ItemEntitlementArrayOutput) ToItemEntitlementArrayOutput() ItemEntitlementArrayOutput

func (ItemEntitlementArrayOutput) ToItemEntitlementArrayOutputWithContext

func (o ItemEntitlementArrayOutput) ToItemEntitlementArrayOutputWithContext(ctx context.Context) ItemEntitlementArrayOutput

type ItemEntitlementDefinition

type ItemEntitlementDefinition struct {
	// Description of the catalog item.
	Description *string `pulumi:"description"`
	// Icon id of associated catalog item.
	IconId *string `pulumi:"iconId"`
	// Id of the catalog item.
	Id *string `pulumi:"id"`
	// Name of the catalog item.
	Name *string `pulumi:"name"`
	// Number of items in the associated catalog source.
	NumberOfItems *int `pulumi:"numberOfItems"`
	// Catalog source name.
	SourceName *string `pulumi:"sourceName"`
	// Catalog source type.
	SourceType *string `pulumi:"sourceType"`
	// Content definition type.
	Type *string `pulumi:"type"`
}

type ItemEntitlementDefinitionArgs

type ItemEntitlementDefinitionArgs struct {
	// Description of the catalog item.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Icon id of associated catalog item.
	IconId pulumi.StringPtrInput `pulumi:"iconId"`
	// Id of the catalog item.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name of the catalog item.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Number of items in the associated catalog source.
	NumberOfItems pulumi.IntPtrInput `pulumi:"numberOfItems"`
	// Catalog source name.
	SourceName pulumi.StringPtrInput `pulumi:"sourceName"`
	// Catalog source type.
	SourceType pulumi.StringPtrInput `pulumi:"sourceType"`
	// Content definition type.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ItemEntitlementDefinitionArgs) ElementType

func (ItemEntitlementDefinitionArgs) ToItemEntitlementDefinitionOutput

func (i ItemEntitlementDefinitionArgs) ToItemEntitlementDefinitionOutput() ItemEntitlementDefinitionOutput

func (ItemEntitlementDefinitionArgs) ToItemEntitlementDefinitionOutputWithContext

func (i ItemEntitlementDefinitionArgs) ToItemEntitlementDefinitionOutputWithContext(ctx context.Context) ItemEntitlementDefinitionOutput

type ItemEntitlementDefinitionArray

type ItemEntitlementDefinitionArray []ItemEntitlementDefinitionInput

func (ItemEntitlementDefinitionArray) ElementType

func (ItemEntitlementDefinitionArray) ToItemEntitlementDefinitionArrayOutput

func (i ItemEntitlementDefinitionArray) ToItemEntitlementDefinitionArrayOutput() ItemEntitlementDefinitionArrayOutput

func (ItemEntitlementDefinitionArray) ToItemEntitlementDefinitionArrayOutputWithContext

func (i ItemEntitlementDefinitionArray) ToItemEntitlementDefinitionArrayOutputWithContext(ctx context.Context) ItemEntitlementDefinitionArrayOutput

type ItemEntitlementDefinitionArrayInput

type ItemEntitlementDefinitionArrayInput interface {
	pulumi.Input

	ToItemEntitlementDefinitionArrayOutput() ItemEntitlementDefinitionArrayOutput
	ToItemEntitlementDefinitionArrayOutputWithContext(context.Context) ItemEntitlementDefinitionArrayOutput
}

ItemEntitlementDefinitionArrayInput is an input type that accepts ItemEntitlementDefinitionArray and ItemEntitlementDefinitionArrayOutput values. You can construct a concrete instance of `ItemEntitlementDefinitionArrayInput` via:

ItemEntitlementDefinitionArray{ ItemEntitlementDefinitionArgs{...} }

type ItemEntitlementDefinitionArrayOutput

type ItemEntitlementDefinitionArrayOutput struct{ *pulumi.OutputState }

func (ItemEntitlementDefinitionArrayOutput) ElementType

func (ItemEntitlementDefinitionArrayOutput) Index

func (ItemEntitlementDefinitionArrayOutput) ToItemEntitlementDefinitionArrayOutput

func (o ItemEntitlementDefinitionArrayOutput) ToItemEntitlementDefinitionArrayOutput() ItemEntitlementDefinitionArrayOutput

func (ItemEntitlementDefinitionArrayOutput) ToItemEntitlementDefinitionArrayOutputWithContext

func (o ItemEntitlementDefinitionArrayOutput) ToItemEntitlementDefinitionArrayOutputWithContext(ctx context.Context) ItemEntitlementDefinitionArrayOutput

type ItemEntitlementDefinitionInput

type ItemEntitlementDefinitionInput interface {
	pulumi.Input

	ToItemEntitlementDefinitionOutput() ItemEntitlementDefinitionOutput
	ToItemEntitlementDefinitionOutputWithContext(context.Context) ItemEntitlementDefinitionOutput
}

ItemEntitlementDefinitionInput is an input type that accepts ItemEntitlementDefinitionArgs and ItemEntitlementDefinitionOutput values. You can construct a concrete instance of `ItemEntitlementDefinitionInput` via:

ItemEntitlementDefinitionArgs{...}

type ItemEntitlementDefinitionOutput

type ItemEntitlementDefinitionOutput struct{ *pulumi.OutputState }

func (ItemEntitlementDefinitionOutput) Description

Description of the catalog item.

func (ItemEntitlementDefinitionOutput) ElementType

func (ItemEntitlementDefinitionOutput) IconId

Icon id of associated catalog item.

func (ItemEntitlementDefinitionOutput) Id

Id of the catalog item.

func (ItemEntitlementDefinitionOutput) Name

Name of the catalog item.

func (ItemEntitlementDefinitionOutput) NumberOfItems

Number of items in the associated catalog source.

func (ItemEntitlementDefinitionOutput) SourceName

Catalog source name.

func (ItemEntitlementDefinitionOutput) SourceType

Catalog source type.

func (ItemEntitlementDefinitionOutput) ToItemEntitlementDefinitionOutput

func (o ItemEntitlementDefinitionOutput) ToItemEntitlementDefinitionOutput() ItemEntitlementDefinitionOutput

func (ItemEntitlementDefinitionOutput) ToItemEntitlementDefinitionOutputWithContext

func (o ItemEntitlementDefinitionOutput) ToItemEntitlementDefinitionOutputWithContext(ctx context.Context) ItemEntitlementDefinitionOutput

func (ItemEntitlementDefinitionOutput) Type

Content definition type.

type ItemEntitlementInput

type ItemEntitlementInput interface {
	pulumi.Input

	ToItemEntitlementOutput() ItemEntitlementOutput
	ToItemEntitlementOutputWithContext(ctx context.Context) ItemEntitlementOutput
}

type ItemEntitlementMap

type ItemEntitlementMap map[string]ItemEntitlementInput

func (ItemEntitlementMap) ElementType

func (ItemEntitlementMap) ElementType() reflect.Type

func (ItemEntitlementMap) ToItemEntitlementMapOutput

func (i ItemEntitlementMap) ToItemEntitlementMapOutput() ItemEntitlementMapOutput

func (ItemEntitlementMap) ToItemEntitlementMapOutputWithContext

func (i ItemEntitlementMap) ToItemEntitlementMapOutputWithContext(ctx context.Context) ItemEntitlementMapOutput

type ItemEntitlementMapInput

type ItemEntitlementMapInput interface {
	pulumi.Input

	ToItemEntitlementMapOutput() ItemEntitlementMapOutput
	ToItemEntitlementMapOutputWithContext(context.Context) ItemEntitlementMapOutput
}

ItemEntitlementMapInput is an input type that accepts ItemEntitlementMap and ItemEntitlementMapOutput values. You can construct a concrete instance of `ItemEntitlementMapInput` via:

ItemEntitlementMap{ "key": ItemEntitlementArgs{...} }

type ItemEntitlementMapOutput

type ItemEntitlementMapOutput struct{ *pulumi.OutputState }

func (ItemEntitlementMapOutput) ElementType

func (ItemEntitlementMapOutput) ElementType() reflect.Type

func (ItemEntitlementMapOutput) MapIndex

func (ItemEntitlementMapOutput) ToItemEntitlementMapOutput

func (o ItemEntitlementMapOutput) ToItemEntitlementMapOutput() ItemEntitlementMapOutput

func (ItemEntitlementMapOutput) ToItemEntitlementMapOutputWithContext

func (o ItemEntitlementMapOutput) ToItemEntitlementMapOutputWithContext(ctx context.Context) ItemEntitlementMapOutput

type ItemEntitlementOutput

type ItemEntitlementOutput struct{ *pulumi.OutputState }

func (ItemEntitlementOutput) CatalogItemId

func (o ItemEntitlementOutput) CatalogItemId() pulumi.StringOutput

The id of the catalog item to create the entitlement.

func (ItemEntitlementOutput) Definitions

Represents a catalog item that is linked to a project via an entitlement.

func (ItemEntitlementOutput) ElementType

func (ItemEntitlementOutput) ElementType() reflect.Type

func (ItemEntitlementOutput) ProjectId

The id of the project this entity belongs to.

func (ItemEntitlementOutput) ToItemEntitlementOutput

func (o ItemEntitlementOutput) ToItemEntitlementOutput() ItemEntitlementOutput

func (ItemEntitlementOutput) ToItemEntitlementOutputWithContext

func (o ItemEntitlementOutput) ToItemEntitlementOutputWithContext(ctx context.Context) ItemEntitlementOutput

type ItemEntitlementState

type ItemEntitlementState struct {
	// The id of the catalog item to create the entitlement.
	CatalogItemId pulumi.StringPtrInput
	// Represents a catalog item that is linked to a project via an entitlement.
	Definitions ItemEntitlementDefinitionArrayInput
	// The id of the project this entity belongs to.
	ProjectId pulumi.StringPtrInput
}

func (ItemEntitlementState) ElementType

func (ItemEntitlementState) ElementType() reflect.Type

type LookupItemEntitlementArgs

type LookupItemEntitlementArgs struct {
	// The id of the catalog item to find the entitlement. One of `catalogItemId` or `id` must be provided.
	CatalogItemId *string `pulumi:"catalogItemId"`
	// The id of entitlement. One of `catalogItemId` or `id` must be provided.
	Id *string `pulumi:"id"`
	// The id of the project that this entitlement belongs to.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getItemEntitlement.

type LookupItemEntitlementOutputArgs

type LookupItemEntitlementOutputArgs struct {
	// The id of the catalog item to find the entitlement. One of `catalogItemId` or `id` must be provided.
	CatalogItemId pulumi.StringPtrInput `pulumi:"catalogItemId"`
	// The id of entitlement. One of `catalogItemId` or `id` must be provided.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The id of the project that this entitlement belongs to.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

A collection of arguments for invoking getItemEntitlement.

func (LookupItemEntitlementOutputArgs) ElementType

type LookupItemEntitlementResult

type LookupItemEntitlementResult struct {
	CatalogItemId *string `pulumi:"catalogItemId"`
	// Represents a catalog item that is linked to a project via an entitlement.
	Definitions []GetItemEntitlementDefinition `pulumi:"definitions"`
	// Id of the catalog item.
	Id        *string `pulumi:"id"`
	ProjectId string  `pulumi:"projectId"`
}

A collection of values returned by getItemEntitlement.

func LookupItemEntitlement

func LookupItemEntitlement(ctx *pulumi.Context, args *LookupItemEntitlementArgs, opts ...pulumi.InvokeOption) (*LookupItemEntitlementResult, error)

This data source provides information about a catalog item entitlement in vRA.

## Example Usage ### S

This is an example of how to get a vRA catalog item entitlement by its id:

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/catalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.LookupItemEntitlement(ctx, &catalog.LookupItemEntitlementArgs{
			Id:        pulumi.StringRef(_var.Catalog_item_entitlement_id),
			ProjectId: _var.Project_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

This is an example of how to get a vRA catalog item entitlement by its catalog item id:

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/catalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.LookupItemEntitlement(ctx, &catalog.LookupItemEntitlementArgs{
			CatalogItemId: pulumi.StringRef(_var.Catalog_item_id),
			ProjectId:     _var.Project_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupItemEntitlementResultOutput

type LookupItemEntitlementResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getItemEntitlement.

func (LookupItemEntitlementResultOutput) CatalogItemId

func (LookupItemEntitlementResultOutput) Definitions

Represents a catalog item that is linked to a project via an entitlement.

func (LookupItemEntitlementResultOutput) ElementType

func (LookupItemEntitlementResultOutput) Id

Id of the catalog item.

func (LookupItemEntitlementResultOutput) ProjectId

func (LookupItemEntitlementResultOutput) ToLookupItemEntitlementResultOutput

func (o LookupItemEntitlementResultOutput) ToLookupItemEntitlementResultOutput() LookupItemEntitlementResultOutput

func (LookupItemEntitlementResultOutput) ToLookupItemEntitlementResultOutputWithContext

func (o LookupItemEntitlementResultOutput) ToLookupItemEntitlementResultOutputWithContext(ctx context.Context) LookupItemEntitlementResultOutput

type LookupSourceBlueprintArgs

type LookupSourceBlueprintArgs struct {
	// Custom configuration of the catalog source as a map of key values.
	Config map[string]string `pulumi:"config"`
	// Catalog source description.
	Description *string `pulumi:"description"`
	// The id of catalog source. One of `id`, `name` or `projectId`  must be provided.
	Id *string `pulumi:"id"`
	// Name of the catalog source. One of `id`, `name` or `projectId` must be provided.
	Name *string `pulumi:"name"`
	// The id of the project.  One of `id`, `name` or `projectId` must be provided.
	ProjectId *string `pulumi:"projectId"`
}

A collection of arguments for invoking getSourceBlueprint.

type LookupSourceBlueprintOutputArgs

type LookupSourceBlueprintOutputArgs struct {
	// Custom configuration of the catalog source as a map of key values.
	Config pulumi.StringMapInput `pulumi:"config"`
	// Catalog source description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The id of catalog source. One of `id`, `name` or `projectId`  must be provided.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name of the catalog source. One of `id`, `name` or `projectId` must be provided.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The id of the project.  One of `id`, `name` or `projectId` must be provided.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
}

A collection of arguments for invoking getSourceBlueprint.

func (LookupSourceBlueprintOutputArgs) ElementType

type LookupSourceBlueprintResult

type LookupSourceBlueprintResult struct {
	// Custom configuration of the catalog source as a map of key values.
	Config map[string]string `pulumi:"config"`
	// Date when the entity was created. The date is in ISO 6801 and UTC.
	CreatedAt string `pulumi:"createdAt"`
	// The user the entity was created by.
	CreatedBy string `pulumi:"createdBy"`
	// Catalog source description.
	Description *string `pulumi:"description"`
	// A flag indicating that all the items can be requested across all projects.
	Global bool    `pulumi:"global"`
	Id     *string `pulumi:"id"`
	// Number of items found in the catalog source.
	ItemsFound string `pulumi:"itemsFound"`
	// Number of items imported from the catalog source.
	ItemsImported string `pulumi:"itemsImported"`
	// Time at which the last import was completed at.
	LastImportCompletedAt string `pulumi:"lastImportCompletedAt"`
	// A list of errors seen at last time the catalog source is imported.
	LastImportErrors []string `pulumi:"lastImportErrors"`
	// Time at which the last import was started at.
	LastImportStartedAt string `pulumi:"lastImportStartedAt"`
	// The user that last updated the catalog source.
	LastUpdatedBy string `pulumi:"lastUpdatedBy"`
	Name          string `pulumi:"name"`
	ProjectId     string `pulumi:"projectId"`
	// Type of catalog source. Example: `blueprint`, `CFT`, etc.
	TypeId string `pulumi:"typeId"`
}

A collection of values returned by getSourceBlueprint.

func LookupSourceBlueprint

func LookupSourceBlueprint(ctx *pulumi.Context, args *LookupSourceBlueprintArgs, opts ...pulumi.InvokeOption) (*LookupSourceBlueprintResult, error)

This data source provides information about a catalog source of type cloud template (blueprint) in vRA.

## Example Usage ### S

This is an example of how to get a vRA cloud template catalog source by its name.

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/catalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.LookupSourceBlueprint(ctx, &catalog.LookupSourceBlueprintArgs{
			Name: pulumi.StringRef(_var.Catalog_source_name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

This is an example of how to get a vRA cloud template catalog source by its id.

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/catalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.LookupSourceBlueprint(ctx, &catalog.LookupSourceBlueprintArgs{
			Id: pulumi.StringRef(_var.Catalog_source_id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

This is an example of how to get a vRA cloud template catalog source by the project id it is associated with.

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/catalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.LookupSourceBlueprint(ctx, &catalog.LookupSourceBlueprintArgs{
			ProjectId: pulumi.StringRef(_var.Project_id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSourceBlueprintResultOutput

type LookupSourceBlueprintResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSourceBlueprint.

func (LookupSourceBlueprintResultOutput) Config

Custom configuration of the catalog source as a map of key values.

func (LookupSourceBlueprintResultOutput) CreatedAt

Date when the entity was created. The date is in ISO 6801 and UTC.

func (LookupSourceBlueprintResultOutput) CreatedBy

The user the entity was created by.

func (LookupSourceBlueprintResultOutput) Description

Catalog source description.

func (LookupSourceBlueprintResultOutput) ElementType

func (LookupSourceBlueprintResultOutput) Global

A flag indicating that all the items can be requested across all projects.

func (LookupSourceBlueprintResultOutput) Id

func (LookupSourceBlueprintResultOutput) ItemsFound

Number of items found in the catalog source.

func (LookupSourceBlueprintResultOutput) ItemsImported

Number of items imported from the catalog source.

func (LookupSourceBlueprintResultOutput) LastImportCompletedAt

func (o LookupSourceBlueprintResultOutput) LastImportCompletedAt() pulumi.StringOutput

Time at which the last import was completed at.

func (LookupSourceBlueprintResultOutput) LastImportErrors

A list of errors seen at last time the catalog source is imported.

func (LookupSourceBlueprintResultOutput) LastImportStartedAt

func (o LookupSourceBlueprintResultOutput) LastImportStartedAt() pulumi.StringOutput

Time at which the last import was started at.

func (LookupSourceBlueprintResultOutput) LastUpdatedBy

The user that last updated the catalog source.

func (LookupSourceBlueprintResultOutput) Name

func (LookupSourceBlueprintResultOutput) ProjectId

func (LookupSourceBlueprintResultOutput) ToLookupSourceBlueprintResultOutput

func (o LookupSourceBlueprintResultOutput) ToLookupSourceBlueprintResultOutput() LookupSourceBlueprintResultOutput

func (LookupSourceBlueprintResultOutput) ToLookupSourceBlueprintResultOutputWithContext

func (o LookupSourceBlueprintResultOutput) ToLookupSourceBlueprintResultOutputWithContext(ctx context.Context) LookupSourceBlueprintResultOutput

func (LookupSourceBlueprintResultOutput) TypeId

Type of catalog source. Example: `blueprint`, `CFT`, etc.

type LookupSourceEntitlementArgs

type LookupSourceEntitlementArgs struct {
	// The id of the catalog source to find the entitlement. One of `catalogSourceId` or `id` must be provided.
	CatalogSourceId *string `pulumi:"catalogSourceId"`
	// The id of entitlement. One of `catalogSourceId` or `id` must be provided.
	Id *string `pulumi:"id"`
	// The id of the project that this entitlement belongs to.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getSourceEntitlement.

type LookupSourceEntitlementOutputArgs

type LookupSourceEntitlementOutputArgs struct {
	// The id of the catalog source to find the entitlement. One of `catalogSourceId` or `id` must be provided.
	CatalogSourceId pulumi.StringPtrInput `pulumi:"catalogSourceId"`
	// The id of entitlement. One of `catalogSourceId` or `id` must be provided.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The id of the project that this entitlement belongs to.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

A collection of arguments for invoking getSourceEntitlement.

func (LookupSourceEntitlementOutputArgs) ElementType

type LookupSourceEntitlementResult

type LookupSourceEntitlementResult struct {
	CatalogSourceId *string `pulumi:"catalogSourceId"`
	// Represents a catalog source that is linked to a project via an entitlement.
	Definitions []GetSourceEntitlementDefinition `pulumi:"definitions"`
	// Id of the catalog source.
	Id        *string `pulumi:"id"`
	ProjectId string  `pulumi:"projectId"`
}

A collection of values returned by getSourceEntitlement.

func LookupSourceEntitlement

func LookupSourceEntitlement(ctx *pulumi.Context, args *LookupSourceEntitlementArgs, opts ...pulumi.InvokeOption) (*LookupSourceEntitlementResult, error)

This data source provides information about a catalog source entitlement in vRA.

## Example Usage ### S

This is an example of how to get a vRA catalog source entitlement by its id:

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/catalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.LookupSourceEntitlement(ctx, &catalog.LookupSourceEntitlementArgs{
			Id:        pulumi.StringRef(_var.Catalog_source_entitlement_id),
			ProjectId: _var.Project_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

This is an example of how to get a vRA catalog source entitlement by its catalog source id:

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/catalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.LookupSourceEntitlement(ctx, &catalog.LookupSourceEntitlementArgs{
			CatalogSourceId: pulumi.StringRef(_var.Catalog_source_id),
			ProjectId:       _var.Project_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSourceEntitlementResultOutput

type LookupSourceEntitlementResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSourceEntitlement.

func (LookupSourceEntitlementResultOutput) CatalogSourceId

func (LookupSourceEntitlementResultOutput) Definitions

Represents a catalog source that is linked to a project via an entitlement.

func (LookupSourceEntitlementResultOutput) ElementType

func (LookupSourceEntitlementResultOutput) Id

Id of the catalog source.

func (LookupSourceEntitlementResultOutput) ProjectId

func (LookupSourceEntitlementResultOutput) ToLookupSourceEntitlementResultOutput

func (o LookupSourceEntitlementResultOutput) ToLookupSourceEntitlementResultOutput() LookupSourceEntitlementResultOutput

func (LookupSourceEntitlementResultOutput) ToLookupSourceEntitlementResultOutputWithContext

func (o LookupSourceEntitlementResultOutput) ToLookupSourceEntitlementResultOutputWithContext(ctx context.Context) LookupSourceEntitlementResultOutput

type SourceBlueprint

type SourceBlueprint struct {
	pulumi.CustomResourceState

	// Custom configuration of the catalog source as a map of key values.
	Config    pulumi.StringMapOutput `pulumi:"config"`
	CreatedAt pulumi.StringOutput    `pulumi:"createdAt"`
	CreatedBy pulumi.StringOutput    `pulumi:"createdBy"`
	// Human-friendly description.
	Description           pulumi.StringPtrOutput   `pulumi:"description"`
	Global                pulumi.BoolOutput        `pulumi:"global"`
	ItemsFound            pulumi.StringOutput      `pulumi:"itemsFound"`
	ItemsImported         pulumi.StringOutput      `pulumi:"itemsImported"`
	LastImportCompletedAt pulumi.StringOutput      `pulumi:"lastImportCompletedAt"`
	LastImportErrors      pulumi.StringArrayOutput `pulumi:"lastImportErrors"`
	LastImportStartedAt   pulumi.StringOutput      `pulumi:"lastImportStartedAt"`
	LastUpdatedBy         pulumi.StringOutput      `pulumi:"lastUpdatedBy"`
	// Human-friendly name used as an identifier in APIs that support this option.
	Name pulumi.StringOutput `pulumi:"name"`
	// ID of the project this entity belongs to.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	TypeId    pulumi.StringOutput `pulumi:"typeId"`
}

Creates a VMware vRealize Automation catalog source resource of type cloud template, formerly known as a blueprint.

## Example Usage ### S

The following example shows how to create a catalog source resource.

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.NewSourceBlueprint(ctx, "this", &catalog.SourceBlueprintArgs{
			ProjectId: pulumi.Any(_var.Vra_project_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Attribute Reference

* `createdAt` - Date when entity was created. Date and time format is ISO 8601 and UTC.

* `createdBy` - User who created the entity.

* `global` - Flag indicating that all items can be requested across all projects.

* `id` - ID of catalog source.

* `itemsFound` - Number of items found in the catalog source.

* `itemsImported` - Number of items imported from the catalog source.

* `lastImportCompletedAt` - Time at which the last import completed.

* `lastImportErrors` - List of errors seen when the catalog source was last imported.

* `lastImportStartedAt` - Time at which the last import started.

* `lastUpdatedBy` - User who last updated the catalog source.

* `typeId` - Type of catalog source. Example: `blueprint`, `CFT`, etc.

## Import

To import the cloud template catalog source, use the ID as in the following example

```sh

$ pulumi import vra:catalog/sourceBlueprint:SourceBlueprint this 05956583-6488-4e7d-84c9-92a7b7219a15`

```

func GetSourceBlueprint

func GetSourceBlueprint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SourceBlueprintState, opts ...pulumi.ResourceOption) (*SourceBlueprint, error)

GetSourceBlueprint gets an existing SourceBlueprint 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 NewSourceBlueprint

func NewSourceBlueprint(ctx *pulumi.Context,
	name string, args *SourceBlueprintArgs, opts ...pulumi.ResourceOption) (*SourceBlueprint, error)

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

func (*SourceBlueprint) ElementType

func (*SourceBlueprint) ElementType() reflect.Type

func (*SourceBlueprint) ToSourceBlueprintOutput

func (i *SourceBlueprint) ToSourceBlueprintOutput() SourceBlueprintOutput

func (*SourceBlueprint) ToSourceBlueprintOutputWithContext

func (i *SourceBlueprint) ToSourceBlueprintOutputWithContext(ctx context.Context) SourceBlueprintOutput

type SourceBlueprintArgs

type SourceBlueprintArgs struct {
	// Custom configuration of the catalog source as a map of key values.
	Config pulumi.StringMapInput
	// Human-friendly description.
	Description pulumi.StringPtrInput
	// Human-friendly name used as an identifier in APIs that support this option.
	Name pulumi.StringPtrInput
	// ID of the project this entity belongs to.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a SourceBlueprint resource.

func (SourceBlueprintArgs) ElementType

func (SourceBlueprintArgs) ElementType() reflect.Type

type SourceBlueprintArray

type SourceBlueprintArray []SourceBlueprintInput

func (SourceBlueprintArray) ElementType

func (SourceBlueprintArray) ElementType() reflect.Type

func (SourceBlueprintArray) ToSourceBlueprintArrayOutput

func (i SourceBlueprintArray) ToSourceBlueprintArrayOutput() SourceBlueprintArrayOutput

func (SourceBlueprintArray) ToSourceBlueprintArrayOutputWithContext

func (i SourceBlueprintArray) ToSourceBlueprintArrayOutputWithContext(ctx context.Context) SourceBlueprintArrayOutput

type SourceBlueprintArrayInput

type SourceBlueprintArrayInput interface {
	pulumi.Input

	ToSourceBlueprintArrayOutput() SourceBlueprintArrayOutput
	ToSourceBlueprintArrayOutputWithContext(context.Context) SourceBlueprintArrayOutput
}

SourceBlueprintArrayInput is an input type that accepts SourceBlueprintArray and SourceBlueprintArrayOutput values. You can construct a concrete instance of `SourceBlueprintArrayInput` via:

SourceBlueprintArray{ SourceBlueprintArgs{...} }

type SourceBlueprintArrayOutput

type SourceBlueprintArrayOutput struct{ *pulumi.OutputState }

func (SourceBlueprintArrayOutput) ElementType

func (SourceBlueprintArrayOutput) ElementType() reflect.Type

func (SourceBlueprintArrayOutput) Index

func (SourceBlueprintArrayOutput) ToSourceBlueprintArrayOutput

func (o SourceBlueprintArrayOutput) ToSourceBlueprintArrayOutput() SourceBlueprintArrayOutput

func (SourceBlueprintArrayOutput) ToSourceBlueprintArrayOutputWithContext

func (o SourceBlueprintArrayOutput) ToSourceBlueprintArrayOutputWithContext(ctx context.Context) SourceBlueprintArrayOutput

type SourceBlueprintInput

type SourceBlueprintInput interface {
	pulumi.Input

	ToSourceBlueprintOutput() SourceBlueprintOutput
	ToSourceBlueprintOutputWithContext(ctx context.Context) SourceBlueprintOutput
}

type SourceBlueprintMap

type SourceBlueprintMap map[string]SourceBlueprintInput

func (SourceBlueprintMap) ElementType

func (SourceBlueprintMap) ElementType() reflect.Type

func (SourceBlueprintMap) ToSourceBlueprintMapOutput

func (i SourceBlueprintMap) ToSourceBlueprintMapOutput() SourceBlueprintMapOutput

func (SourceBlueprintMap) ToSourceBlueprintMapOutputWithContext

func (i SourceBlueprintMap) ToSourceBlueprintMapOutputWithContext(ctx context.Context) SourceBlueprintMapOutput

type SourceBlueprintMapInput

type SourceBlueprintMapInput interface {
	pulumi.Input

	ToSourceBlueprintMapOutput() SourceBlueprintMapOutput
	ToSourceBlueprintMapOutputWithContext(context.Context) SourceBlueprintMapOutput
}

SourceBlueprintMapInput is an input type that accepts SourceBlueprintMap and SourceBlueprintMapOutput values. You can construct a concrete instance of `SourceBlueprintMapInput` via:

SourceBlueprintMap{ "key": SourceBlueprintArgs{...} }

type SourceBlueprintMapOutput

type SourceBlueprintMapOutput struct{ *pulumi.OutputState }

func (SourceBlueprintMapOutput) ElementType

func (SourceBlueprintMapOutput) ElementType() reflect.Type

func (SourceBlueprintMapOutput) MapIndex

func (SourceBlueprintMapOutput) ToSourceBlueprintMapOutput

func (o SourceBlueprintMapOutput) ToSourceBlueprintMapOutput() SourceBlueprintMapOutput

func (SourceBlueprintMapOutput) ToSourceBlueprintMapOutputWithContext

func (o SourceBlueprintMapOutput) ToSourceBlueprintMapOutputWithContext(ctx context.Context) SourceBlueprintMapOutput

type SourceBlueprintOutput

type SourceBlueprintOutput struct{ *pulumi.OutputState }

func (SourceBlueprintOutput) Config

Custom configuration of the catalog source as a map of key values.

func (SourceBlueprintOutput) CreatedAt

func (SourceBlueprintOutput) CreatedBy

func (SourceBlueprintOutput) Description

Human-friendly description.

func (SourceBlueprintOutput) ElementType

func (SourceBlueprintOutput) ElementType() reflect.Type

func (SourceBlueprintOutput) Global

func (SourceBlueprintOutput) ItemsFound

func (o SourceBlueprintOutput) ItemsFound() pulumi.StringOutput

func (SourceBlueprintOutput) ItemsImported

func (o SourceBlueprintOutput) ItemsImported() pulumi.StringOutput

func (SourceBlueprintOutput) LastImportCompletedAt

func (o SourceBlueprintOutput) LastImportCompletedAt() pulumi.StringOutput

func (SourceBlueprintOutput) LastImportErrors

func (o SourceBlueprintOutput) LastImportErrors() pulumi.StringArrayOutput

func (SourceBlueprintOutput) LastImportStartedAt

func (o SourceBlueprintOutput) LastImportStartedAt() pulumi.StringOutput

func (SourceBlueprintOutput) LastUpdatedBy

func (o SourceBlueprintOutput) LastUpdatedBy() pulumi.StringOutput

func (SourceBlueprintOutput) Name

Human-friendly name used as an identifier in APIs that support this option.

func (SourceBlueprintOutput) ProjectId

ID of the project this entity belongs to.

func (SourceBlueprintOutput) ToSourceBlueprintOutput

func (o SourceBlueprintOutput) ToSourceBlueprintOutput() SourceBlueprintOutput

func (SourceBlueprintOutput) ToSourceBlueprintOutputWithContext

func (o SourceBlueprintOutput) ToSourceBlueprintOutputWithContext(ctx context.Context) SourceBlueprintOutput

func (SourceBlueprintOutput) TypeId

type SourceBlueprintState

type SourceBlueprintState struct {
	// Custom configuration of the catalog source as a map of key values.
	Config    pulumi.StringMapInput
	CreatedAt pulumi.StringPtrInput
	CreatedBy pulumi.StringPtrInput
	// Human-friendly description.
	Description           pulumi.StringPtrInput
	Global                pulumi.BoolPtrInput
	ItemsFound            pulumi.StringPtrInput
	ItemsImported         pulumi.StringPtrInput
	LastImportCompletedAt pulumi.StringPtrInput
	LastImportErrors      pulumi.StringArrayInput
	LastImportStartedAt   pulumi.StringPtrInput
	LastUpdatedBy         pulumi.StringPtrInput
	// Human-friendly name used as an identifier in APIs that support this option.
	Name pulumi.StringPtrInput
	// ID of the project this entity belongs to.
	ProjectId pulumi.StringPtrInput
	TypeId    pulumi.StringPtrInput
}

func (SourceBlueprintState) ElementType

func (SourceBlueprintState) ElementType() reflect.Type

type SourceEntitlement

type SourceEntitlement struct {
	pulumi.CustomResourceState

	// The id of the catalog source to create the entitlement.
	CatalogSourceId pulumi.StringOutput                    `pulumi:"catalogSourceId"`
	Definitions     SourceEntitlementDefinitionArrayOutput `pulumi:"definitions"`
	// The id of the project this entity belongs to.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

This resource provides a way to create a catalog source entitlement in VMware vRealize Automation.

## Example Usage ### S

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/catalog"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := catalog.NewSourceEntitlement(ctx, "this", &catalog.SourceEntitlementArgs{
			CatalogSourceId: pulumi.Any(_var.Catalog_source_blueprint_id),
			ProjectId:       pulumi.Any(_var.Project_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Attribute Reference

* `definition` - Represents a catalog source that is linked to a project via an entitlement.

  • `description` - Description of the catalog source.

  • `iconId` - Icon id of associated catalog source.

  • `id` - Id of the catalog source.

  • `name` - Name of the catalog source.

  • `numberOfItems` - Number of items in the associated catalog source.

  • `sourceName` - Catalog source name.

  • `sourceType` - Catalog source type.

  • `type` - Content definition type.

## Import

Catalog source entitlement can be imported using the id, e.g.

```sh

$ pulumi import vra:catalog/sourceEntitlement:SourceEntitlement this 05956583-6488-4e7d-84c9-92a7b7219a15`

```

func GetSourceEntitlement

func GetSourceEntitlement(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SourceEntitlementState, opts ...pulumi.ResourceOption) (*SourceEntitlement, error)

GetSourceEntitlement gets an existing SourceEntitlement 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 NewSourceEntitlement

func NewSourceEntitlement(ctx *pulumi.Context,
	name string, args *SourceEntitlementArgs, opts ...pulumi.ResourceOption) (*SourceEntitlement, error)

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

func (*SourceEntitlement) ElementType

func (*SourceEntitlement) ElementType() reflect.Type

func (*SourceEntitlement) ToSourceEntitlementOutput

func (i *SourceEntitlement) ToSourceEntitlementOutput() SourceEntitlementOutput

func (*SourceEntitlement) ToSourceEntitlementOutputWithContext

func (i *SourceEntitlement) ToSourceEntitlementOutputWithContext(ctx context.Context) SourceEntitlementOutput

type SourceEntitlementArgs

type SourceEntitlementArgs struct {
	// The id of the catalog source to create the entitlement.
	CatalogSourceId pulumi.StringInput
	// The id of the project this entity belongs to.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a SourceEntitlement resource.

func (SourceEntitlementArgs) ElementType

func (SourceEntitlementArgs) ElementType() reflect.Type

type SourceEntitlementArray

type SourceEntitlementArray []SourceEntitlementInput

func (SourceEntitlementArray) ElementType

func (SourceEntitlementArray) ElementType() reflect.Type

func (SourceEntitlementArray) ToSourceEntitlementArrayOutput

func (i SourceEntitlementArray) ToSourceEntitlementArrayOutput() SourceEntitlementArrayOutput

func (SourceEntitlementArray) ToSourceEntitlementArrayOutputWithContext

func (i SourceEntitlementArray) ToSourceEntitlementArrayOutputWithContext(ctx context.Context) SourceEntitlementArrayOutput

type SourceEntitlementArrayInput

type SourceEntitlementArrayInput interface {
	pulumi.Input

	ToSourceEntitlementArrayOutput() SourceEntitlementArrayOutput
	ToSourceEntitlementArrayOutputWithContext(context.Context) SourceEntitlementArrayOutput
}

SourceEntitlementArrayInput is an input type that accepts SourceEntitlementArray and SourceEntitlementArrayOutput values. You can construct a concrete instance of `SourceEntitlementArrayInput` via:

SourceEntitlementArray{ SourceEntitlementArgs{...} }

type SourceEntitlementArrayOutput

type SourceEntitlementArrayOutput struct{ *pulumi.OutputState }

func (SourceEntitlementArrayOutput) ElementType

func (SourceEntitlementArrayOutput) Index

func (SourceEntitlementArrayOutput) ToSourceEntitlementArrayOutput

func (o SourceEntitlementArrayOutput) ToSourceEntitlementArrayOutput() SourceEntitlementArrayOutput

func (SourceEntitlementArrayOutput) ToSourceEntitlementArrayOutputWithContext

func (o SourceEntitlementArrayOutput) ToSourceEntitlementArrayOutputWithContext(ctx context.Context) SourceEntitlementArrayOutput

type SourceEntitlementDefinition

type SourceEntitlementDefinition struct {
	Description   *string `pulumi:"description"`
	IconId        *string `pulumi:"iconId"`
	Id            *string `pulumi:"id"`
	Name          *string `pulumi:"name"`
	NumberOfItems *int    `pulumi:"numberOfItems"`
	SourceName    *string `pulumi:"sourceName"`
	SourceType    *string `pulumi:"sourceType"`
	Type          *string `pulumi:"type"`
}

type SourceEntitlementDefinitionArgs

type SourceEntitlementDefinitionArgs struct {
	Description   pulumi.StringPtrInput `pulumi:"description"`
	IconId        pulumi.StringPtrInput `pulumi:"iconId"`
	Id            pulumi.StringPtrInput `pulumi:"id"`
	Name          pulumi.StringPtrInput `pulumi:"name"`
	NumberOfItems pulumi.IntPtrInput    `pulumi:"numberOfItems"`
	SourceName    pulumi.StringPtrInput `pulumi:"sourceName"`
	SourceType    pulumi.StringPtrInput `pulumi:"sourceType"`
	Type          pulumi.StringPtrInput `pulumi:"type"`
}

func (SourceEntitlementDefinitionArgs) ElementType

func (SourceEntitlementDefinitionArgs) ToSourceEntitlementDefinitionOutput

func (i SourceEntitlementDefinitionArgs) ToSourceEntitlementDefinitionOutput() SourceEntitlementDefinitionOutput

func (SourceEntitlementDefinitionArgs) ToSourceEntitlementDefinitionOutputWithContext

func (i SourceEntitlementDefinitionArgs) ToSourceEntitlementDefinitionOutputWithContext(ctx context.Context) SourceEntitlementDefinitionOutput

type SourceEntitlementDefinitionArray

type SourceEntitlementDefinitionArray []SourceEntitlementDefinitionInput

func (SourceEntitlementDefinitionArray) ElementType

func (SourceEntitlementDefinitionArray) ToSourceEntitlementDefinitionArrayOutput

func (i SourceEntitlementDefinitionArray) ToSourceEntitlementDefinitionArrayOutput() SourceEntitlementDefinitionArrayOutput

func (SourceEntitlementDefinitionArray) ToSourceEntitlementDefinitionArrayOutputWithContext

func (i SourceEntitlementDefinitionArray) ToSourceEntitlementDefinitionArrayOutputWithContext(ctx context.Context) SourceEntitlementDefinitionArrayOutput

type SourceEntitlementDefinitionArrayInput

type SourceEntitlementDefinitionArrayInput interface {
	pulumi.Input

	ToSourceEntitlementDefinitionArrayOutput() SourceEntitlementDefinitionArrayOutput
	ToSourceEntitlementDefinitionArrayOutputWithContext(context.Context) SourceEntitlementDefinitionArrayOutput
}

SourceEntitlementDefinitionArrayInput is an input type that accepts SourceEntitlementDefinitionArray and SourceEntitlementDefinitionArrayOutput values. You can construct a concrete instance of `SourceEntitlementDefinitionArrayInput` via:

SourceEntitlementDefinitionArray{ SourceEntitlementDefinitionArgs{...} }

type SourceEntitlementDefinitionArrayOutput

type SourceEntitlementDefinitionArrayOutput struct{ *pulumi.OutputState }

func (SourceEntitlementDefinitionArrayOutput) ElementType

func (SourceEntitlementDefinitionArrayOutput) Index

func (SourceEntitlementDefinitionArrayOutput) ToSourceEntitlementDefinitionArrayOutput

func (o SourceEntitlementDefinitionArrayOutput) ToSourceEntitlementDefinitionArrayOutput() SourceEntitlementDefinitionArrayOutput

func (SourceEntitlementDefinitionArrayOutput) ToSourceEntitlementDefinitionArrayOutputWithContext

func (o SourceEntitlementDefinitionArrayOutput) ToSourceEntitlementDefinitionArrayOutputWithContext(ctx context.Context) SourceEntitlementDefinitionArrayOutput

type SourceEntitlementDefinitionInput

type SourceEntitlementDefinitionInput interface {
	pulumi.Input

	ToSourceEntitlementDefinitionOutput() SourceEntitlementDefinitionOutput
	ToSourceEntitlementDefinitionOutputWithContext(context.Context) SourceEntitlementDefinitionOutput
}

SourceEntitlementDefinitionInput is an input type that accepts SourceEntitlementDefinitionArgs and SourceEntitlementDefinitionOutput values. You can construct a concrete instance of `SourceEntitlementDefinitionInput` via:

SourceEntitlementDefinitionArgs{...}

type SourceEntitlementDefinitionOutput

type SourceEntitlementDefinitionOutput struct{ *pulumi.OutputState }

func (SourceEntitlementDefinitionOutput) Description

func (SourceEntitlementDefinitionOutput) ElementType

func (SourceEntitlementDefinitionOutput) IconId

func (SourceEntitlementDefinitionOutput) Id

func (SourceEntitlementDefinitionOutput) Name

func (SourceEntitlementDefinitionOutput) NumberOfItems

func (SourceEntitlementDefinitionOutput) SourceName

func (SourceEntitlementDefinitionOutput) SourceType

func (SourceEntitlementDefinitionOutput) ToSourceEntitlementDefinitionOutput

func (o SourceEntitlementDefinitionOutput) ToSourceEntitlementDefinitionOutput() SourceEntitlementDefinitionOutput

func (SourceEntitlementDefinitionOutput) ToSourceEntitlementDefinitionOutputWithContext

func (o SourceEntitlementDefinitionOutput) ToSourceEntitlementDefinitionOutputWithContext(ctx context.Context) SourceEntitlementDefinitionOutput

func (SourceEntitlementDefinitionOutput) Type

type SourceEntitlementInput

type SourceEntitlementInput interface {
	pulumi.Input

	ToSourceEntitlementOutput() SourceEntitlementOutput
	ToSourceEntitlementOutputWithContext(ctx context.Context) SourceEntitlementOutput
}

type SourceEntitlementMap

type SourceEntitlementMap map[string]SourceEntitlementInput

func (SourceEntitlementMap) ElementType

func (SourceEntitlementMap) ElementType() reflect.Type

func (SourceEntitlementMap) ToSourceEntitlementMapOutput

func (i SourceEntitlementMap) ToSourceEntitlementMapOutput() SourceEntitlementMapOutput

func (SourceEntitlementMap) ToSourceEntitlementMapOutputWithContext

func (i SourceEntitlementMap) ToSourceEntitlementMapOutputWithContext(ctx context.Context) SourceEntitlementMapOutput

type SourceEntitlementMapInput

type SourceEntitlementMapInput interface {
	pulumi.Input

	ToSourceEntitlementMapOutput() SourceEntitlementMapOutput
	ToSourceEntitlementMapOutputWithContext(context.Context) SourceEntitlementMapOutput
}

SourceEntitlementMapInput is an input type that accepts SourceEntitlementMap and SourceEntitlementMapOutput values. You can construct a concrete instance of `SourceEntitlementMapInput` via:

SourceEntitlementMap{ "key": SourceEntitlementArgs{...} }

type SourceEntitlementMapOutput

type SourceEntitlementMapOutput struct{ *pulumi.OutputState }

func (SourceEntitlementMapOutput) ElementType

func (SourceEntitlementMapOutput) ElementType() reflect.Type

func (SourceEntitlementMapOutput) MapIndex

func (SourceEntitlementMapOutput) ToSourceEntitlementMapOutput

func (o SourceEntitlementMapOutput) ToSourceEntitlementMapOutput() SourceEntitlementMapOutput

func (SourceEntitlementMapOutput) ToSourceEntitlementMapOutputWithContext

func (o SourceEntitlementMapOutput) ToSourceEntitlementMapOutputWithContext(ctx context.Context) SourceEntitlementMapOutput

type SourceEntitlementOutput

type SourceEntitlementOutput struct{ *pulumi.OutputState }

func (SourceEntitlementOutput) CatalogSourceId

func (o SourceEntitlementOutput) CatalogSourceId() pulumi.StringOutput

The id of the catalog source to create the entitlement.

func (SourceEntitlementOutput) Definitions

func (SourceEntitlementOutput) ElementType

func (SourceEntitlementOutput) ElementType() reflect.Type

func (SourceEntitlementOutput) ProjectId

The id of the project this entity belongs to.

func (SourceEntitlementOutput) ToSourceEntitlementOutput

func (o SourceEntitlementOutput) ToSourceEntitlementOutput() SourceEntitlementOutput

func (SourceEntitlementOutput) ToSourceEntitlementOutputWithContext

func (o SourceEntitlementOutput) ToSourceEntitlementOutputWithContext(ctx context.Context) SourceEntitlementOutput

type SourceEntitlementState

type SourceEntitlementState struct {
	// The id of the catalog source to create the entitlement.
	CatalogSourceId pulumi.StringPtrInput
	Definitions     SourceEntitlementDefinitionArrayInput
	// The id of the project this entity belongs to.
	ProjectId pulumi.StringPtrInput
}

func (SourceEntitlementState) ElementType

func (SourceEntitlementState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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