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

ContentLibrary

Create a ContentLibrary Resource

new ContentLibrary(name: string, args: ContentLibraryArgs, opts?: CustomResourceOptions);
def ContentLibrary(resource_name: str, opts: Optional[ResourceOptions] = None, description: Optional[str] = None, name: Optional[str] = None, publication: Optional[ContentLibraryPublicationArgs] = None, storage_backings: Optional[Sequence[str]] = None, subscription: Optional[ContentLibrarySubscriptionArgs] = None)
func NewContentLibrary(ctx *Context, name string, args ContentLibraryArgs, opts ...ResourceOption) (*ContentLibrary, error)
public ContentLibrary(string name, ContentLibraryArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ContentLibraryArgs
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 ContentLibraryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ContentLibraryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ContentLibrary Resource Properties

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

Inputs

The ContentLibrary resource accepts the following input properties:

StorageBackings List<string>

The managed object reference ID on which to store Content Library items.

Description string

A description of the Content Library.

Name string

The name of the Content Library.

Publication Pulumi.VSphere.Inputs.ContentLibraryPublicationArgs

Options to publish a local Content Library.

Subscription Pulumi.VSphere.Inputs.ContentLibrarySubscriptionArgs

Options to publish a local Content Library.

StorageBackings []string

The managed object reference ID on which to store Content Library items.

Description string

A description of the Content Library.

Name string

The name of the Content Library.

Publication ContentLibraryPublication

Options to publish a local Content Library.

Subscription ContentLibrarySubscription

Options to publish a local Content Library.

storageBackings string[]

The managed object reference ID on which to store Content Library items.

description string

A description of the Content Library.

name string

The name of the Content Library.

publication ContentLibraryPublication

Options to publish a local Content Library.

subscription ContentLibrarySubscription

Options to publish a local Content Library.

storage_backings Sequence[str]

The managed object reference ID on which to store Content Library items.

description str

A description of the Content Library.

name str

The name of the Content Library.

publication ContentLibraryPublicationArgs

Options to publish a local Content Library.

subscription ContentLibrarySubscriptionArgs

Options to publish a local Content Library.

Outputs

All input properties are implicitly available as output properties. Additionally, the ContentLibrary 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 ContentLibrary Resource

Get an existing ContentLibrary 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?: ContentLibraryState, opts?: CustomResourceOptions): ContentLibrary
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, description: Optional[str] = None, name: Optional[str] = None, publication: Optional[ContentLibraryPublicationArgs] = None, storage_backings: Optional[Sequence[str]] = None, subscription: Optional[ContentLibrarySubscriptionArgs] = None) -> ContentLibrary
func GetContentLibrary(ctx *Context, name string, id IDInput, state *ContentLibraryState, opts ...ResourceOption) (*ContentLibrary, error)
public static ContentLibrary Get(string name, Input<string> id, ContentLibraryState? 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 of the Content Library.

Name string

The name of the Content Library.

Publication Pulumi.VSphere.Inputs.ContentLibraryPublicationArgs

Options to publish a local Content Library.

StorageBackings List<string>

The managed object reference ID on which to store Content Library items.

Subscription Pulumi.VSphere.Inputs.ContentLibrarySubscriptionArgs

Options to publish a local Content Library.

Description string

A description of the Content Library.

Name string

The name of the Content Library.

Publication ContentLibraryPublication

Options to publish a local Content Library.

StorageBackings []string

The managed object reference ID on which to store Content Library items.

Subscription ContentLibrarySubscription

Options to publish a local Content Library.

description string

A description of the Content Library.

name string

The name of the Content Library.

publication ContentLibraryPublication

Options to publish a local Content Library.

storageBackings string[]

The managed object reference ID on which to store Content Library items.

subscription ContentLibrarySubscription

Options to publish a local Content Library.

description str

A description of the Content Library.

name str

The name of the Content Library.

publication ContentLibraryPublicationArgs

Options to publish a local Content Library.

storage_backings Sequence[str]

The managed object reference ID on which to store Content Library items.

subscription ContentLibrarySubscriptionArgs

Options to publish a local Content Library.

Supporting Types

ContentLibraryPublication

AuthenticationMethod string

Method to log into remote Content Library. Must be NONE or BASIC.

Password string

Password to log in with.

PublishUrl string

URL to remotely access the published Content Library.

Published bool

Bool determining if Content Library is published.

Username string

User name to log in with.

AuthenticationMethod string

Method to log into remote Content Library. Must be NONE or BASIC.

Password string

Password to log in with.

PublishUrl string

URL to remotely access the published Content Library.

Published bool

Bool determining if Content Library is published.

Username string

User name to log in with.

authenticationMethod string

Method to log into remote Content Library. Must be NONE or BASIC.

password string

Password to log in with.

publishUrl string

URL to remotely access the published Content Library.

published boolean

Bool determining if Content Library is published.

username string

User name to log in with.

authentication_method str

Method to log into remote Content Library. Must be NONE or BASIC.

password str

Password to log in with.

publish_url str

URL to remotely access the published Content Library.

published bool

Bool determining if Content Library is published.

username str

User name to log in with.

ContentLibrarySubscription

AuthenticationMethod string

Method to log into remote Content Library. Must be NONE or BASIC.

AutomaticSync bool

Enable automatic synchronization with the external content library.

OnDemand bool

Download all library content immediately.

Password string

Password to log in with.

SubscriptionUrl string

URL of remote Content Library.

Username string

User name to log in with.

AuthenticationMethod string

Method to log into remote Content Library. Must be NONE or BASIC.

AutomaticSync bool

Enable automatic synchronization with the external content library.

OnDemand bool

Download all library content immediately.

Password string

Password to log in with.

SubscriptionUrl string

URL of remote Content Library.

Username string

User name to log in with.

authenticationMethod string

Method to log into remote Content Library. Must be NONE or BASIC.

automaticSync boolean

Enable automatic synchronization with the external content library.

onDemand boolean

Download all library content immediately.

password string

Password to log in with.

subscriptionUrl string

URL of remote Content Library.

username string

User name to log in with.

authentication_method str

Method to log into remote Content Library. Must be NONE or BASIC.

automatic_sync bool

Enable automatic synchronization with the external content library.

on_demand bool

Download all library content immediately.

password str

Password to log in with.

subscription_url str

URL of remote Content Library.

username str

User name to log in with.

Package Details

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