Viewing docs for vra 0.17.0
published on Tuesday, Mar 10, 2026 by vmware
published on Tuesday, Mar 10, 2026 by vmware
Viewing docs for vra 0.17.0
published on Tuesday, Mar 10, 2026 by vmware
published on Tuesday, Mar 10, 2026 by vmware
Note: Deprecated - please use
vra.ContentSharingPolicyinstead.
This data source provides information about a catalog source entitlement.
Example Usage
S
This is an example of how to get a catalog source entitlement by its id:
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getCatalogSourceEntitlement({
id: catalogSourceEntitlementId,
projectId: projectId,
});
import pulumi
import pulumi_vra as vra
this = vra.get_catalog_source_entitlement(id=catalog_source_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.LookupCatalogSourceEntitlement(ctx, &vra.LookupCatalogSourceEntitlementArgs{
Id: pulumi.StringRef(catalogSourceEntitlementId),
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.GetCatalogSourceEntitlement.Invoke(new()
{
Id = catalogSourceEntitlementId,
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.GetCatalogSourceEntitlementArgs;
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.getCatalogSourceEntitlement(GetCatalogSourceEntitlementArgs.builder()
.id(catalogSourceEntitlementId)
.projectId(projectId)
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getCatalogSourceEntitlement
arguments:
id: ${catalogSourceEntitlementId}
projectId: ${projectId}
This is an example of how to get a catalog source entitlement by its catalog source id:
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getCatalogSourceEntitlement({
catalogSourceId: catalogSourceId,
projectId: projectId,
});
import pulumi
import pulumi_vra as vra
this = vra.get_catalog_source_entitlement(catalog_source_id=catalog_source_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.LookupCatalogSourceEntitlement(ctx, &vra.LookupCatalogSourceEntitlementArgs{
CatalogSourceId: pulumi.StringRef(catalogSourceId),
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.GetCatalogSourceEntitlement.Invoke(new()
{
CatalogSourceId = catalogSourceId,
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.GetCatalogSourceEntitlementArgs;
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.getCatalogSourceEntitlement(GetCatalogSourceEntitlementArgs.builder()
.catalogSourceId(catalogSourceId)
.projectId(projectId)
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getCatalogSourceEntitlement
arguments:
catalogSourceId: ${catalogSourceId}
projectId: ${projectId}
Using getCatalogSourceEntitlement
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 getCatalogSourceEntitlement(args: GetCatalogSourceEntitlementArgs, opts?: InvokeOptions): Promise<GetCatalogSourceEntitlementResult>
function getCatalogSourceEntitlementOutput(args: GetCatalogSourceEntitlementOutputArgs, opts?: InvokeOptions): Output<GetCatalogSourceEntitlementResult>def get_catalog_source_entitlement(catalog_source_id: Optional[str] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCatalogSourceEntitlementResult
def get_catalog_source_entitlement_output(catalog_source_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCatalogSourceEntitlementResult]func LookupCatalogSourceEntitlement(ctx *Context, args *LookupCatalogSourceEntitlementArgs, opts ...InvokeOption) (*LookupCatalogSourceEntitlementResult, error)
func LookupCatalogSourceEntitlementOutput(ctx *Context, args *LookupCatalogSourceEntitlementOutputArgs, opts ...InvokeOption) LookupCatalogSourceEntitlementResultOutput> Note: This function is named LookupCatalogSourceEntitlement in the Go SDK.
public static class GetCatalogSourceEntitlement
{
public static Task<GetCatalogSourceEntitlementResult> InvokeAsync(GetCatalogSourceEntitlementArgs args, InvokeOptions? opts = null)
public static Output<GetCatalogSourceEntitlementResult> Invoke(GetCatalogSourceEntitlementInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCatalogSourceEntitlementResult> getCatalogSourceEntitlement(GetCatalogSourceEntitlementArgs args, InvokeOptions options)
public static Output<GetCatalogSourceEntitlementResult> getCatalogSourceEntitlement(GetCatalogSourceEntitlementArgs args, InvokeOptions options)
fn::invoke:
function: vra:index/getCatalogSourceEntitlement:getCatalogSourceEntitlement
arguments:
# arguments dictionaryThe following arguments are supported:
- Project
Id string - The id of the project that this entitlement belongs to.
- Catalog
Source stringId - The id of the catalog source to find the entitlement. One of
catalog_source_idoridmust be provided. - Id string
- The id of entitlement. One of
catalog_source_idoridmust be provided.
- Project
Id string - The id of the project that this entitlement belongs to.
- Catalog
Source stringId - The id of the catalog source to find the entitlement. One of
catalog_source_idoridmust be provided. - Id string
- The id of entitlement. One of
catalog_source_idoridmust be provided.
- project
Id String - The id of the project that this entitlement belongs to.
- catalog
Source StringId - The id of the catalog source to find the entitlement. One of
catalog_source_idoridmust be provided. - id String
- The id of entitlement. One of
catalog_source_idoridmust be provided.
- project
Id string - The id of the project that this entitlement belongs to.
- catalog
Source stringId - The id of the catalog source to find the entitlement. One of
catalog_source_idoridmust be provided. - id string
- The id of entitlement. One of
catalog_source_idoridmust be provided.
- project_
id str - The id of the project that this entitlement belongs to.
- catalog_
source_ strid - The id of the catalog source to find the entitlement. One of
catalog_source_idoridmust be provided. - id str
- The id of entitlement. One of
catalog_source_idoridmust be provided.
- project
Id String - The id of the project that this entitlement belongs to.
- catalog
Source StringId - The id of the catalog source to find the entitlement. One of
catalog_source_idoridmust be provided. - id String
- The id of entitlement. One of
catalog_source_idoridmust be provided.
getCatalogSourceEntitlement Result
The following output properties are available:
- Definitions
List<Get
Catalog Source Entitlement Definition> - Represents a catalog source that is linked to a project via an entitlement.
- Project
Id string - Catalog
Source stringId - Id string
- Id of the catalog source.
- Definitions
[]Get
Catalog Source Entitlement Definition - Represents a catalog source that is linked to a project via an entitlement.
- Project
Id string - Catalog
Source stringId - Id string
- Id of the catalog source.
- definitions
List<Get
Catalog Source Entitlement Definition> - Represents a catalog source that is linked to a project via an entitlement.
- project
Id String - catalog
Source StringId - id String
- Id of the catalog source.
- definitions
Get
Catalog Source Entitlement Definition[] - Represents a catalog source that is linked to a project via an entitlement.
- project
Id string - catalog
Source stringId - id string
- Id of the catalog source.
- definitions
Sequence[Get
Catalog Source Entitlement Definition] - Represents a catalog source that is linked to a project via an entitlement.
- project_
id str - catalog_
source_ strid - id str
- Id of the catalog source.
- definitions List<Property Map>
- Represents a catalog source that is linked to a project via an entitlement.
- project
Id String - catalog
Source StringId - id String
- Id of the catalog source.
Supporting Types
GetCatalogSourceEntitlementDefinition
- Description string
- Description of the catalog source.
- Icon
Id string - Icon id of associated catalog source.
- Id string
- The id of entitlement. One of
catalog_source_idoridmust be provided. - Name string
- Name of the catalog source.
- 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 source.
- Icon
Id string - Icon id of associated catalog source.
- Id string
- The id of entitlement. One of
catalog_source_idoridmust be provided. - Name string
- Name of the catalog source.
- 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 source.
- icon
Id String - Icon id of associated catalog source.
- id String
- The id of entitlement. One of
catalog_source_idoridmust be provided. - name String
- Name of the catalog source.
- 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 source.
- icon
Id string - Icon id of associated catalog source.
- id string
- The id of entitlement. One of
catalog_source_idoridmust be provided. - name string
- Name of the catalog source.
- 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 source.
- icon_
id str - Icon id of associated catalog source.
- id str
- The id of entitlement. One of
catalog_source_idoridmust be provided. - name str
- Name of the catalog source.
- 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 source.
- icon
Id String - Icon id of associated catalog source.
- id String
- The id of entitlement. One of
catalog_source_idoridmust be provided. - name String
- Name of the catalog source.
- 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.17.0
published on Tuesday, Mar 10, 2026 by vmware
published on Tuesday, Mar 10, 2026 by vmware
