vSphere
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:
- Storage
Backings 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. Content Library Publication Args Options to publish a local Content Library.
- Subscription
Pulumi.
VSphere. Inputs. Content Library Subscription Args Options to publish a local Content Library.
- Storage
Backings []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
Content
Library Publication Args Options to publish a local Content Library.
- Subscription
Content
Library Subscription Args Options to publish a local Content Library.
- storage
Backings 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
Content
Library Publication Args Options to publish a local Content Library.
- subscription
Content
Library Subscription Args Options to publish a local Content Library.
- storage
Backings 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
Content
Library Publication Args Options to publish a local Content Library.
- subscription
Content
Library Subscription Args 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
Content
Library Publication Args Options to publish a local Content Library.
- subscription
Content
Library Subscription Args Options to publish a local Content Library.
- storage
Backings 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.
- Description string
A description of the Content Library.
- Name string
The name of the Content Library.
- Publication
Pulumi.
VSphere. Inputs. Content Library Publication Args Options to publish a local Content Library.
- Storage
Backings List<string> The managed object reference ID on which to store Content Library items.
- Subscription
Pulumi.
VSphere. Inputs. Content Library Subscription Args Options to publish a local Content Library.
- Description string
A description of the Content Library.
- Name string
The name of the Content Library.
- Publication
Content
Library Publication Args Options to publish a local Content Library.
- Storage
Backings []string The managed object reference ID on which to store Content Library items.
- Subscription
Content
Library Subscription Args Options to publish a local Content Library.
- description String
A description of the Content Library.
- name String
The name of the Content Library.
- publication
Content
Library Publication Args Options to publish a local Content Library.
- storage
Backings List The managed object reference ID on which to store Content Library items.
- subscription
Content
Library Subscription Args Options to publish a local Content Library.
- description string
A description of the Content Library.
- name string
The name of the Content Library.
- publication
Content
Library Publication Args Options to publish a local Content Library.
- storage
Backings string[] The managed object reference ID on which to store Content Library items.
- subscription
Content
Library Subscription Args Options to publish a local Content Library.
- description str
A description of the Content Library.
- name str
The name of the Content Library.
- publication
Content
Library Publication Args Options to publish a local Content Library.
- storage_
backings Sequence[str] The managed object reference ID on which to store Content Library items.
- subscription
Content
Library Subscription Args 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.
- storage
Backings 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
- Authentication
Method string Method to log into remote Content Library. Must be
NONE
orBASIC
.- Password string
Password to log in with.
- Publish
Url 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.
- Authentication
Method string Method to log into remote Content Library. Must be
NONE
orBASIC
.- Password string
Password to log in with.
- Publish
Url 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.
- authentication
Method String Method to log into remote Content Library. Must be
NONE
orBASIC
.- password String
Password to log in with.
- publish
Url 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 string Method to log into remote Content Library. Must be
NONE
orBASIC
.- password string
Password to log in with.
- publish
Url 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
orBASIC
.- 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.
- authentication
Method String Method to log into remote Content Library. Must be
NONE
orBASIC
.- password String
Password to log in with.
- publish
Url 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
- Authentication
Method string Method to log into remote Content Library. Must be
NONE
orBASIC
.- Automatic
Sync bool Enable automatic synchronization with the external content library.
- On
Demand bool Download all library content immediately.
- Password string
Password to log in with.
- Subscription
Url string URL of remote Content Library.
- Username string
User name to log in with.
- Authentication
Method string Method to log into remote Content Library. Must be
NONE
orBASIC
.- Automatic
Sync bool Enable automatic synchronization with the external content library.
- On
Demand bool Download all library content immediately.
- Password string
Password to log in with.
- Subscription
Url string URL of remote Content Library.
- Username string
User name to log in with.
- authentication
Method String Method to log into remote Content Library. Must be
NONE
orBASIC
.- automatic
Sync Boolean Enable automatic synchronization with the external content library.
- on
Demand Boolean Download all library content immediately.
- password String
Password to log in with.
- subscription
Url String URL of remote Content Library.
- username String
User name to log in with.
- authentication
Method string Method to log into remote Content Library. Must be
NONE
orBASIC
.- automatic
Sync boolean Enable automatic synchronization with the external content library.
- on
Demand boolean Download all library content immediately.
- password string
Password to log in with.
- subscription
Url 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
orBASIC
.- 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.
- authentication
Method String Method to log into remote Content Library. Must be
NONE
orBASIC
.- automatic
Sync Boolean Enable automatic synchronization with the external content library.
- on
Demand Boolean Download all library content immediately.
- password String
Password to log in with.
- subscription
Url 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.