getContentLibraryItem
The vsphere.ContentLibraryItem
data source can be used to discover the ID of a Content Library item.
NOTE: This resource requires vCenter and is not available on direct ESXi connections.
Using getContentLibraryItem
function getContentLibraryItem(args: GetContentLibraryItemArgs, opts?: InvokeOptions): Promise<GetContentLibraryItemResult>
def get_content_library_item(library_id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetContentLibraryItemResult
func LookupContentLibraryItem(ctx *Context, args *LookupContentLibraryItemArgs, opts ...InvokeOption) (*LookupContentLibraryItemResult, error)
Note: This function is named
LookupContentLibraryItem
in the Go SDK.
public static class GetContentLibraryItem {
public static Task<GetContentLibraryItemResult> InvokeAsync(GetContentLibraryItemArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- library_
id str The ID of the Content Library the item exists in.
- name str
The name of the Content Library.
- type str
The Content Library type. Can be ovf, iso, or vm-template.
getContentLibraryItem Result
The following output properties are available:
- id str
The provider-assigned unique ID for this managed resource.
- library_
id str - name str
- type str
The Content Library type. Can be ovf, iso, or vm-template.
Package Details
- Repository
- https://github.com/pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vsphere
Terraform Provider.