1. Registry
  2. Packages
  3. Vsphere Provider
  4. API Docs
  5. getContentLibraryItems
Viewing docs for vSphere v4.19.0
published on Tuesday, Nov 10, 2026 by Pulumi
vsphere logo vsphere logo
Viewing docs for vSphere v4.19.0
published on Tuesday, Nov 10, 2026 by Pulumi

    The vsphere.getContentLibraryItems data source can be used to search for items in a content library by name, regular expression, and/or type, and returns the list of matching items.

    NOTE: This resource requires vCenter and is not available on direct ESXi host connections.

    Example Usage

    Search by name and type

    import * as pulumi from "@pulumi/pulumi";
    import * as vsphere from "@pulumi/vsphere";
    
    const library = vsphere.getContentLibrary({
        name: "Content Library",
    });
    const ovfItems = library.then(library => vsphere.getContentLibraryItems({
        libraryId: library.id,
        name: "ubuntu-server-lts",
        type: "ovf",
    }));
    
    import pulumi
    import pulumi_vsphere as vsphere
    
    library = vsphere.get_content_library(name="Content Library")
    ovf_items = vsphere.get_content_library_items(library_id=library.id,
        name="ubuntu-server-lts",
        type="ovf")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vsphere/sdk/v4/go/vsphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		library, err := vsphere.GetContentLibrary(ctx, &vsphere.LookupContentLibraryArgs{
    			Name: "Content Library",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = vsphere.GetContentLibraryItems(ctx, &vsphere.GetContentLibraryItemsArgs{
    			LibraryId: library.Id,
    			Name:      pulumi.StringRef("ubuntu-server-lts"),
    			Type:      pulumi.StringRef("ovf"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using VSphere = Pulumi.VSphere;
    
    return await Deployment.RunAsync(() => 
    {
        var library = VSphere.GetContentLibrary.Invoke(new()
        {
            Name = "Content Library",
        });
    
        var ovfItems = VSphere.GetContentLibraryItems.Invoke(new()
        {
            LibraryId = library.Apply(getContentLibraryResult => getContentLibraryResult.Id),
            Name = "ubuntu-server-lts",
            Type = "ovf",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vsphere.VsphereFunctions;
    import com.pulumi.vsphere.inputs.GetContentLibraryArgs;
    import com.pulumi.vsphere.inputs.GetContentLibraryItemsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 library = VsphereFunctions.getContentLibrary(GetContentLibraryArgs.builder()
                .name("Content Library")
                .build());
    
            final var ovfItems = VsphereFunctions.getContentLibraryItems(GetContentLibraryItemsArgs.builder()
                .libraryId(library.id())
                .name("ubuntu-server-lts")
                .type("ovf")
                .build());
    
        }
    }
    
    variables:
      library:
        fn::invoke:
          function: vsphere:getContentLibrary
          arguments:
            name: Content Library
      ovfItems:
        fn::invoke:
          function: vsphere:getContentLibraryItems
          arguments:
            libraryId: ${library.id}
            name: ubuntu-server-lts
            type: ovf
    
    terraform {
      required_providers {
        vsphere = {
          source = "pulumi/vsphere"
        }
      }
    }
    
    data "vsphere_content_library" "library" {
      name = "Content Library"
    }
    data "vsphere_content_library_items" "ovfItems" {
      library_id = data.vsphere_content_library.library.id
      name       = "ubuntu-server-lts"
      type       = "ovf"
    }
    

    Search by name regex

    import * as pulumi from "@pulumi/pulumi";
    import * as vsphere from "@pulumi/vsphere";
    
    const library = vsphere.getContentLibrary({
        name: "Content Library",
    });
    const ubuntu = library.then(library => vsphere.getContentLibraryItems({
        libraryId: library.id,
        nameRegex: "^ubuntu-.*-lts$",
    }));
    
    import pulumi
    import pulumi_vsphere as vsphere
    
    library = vsphere.get_content_library(name="Content Library")
    ubuntu = vsphere.get_content_library_items(library_id=library.id,
        name_regex="^ubuntu-.*-lts$")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vsphere/sdk/v4/go/vsphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		library, err := vsphere.GetContentLibrary(ctx, &vsphere.LookupContentLibraryArgs{
    			Name: "Content Library",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = vsphere.GetContentLibraryItems(ctx, &vsphere.GetContentLibraryItemsArgs{
    			LibraryId: library.Id,
    			NameRegex: pulumi.StringRef("^ubuntu-.*-lts$"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using VSphere = Pulumi.VSphere;
    
    return await Deployment.RunAsync(() => 
    {
        var library = VSphere.GetContentLibrary.Invoke(new()
        {
            Name = "Content Library",
        });
    
        var ubuntu = VSphere.GetContentLibraryItems.Invoke(new()
        {
            LibraryId = library.Apply(getContentLibraryResult => getContentLibraryResult.Id),
            NameRegex = "^ubuntu-.*-lts$",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vsphere.VsphereFunctions;
    import com.pulumi.vsphere.inputs.GetContentLibraryArgs;
    import com.pulumi.vsphere.inputs.GetContentLibraryItemsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 library = VsphereFunctions.getContentLibrary(GetContentLibraryArgs.builder()
                .name("Content Library")
                .build());
    
            final var ubuntu = VsphereFunctions.getContentLibraryItems(GetContentLibraryItemsArgs.builder()
                .libraryId(library.id())
                .nameRegex("^ubuntu-.*-lts$")
                .build());
    
        }
    }
    
    variables:
      library:
        fn::invoke:
          function: vsphere:getContentLibrary
          arguments:
            name: Content Library
      ubuntu:
        fn::invoke:
          function: vsphere:getContentLibraryItems
          arguments:
            libraryId: ${library.id}
            nameRegex: ^ubuntu-.*-lts$
    
    terraform {
      required_providers {
        vsphere = {
          source = "pulumi/vsphere"
        }
      }
    }
    
    data "vsphere_content_library" "library" {
      name = "Content Library"
    }
    data "vsphere_content_library_items" "ubuntu" {
      library_id = data.vsphere_content_library.library.id
      name_regex = "^ubuntu-.*-lts$"
    }
    

    Search all items of a given type

    import * as pulumi from "@pulumi/pulumi";
    import * as vsphere from "@pulumi/vsphere";
    
    const library = vsphere.getContentLibrary({
        name: "Content Library",
    });
    const allOvf = library.then(library => vsphere.getContentLibraryItems({
        libraryId: library.id,
        type: "ovf",
    }));
    
    import pulumi
    import pulumi_vsphere as vsphere
    
    library = vsphere.get_content_library(name="Content Library")
    all_ovf = vsphere.get_content_library_items(library_id=library.id,
        type="ovf")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vsphere/sdk/v4/go/vsphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		library, err := vsphere.GetContentLibrary(ctx, &vsphere.LookupContentLibraryArgs{
    			Name: "Content Library",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = vsphere.GetContentLibraryItems(ctx, &vsphere.GetContentLibraryItemsArgs{
    			LibraryId: library.Id,
    			Type:      pulumi.StringRef("ovf"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using VSphere = Pulumi.VSphere;
    
    return await Deployment.RunAsync(() => 
    {
        var library = VSphere.GetContentLibrary.Invoke(new()
        {
            Name = "Content Library",
        });
    
        var allOvf = VSphere.GetContentLibraryItems.Invoke(new()
        {
            LibraryId = library.Apply(getContentLibraryResult => getContentLibraryResult.Id),
            Type = "ovf",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vsphere.VsphereFunctions;
    import com.pulumi.vsphere.inputs.GetContentLibraryArgs;
    import com.pulumi.vsphere.inputs.GetContentLibraryItemsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 library = VsphereFunctions.getContentLibrary(GetContentLibraryArgs.builder()
                .name("Content Library")
                .build());
    
            final var allOvf = VsphereFunctions.getContentLibraryItems(GetContentLibraryItemsArgs.builder()
                .libraryId(library.id())
                .type("ovf")
                .build());
    
        }
    }
    
    variables:
      library:
        fn::invoke:
          function: vsphere:getContentLibrary
          arguments:
            name: Content Library
      allOvf:
        fn::invoke:
          function: vsphere:getContentLibraryItems
          arguments:
            libraryId: ${library.id}
            type: ovf
    
    terraform {
      required_providers {
        vsphere = {
          source = "pulumi/vsphere"
        }
      }
    }
    
    data "vsphere_content_library" "library" {
      name = "Content Library"
    }
    data "vsphere_content_library_items" "allOvf" {
      library_id = data.vsphere_content_library.library.id
      type       = "ovf"
    }
    

    List all items in a library

    import * as pulumi from "@pulumi/pulumi";
    import * as vsphere from "@pulumi/vsphere";
    
    const library = vsphere.getContentLibrary({
        name: "Content Library",
    });
    const all = library.then(library => vsphere.getContentLibraryItems({
        libraryId: library.id,
    }));
    
    import pulumi
    import pulumi_vsphere as vsphere
    
    library = vsphere.get_content_library(name="Content Library")
    all = vsphere.get_content_library_items(library_id=library.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vsphere/sdk/v4/go/vsphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		library, err := vsphere.GetContentLibrary(ctx, &vsphere.LookupContentLibraryArgs{
    			Name: "Content Library",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = vsphere.GetContentLibraryItems(ctx, &vsphere.GetContentLibraryItemsArgs{
    			LibraryId: library.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using VSphere = Pulumi.VSphere;
    
    return await Deployment.RunAsync(() => 
    {
        var library = VSphere.GetContentLibrary.Invoke(new()
        {
            Name = "Content Library",
        });
    
        var all = VSphere.GetContentLibraryItems.Invoke(new()
        {
            LibraryId = library.Apply(getContentLibraryResult => getContentLibraryResult.Id),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vsphere.VsphereFunctions;
    import com.pulumi.vsphere.inputs.GetContentLibraryArgs;
    import com.pulumi.vsphere.inputs.GetContentLibraryItemsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 library = VsphereFunctions.getContentLibrary(GetContentLibraryArgs.builder()
                .name("Content Library")
                .build());
    
            final var all = VsphereFunctions.getContentLibraryItems(GetContentLibraryItemsArgs.builder()
                .libraryId(library.id())
                .build());
    
        }
    }
    
    variables:
      library:
        fn::invoke:
          function: vsphere:getContentLibrary
          arguments:
            name: Content Library
      all:
        fn::invoke:
          function: vsphere:getContentLibraryItems
          arguments:
            libraryId: ${library.id}
    
    terraform {
      required_providers {
        vsphere = {
          source = "pulumi/vsphere"
        }
      }
    }
    
    data "vsphere_content_library" "library" {
      name = "Content Library"
    }
    data "vsphere_content_library_items" "all" {
      library_id = data.vsphere_content_library.library.id
    }
    

    Using getContentLibraryItems

    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 getContentLibraryItems(args: GetContentLibraryItemsArgs, opts?: InvokeOptions): Promise<GetContentLibraryItemsResult>
    function getContentLibraryItemsOutput(args: GetContentLibraryItemsOutputArgs, opts?: InvokeOutputOptions): Output<GetContentLibraryItemsResult>
    def get_content_library_items(library_id: Optional[str] = None,
                                  limit: Optional[int] = None,
                                  name: Optional[str] = None,
                                  name_regex: Optional[str] = None,
                                  sort_by: Optional[str] = None,
                                  sort_order: Optional[str] = None,
                                  type: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetContentLibraryItemsResult
    def get_content_library_items_output(library_id: pulumi.Input[Optional[str]] = None,
                                  limit: pulumi.Input[Optional[int]] = None,
                                  name: pulumi.Input[Optional[str]] = None,
                                  name_regex: pulumi.Input[Optional[str]] = None,
                                  sort_by: pulumi.Input[Optional[str]] = None,
                                  sort_order: pulumi.Input[Optional[str]] = None,
                                  type: pulumi.Input[Optional[str]] = None,
                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetContentLibraryItemsResult]
    func GetContentLibraryItems(ctx *Context, args *GetContentLibraryItemsArgs, opts ...InvokeOption) (*GetContentLibraryItemsResult, error)
    func GetContentLibraryItemsOutput(ctx *Context, args *GetContentLibraryItemsOutputArgs, opts ...InvokeOption) GetContentLibraryItemsResultOutput

    > Note: This function is named GetContentLibraryItems in the Go SDK.

    public static class GetContentLibraryItems 
    {
        public static Task<GetContentLibraryItemsResult> InvokeAsync(GetContentLibraryItemsArgs args, InvokeOptions? opts = null)
        public static Output<GetContentLibraryItemsResult> Invoke(GetContentLibraryItemsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetContentLibraryItemsResult> Invoke(GetContentLibraryItemsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetContentLibraryItemsResult> getContentLibraryItems(GetContentLibraryItemsArgs args, InvokeOptions options)
    public static Output<GetContentLibraryItemsResult> getContentLibraryItems(GetContentLibraryItemsArgs args, InvokeOptions options)
    public static Output<GetContentLibraryItemsResult> getContentLibraryItems(GetContentLibraryItemsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: vsphere:index/getContentLibraryItems:getContentLibraryItems
      arguments:
        # arguments dictionary
    data "vsphere_get_content_library_items" "name" {
        # arguments
    }

    The following arguments are supported:

    LibraryId string
    The ID of the content library to search.
    Limit int
    Maximum number of items to return after sorting. If omitted, all matching items are returned.
    Name string
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    NameRegex string
    Filter items by name using a regular expression. Mutually exclusive with name. If omitted, items of any name are returned.
    SortBy string
    Sort items by field. Accepted values: lastModifiedTime, creationTime, name. Defaults to lastModifiedTime.
    SortOrder string
    Sort order. Accepted values: asc, desc. Defaults to desc (most recent first).
    Type string
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    LibraryId string
    The ID of the content library to search.
    Limit int
    Maximum number of items to return after sorting. If omitted, all matching items are returned.
    Name string
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    NameRegex string
    Filter items by name using a regular expression. Mutually exclusive with name. If omitted, items of any name are returned.
    SortBy string
    Sort items by field. Accepted values: lastModifiedTime, creationTime, name. Defaults to lastModifiedTime.
    SortOrder string
    Sort order. Accepted values: asc, desc. Defaults to desc (most recent first).
    Type string
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    library_id string
    The ID of the content library to search.
    limit number
    Maximum number of items to return after sorting. If omitted, all matching items are returned.
    name string
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    name_regex string
    Filter items by name using a regular expression. Mutually exclusive with name. If omitted, items of any name are returned.
    sort_by string
    Sort items by field. Accepted values: lastModifiedTime, creationTime, name. Defaults to lastModifiedTime.
    sort_order string
    Sort order. Accepted values: asc, desc. Defaults to desc (most recent first).
    type string
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    libraryId String
    The ID of the content library to search.
    limit Integer
    Maximum number of items to return after sorting. If omitted, all matching items are returned.
    name String
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    nameRegex String
    Filter items by name using a regular expression. Mutually exclusive with name. If omitted, items of any name are returned.
    sortBy String
    Sort items by field. Accepted values: lastModifiedTime, creationTime, name. Defaults to lastModifiedTime.
    sortOrder String
    Sort order. Accepted values: asc, desc. Defaults to desc (most recent first).
    type String
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    libraryId string
    The ID of the content library to search.
    limit number
    Maximum number of items to return after sorting. If omitted, all matching items are returned.
    name string
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    nameRegex string
    Filter items by name using a regular expression. Mutually exclusive with name. If omitted, items of any name are returned.
    sortBy string
    Sort items by field. Accepted values: lastModifiedTime, creationTime, name. Defaults to lastModifiedTime.
    sortOrder string
    Sort order. Accepted values: asc, desc. Defaults to desc (most recent first).
    type string
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    library_id str
    The ID of the content library to search.
    limit int
    Maximum number of items to return after sorting. If omitted, all matching items are returned.
    name str
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    name_regex str
    Filter items by name using a regular expression. Mutually exclusive with name. If omitted, items of any name are returned.
    sort_by str
    Sort items by field. Accepted values: lastModifiedTime, creationTime, name. Defaults to lastModifiedTime.
    sort_order str
    Sort order. Accepted values: asc, desc. Defaults to desc (most recent first).
    type str
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    libraryId String
    The ID of the content library to search.
    limit Number
    Maximum number of items to return after sorting. If omitted, all matching items are returned.
    name String
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    nameRegex String
    Filter items by name using a regular expression. Mutually exclusive with name. If omitted, items of any name are returned.
    sortBy String
    Sort items by field. Accepted values: lastModifiedTime, creationTime, name. Defaults to lastModifiedTime.
    sortOrder String
    Sort order. Accepted values: asc, desc. Defaults to desc (most recent first).
    type String
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.

    getContentLibraryItems Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<Pulumi.VSphere.Outputs.GetContentLibraryItemsItem>
    A list of content library items matching the search criteria. Each element contains:
    LibraryId string
    Limit int
    Name string
    The name of the content library item.
    NameRegex string
    SortBy string
    SortOrder string
    Type string
    The type of the content library item.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetContentLibraryItemsItem
    A list of content library items matching the search criteria. Each element contains:
    LibraryId string
    Limit int
    Name string
    The name of the content library item.
    NameRegex string
    SortBy string
    SortOrder string
    Type string
    The type of the content library item.
    id string
    The provider-assigned unique ID for this managed resource.
    items list(object)
    A list of content library items matching the search criteria. Each element contains:
    library_id string
    limit number
    name string
    The name of the content library item.
    name_regex string
    sort_by string
    sort_order string
    type string
    The type of the content library item.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetContentLibraryItemsItem>
    A list of content library items matching the search criteria. Each element contains:
    libraryId String
    limit Integer
    name String
    The name of the content library item.
    nameRegex String
    sortBy String
    sortOrder String
    type String
    The type of the content library item.
    id string
    The provider-assigned unique ID for this managed resource.
    items GetContentLibraryItemsItem[]
    A list of content library items matching the search criteria. Each element contains:
    libraryId string
    limit number
    name string
    The name of the content library item.
    nameRegex string
    sortBy string
    sortOrder string
    type string
    The type of the content library item.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetContentLibraryItemsItem]
    A list of content library items matching the search criteria. Each element contains:
    library_id str
    limit int
    name str
    The name of the content library item.
    name_regex str
    sort_by str
    sort_order str
    type str
    The type of the content library item.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    A list of content library items matching the search criteria. Each element contains:
    libraryId String
    limit Number
    name String
    The name of the content library item.
    nameRegex String
    sortBy String
    sortOrder String
    type String
    The type of the content library item.

    Supporting Types

    GetContentLibraryItemsItem

    CreationTime string
    The creation time of the item (RFC3339).
    Id string
    The UUID of the content library item.
    LastModifiedTime string
    The last modification time of the item (RFC3339).
    Name string
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    Type string
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    CreationTime string
    The creation time of the item (RFC3339).
    Id string
    The UUID of the content library item.
    LastModifiedTime string
    The last modification time of the item (RFC3339).
    Name string
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    Type string
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    creation_time string
    The creation time of the item (RFC3339).
    id string
    The UUID of the content library item.
    last_modified_time string
    The last modification time of the item (RFC3339).
    name string
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    type string
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    creationTime String
    The creation time of the item (RFC3339).
    id String
    The UUID of the content library item.
    lastModifiedTime String
    The last modification time of the item (RFC3339).
    name String
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    type String
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    creationTime string
    The creation time of the item (RFC3339).
    id string
    The UUID of the content library item.
    lastModifiedTime string
    The last modification time of the item (RFC3339).
    name string
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    type string
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    creation_time str
    The creation time of the item (RFC3339).
    id str
    The UUID of the content library item.
    last_modified_time str
    The last modification time of the item (RFC3339).
    name str
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    type str
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.
    creationTime String
    The creation time of the item (RFC3339).
    id String
    The UUID of the content library item.
    lastModifiedTime String
    The last modification time of the item (RFC3339).
    name String
    Filter items by exact name. Mutually exclusive with nameRegex. If omitted, items of any name are returned.
    type String
    Filter items by type (e.g. ovf, iso, vm-template). If omitted, items of any type are returned.

    Package Details

    Repository
    vSphere pulumi/pulumi-vsphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vsphere Terraform Provider.
    vsphere logo vsphere logo
    Viewing docs for vSphere v4.19.0
    published on Tuesday, Nov 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial