vSphere

Pulumi Official
Package maintained by Pulumi
v4.1.0 published on Wednesday, Nov 24, 2021 by Pulumi

ContentLibrary

Create a ContentLibrary Resource

new ContentLibrary(name: string, args: ContentLibraryArgs, opts?: CustomResourceOptions);
@overload
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)
@overload
def ContentLibrary(resource_name: str,
                   args: ContentLibraryArgs,
                   opts: Optional[ResourceOptions] = None)
func NewContentLibrary(ctx *Context, name string, args ContentLibraryArgs, opts ...ResourceOption) (*ContentLibrary, error)
public ContentLibrary(string name, ContentLibraryArgs args, CustomResourceOptions? opts = null)
public ContentLibrary(String name, ContentLibraryArgs args)
public ContentLibrary(String name, ContentLibraryArgs args, CustomResourceOptions options)
type: vsphere:ContentLibrary
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args ContentLibraryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control 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.
name String
The unique name of the resource.
args ContentLibraryArgs
The arguments to resource properties.
options 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 Architecture and Concepts 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 ContentLibraryPublicationArgs

Options to publish a local Content Library.

Subscription ContentLibrarySubscriptionArgs

Options to publish a local Content Library.

storageBackings List

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 ContentLibraryPublicationArgs

Options to publish a local Content Library.

subscription 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 ContentLibraryPublicationArgs

Options to publish a local Content Library.

subscription ContentLibrarySubscriptionArgs

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.

storageBackings List

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 Property Map

Options to publish a local Content Library.

subscription Property Map

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 string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

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)
public static ContentLibrary get(String name, Output<String> id, ContentLibraryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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 ContentLibraryPublicationArgs

Options to publish a local Content Library.

StorageBackings []string

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

Subscription 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 ContentLibraryPublicationArgs

Options to publish a local Content Library.

storageBackings List

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

subscription 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 ContentLibraryPublicationArgs

Options to publish a local Content Library.

storageBackings string[]

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

subscription ContentLibrarySubscriptionArgs

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.

description String

A description of the Content Library.

name String

The name of the Content Library.

publication Property Map

Options to publish a local Content Library.

storageBackings List

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

subscription Property Map

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.

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.

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.

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.

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.

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.

Package Details

Repository
https://github.com/pulumi/pulumi-vsphere
License
Apache-2.0
Notes

This Pulumi package is based on the vsphere Terraform Provider.