Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

ContentLibraryItem

Create a ContentLibraryItem Resource

new ContentLibraryItem(name: string, args: ContentLibraryItemArgs, opts?: CustomResourceOptions);
def ContentLibraryItem(resource_name: str, opts: Optional[ResourceOptions] = None, description: Optional[str] = None, file_url: Optional[str] = None, library_id: Optional[str] = None, name: Optional[str] = None, source_uuid: Optional[str] = None, type: Optional[str] = None)
func NewContentLibraryItem(ctx *Context, name string, args ContentLibraryItemArgs, opts ...ResourceOption) (*ContentLibraryItem, error)
public ContentLibraryItem(string name, ContentLibraryItemArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ContentLibraryItemArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ContentLibraryItemArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ContentLibraryItemArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ContentLibraryItem Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ContentLibraryItem resource accepts the following input properties:

LibraryId string

The ID of the Content Library the item should be created in.

Description string

A description for the item.

FileUrl string

File to import into the Content Library item. OVFs and OVAs will be parsed and associated files will also be imported.

Name string

The name of the item to be created in the Content Library.

SourceUuid string

Virtual machine UUID to clone to Content Library.

Type string

Type of content library item.

LibraryId string

The ID of the Content Library the item should be created in.

Description string

A description for the item.

FileUrl string

File to import into the Content Library item. OVFs and OVAs will be parsed and associated files will also be imported.

Name string

The name of the item to be created in the Content Library.

SourceUuid string

Virtual machine UUID to clone to Content Library.

Type string

Type of content library item.

libraryId string

The ID of the Content Library the item should be created in.

description string

A description for the item.

fileUrl string

File to import into the Content Library item. OVFs and OVAs will be parsed and associated files will also be imported.

name string

The name of the item to be created in the Content Library.

sourceUuid string

Virtual machine UUID to clone to Content Library.

type string

Type of content library item.

library_id str

The ID of the Content Library the item should be created in.

description str

A description for the item.

file_url str

File to import into the Content Library item. OVFs and OVAs will be parsed and associated files will also be imported.

name str

The name of the item to be created in the Content Library.

source_uuid str

Virtual machine UUID to clone to Content Library.

type str

Type of content library item.

Outputs

All input properties are implicitly available as output properties. Additionally, the ContentLibraryItem resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ContentLibraryItem Resource

Get an existing ContentLibraryItem resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ContentLibraryItemState, opts?: CustomResourceOptions): ContentLibraryItem
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, description: Optional[str] = None, file_url: Optional[str] = None, library_id: Optional[str] = None, name: Optional[str] = None, source_uuid: Optional[str] = None, type: Optional[str] = None) -> ContentLibraryItem
func GetContentLibraryItem(ctx *Context, name string, id IDInput, state *ContentLibraryItemState, opts ...ResourceOption) (*ContentLibraryItem, error)
public static ContentLibraryItem Get(string name, Input<string> id, ContentLibraryItemState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Description string

A description for the item.

FileUrl string

File to import into the Content Library item. OVFs and OVAs will be parsed and associated files will also be imported.

LibraryId string

The ID of the Content Library the item should be created in.

Name string

The name of the item to be created in the Content Library.

SourceUuid string

Virtual machine UUID to clone to Content Library.

Type string

Type of content library item.

Description string

A description for the item.

FileUrl string

File to import into the Content Library item. OVFs and OVAs will be parsed and associated files will also be imported.

LibraryId string

The ID of the Content Library the item should be created in.

Name string

The name of the item to be created in the Content Library.

SourceUuid string

Virtual machine UUID to clone to Content Library.

Type string

Type of content library item.

description string

A description for the item.

fileUrl string

File to import into the Content Library item. OVFs and OVAs will be parsed and associated files will also be imported.

libraryId string

The ID of the Content Library the item should be created in.

name string

The name of the item to be created in the Content Library.

sourceUuid string

Virtual machine UUID to clone to Content Library.

type string

Type of content library item.

description str

A description for the item.

file_url str

File to import into the Content Library item. OVFs and OVAs will be parsed and associated files will also be imported.

library_id str

The ID of the Content Library the item should be created in.

name str

The name of the item to be created in the Content Library.

source_uuid str

Virtual machine UUID to clone to Content Library.

type str

Type of content library item.

Package Details

Repository
https://github.com/pulumi/pulumi-vsphere
License
Apache-2.0
Notes
This Pulumi package is based on the vsphere Terraform Provider.