Viewing docs for vra 0.16.0
published on Tuesday, Dec 30, 2025 by vmware
published on Tuesday, Dec 30, 2025 by vmware
Viewing docs for vra 0.16.0
published on Tuesday, Dec 30, 2025 by vmware
published on Tuesday, Dec 30, 2025 by vmware
Note: Deprecated - please use
vra.ContentSharingPolicyinstead.
This data source provides information about a catalog item entitlement.
Example Usage
S
This is an example of how to get a catalog item entitlement by its id:
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getCatalogItemEntitlement({
id: catalogItemEntitlementId,
projectId: projectId,
});
import pulumi
import pulumi_vra as vra
this = vra.get_catalog_item_entitlement(id=catalog_item_entitlement_id,
project_id=project_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vra.LookupCatalogItemEntitlement(ctx, &vra.LookupCatalogItemEntitlementArgs{
Id: pulumi.StringRef(catalogItemEntitlementId),
ProjectId: projectId,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vra = Pulumi.Vra;
return await Deployment.RunAsync(() =>
{
var @this = Vra.GetCatalogItemEntitlement.Invoke(new()
{
Id = catalogItemEntitlementId,
ProjectId = projectId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.VraFunctions;
import com.pulumi.vra.inputs.GetCatalogItemEntitlementArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = VraFunctions.getCatalogItemEntitlement(GetCatalogItemEntitlementArgs.builder()
.id(catalogItemEntitlementId)
.projectId(projectId)
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getCatalogItemEntitlement
arguments:
id: ${catalogItemEntitlementId}
projectId: ${projectId}
This is an example of how to get a catalog item entitlement by its catalog item id:
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getCatalogItemEntitlement({
catalogItemId: catalogItemId,
projectId: projectId,
});
import pulumi
import pulumi_vra as vra
this = vra.get_catalog_item_entitlement(catalog_item_id=catalog_item_id,
project_id=project_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vra.LookupCatalogItemEntitlement(ctx, &vra.LookupCatalogItemEntitlementArgs{
CatalogItemId: pulumi.StringRef(catalogItemId),
ProjectId: projectId,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vra = Pulumi.Vra;
return await Deployment.RunAsync(() =>
{
var @this = Vra.GetCatalogItemEntitlement.Invoke(new()
{
CatalogItemId = catalogItemId,
ProjectId = projectId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.VraFunctions;
import com.pulumi.vra.inputs.GetCatalogItemEntitlementArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = VraFunctions.getCatalogItemEntitlement(GetCatalogItemEntitlementArgs.builder()
.catalogItemId(catalogItemId)
.projectId(projectId)
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getCatalogItemEntitlement
arguments:
catalogItemId: ${catalogItemId}
projectId: ${projectId}
Using getCatalogItemEntitlement
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCatalogItemEntitlement(args: GetCatalogItemEntitlementArgs, opts?: InvokeOptions): Promise<GetCatalogItemEntitlementResult>
function getCatalogItemEntitlementOutput(args: GetCatalogItemEntitlementOutputArgs, opts?: InvokeOptions): Output<GetCatalogItemEntitlementResult>def get_catalog_item_entitlement(catalog_item_id: Optional[str] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCatalogItemEntitlementResult
def get_catalog_item_entitlement_output(catalog_item_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCatalogItemEntitlementResult]func LookupCatalogItemEntitlement(ctx *Context, args *LookupCatalogItemEntitlementArgs, opts ...InvokeOption) (*LookupCatalogItemEntitlementResult, error)
func LookupCatalogItemEntitlementOutput(ctx *Context, args *LookupCatalogItemEntitlementOutputArgs, opts ...InvokeOption) LookupCatalogItemEntitlementResultOutput> Note: This function is named LookupCatalogItemEntitlement in the Go SDK.
public static class GetCatalogItemEntitlement
{
public static Task<GetCatalogItemEntitlementResult> InvokeAsync(GetCatalogItemEntitlementArgs args, InvokeOptions? opts = null)
public static Output<GetCatalogItemEntitlementResult> Invoke(GetCatalogItemEntitlementInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCatalogItemEntitlementResult> getCatalogItemEntitlement(GetCatalogItemEntitlementArgs args, InvokeOptions options)
public static Output<GetCatalogItemEntitlementResult> getCatalogItemEntitlement(GetCatalogItemEntitlementArgs args, InvokeOptions options)
fn::invoke:
function: vra:index/getCatalogItemEntitlement:getCatalogItemEntitlement
arguments:
# arguments dictionaryThe following arguments are supported:
- Project
Id string - The id of the project that this entitlement belongs to.
- Catalog
Item stringId - The id of the catalog item to find the entitlement. One of
catalog_item_idoridmust be provided. - Id string
- The id of entitlement. One of
catalog_item_idoridmust be provided.
- Project
Id string - The id of the project that this entitlement belongs to.
- Catalog
Item stringId - The id of the catalog item to find the entitlement. One of
catalog_item_idoridmust be provided. - Id string
- The id of entitlement. One of
catalog_item_idoridmust be provided.
- project
Id String - The id of the project that this entitlement belongs to.
- catalog
Item StringId - The id of the catalog item to find the entitlement. One of
catalog_item_idoridmust be provided. - id String
- The id of entitlement. One of
catalog_item_idoridmust be provided.
- project
Id string - The id of the project that this entitlement belongs to.
- catalog
Item stringId - The id of the catalog item to find the entitlement. One of
catalog_item_idoridmust be provided. - id string
- The id of entitlement. One of
catalog_item_idoridmust be provided.
- project_
id str - The id of the project that this entitlement belongs to.
- catalog_
item_ strid - The id of the catalog item to find the entitlement. One of
catalog_item_idoridmust be provided. - id str
- The id of entitlement. One of
catalog_item_idoridmust be provided.
- project
Id String - The id of the project that this entitlement belongs to.
- catalog
Item StringId - The id of the catalog item to find the entitlement. One of
catalog_item_idoridmust be provided. - id String
- The id of entitlement. One of
catalog_item_idoridmust be provided.
getCatalogItemEntitlement Result
The following output properties are available:
- Definitions
List<Get
Catalog Item Entitlement Definition> - Represents a catalog item that is linked to a project via an entitlement.
- Project
Id string - Catalog
Item stringId - Id string
- Id of the catalog item.
- Definitions
[]Get
Catalog Item Entitlement Definition - Represents a catalog item that is linked to a project via an entitlement.
- Project
Id string - Catalog
Item stringId - Id string
- Id of the catalog item.
- definitions
List<Get
Catalog Item Entitlement Definition> - Represents a catalog item that is linked to a project via an entitlement.
- project
Id String - catalog
Item StringId - id String
- Id of the catalog item.
- definitions
Get
Catalog Item Entitlement Definition[] - Represents a catalog item that is linked to a project via an entitlement.
- project
Id string - catalog
Item stringId - id string
- Id of the catalog item.
- definitions
Sequence[Get
Catalog Item Entitlement Definition] - Represents a catalog item that is linked to a project via an entitlement.
- project_
id str - catalog_
item_ strid - id str
- Id of the catalog item.
- definitions List<Property Map>
- Represents a catalog item that is linked to a project via an entitlement.
- project
Id String - catalog
Item StringId - id String
- Id of the catalog item.
Supporting Types
GetCatalogItemEntitlementDefinition
- Description string
- Description of the catalog item.
- Icon
Id string - Icon id of associated catalog item.
- Id string
- The id of entitlement. One of
catalog_item_idoridmust be provided. - Name string
- Name of the catalog item.
- Number
Of doubleItems - Number of items in the associated catalog source.
- Source
Name string - Catalog source name.
- Source
Type string - Catalog source type.
- Type string
- Content definition type.
- Description string
- Description of the catalog item.
- Icon
Id string - Icon id of associated catalog item.
- Id string
- The id of entitlement. One of
catalog_item_idoridmust be provided. - Name string
- Name of the catalog item.
- Number
Of float64Items - Number of items in the associated catalog source.
- Source
Name string - Catalog source name.
- Source
Type string - Catalog source type.
- Type string
- Content definition type.
- description String
- Description of the catalog item.
- icon
Id String - Icon id of associated catalog item.
- id String
- The id of entitlement. One of
catalog_item_idoridmust be provided. - name String
- Name of the catalog item.
- number
Of DoubleItems - Number of items in the associated catalog source.
- source
Name String - Catalog source name.
- source
Type String - Catalog source type.
- type String
- Content definition type.
- description string
- Description of the catalog item.
- icon
Id string - Icon id of associated catalog item.
- id string
- The id of entitlement. One of
catalog_item_idoridmust be provided. - name string
- Name of the catalog item.
- number
Of numberItems - Number of items in the associated catalog source.
- source
Name string - Catalog source name.
- source
Type string - Catalog source type.
- type string
- Content definition type.
- description str
- Description of the catalog item.
- icon_
id str - Icon id of associated catalog item.
- id str
- The id of entitlement. One of
catalog_item_idoridmust be provided. - name str
- Name of the catalog item.
- number_
of_ floatitems - Number of items in the associated catalog source.
- source_
name str - Catalog source name.
- source_
type str - Catalog source type.
- type str
- Content definition type.
- description String
- Description of the catalog item.
- icon
Id String - Icon id of associated catalog item.
- id String
- The id of entitlement. One of
catalog_item_idoridmust be provided. - name String
- Name of the catalog item.
- number
Of NumberItems - Number of items in the associated catalog source.
- source
Name String - Catalog source name.
- source
Type String - Catalog source type.
- type String
- Content definition type.
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the
vraTerraform Provider.
Viewing docs for vra 0.16.0
published on Tuesday, Dec 30, 2025 by vmware
published on Tuesday, Dec 30, 2025 by vmware
