vsphere.ContentLibrary
Explore with Pulumi AI
Create 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 of the datastore on which to store the content library items.
- Description string
A description for the content library.
- Name string
The name of the content library.
- Publication
Pulumi.
VSphere. Inputs. Content Library Publication Options to publish a local content library.
- Subscription
Pulumi.
VSphere. Inputs. Content Library Subscription Options subscribe to a published content library.
- Storage
Backings []string The managed object reference ID of the datastore on which to store the content library items.
- Description string
A description for 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 subscribe to a published content library.
- storage
Backings List<String> The managed object reference ID of the datastore on which to store the content library items.
- description String
A description for the content library.
- name String
The name of the content library.
- publication
Content
Library Publication Options to publish a local content library.
- subscription
Content
Library Subscription Options subscribe to a published content library.
- storage
Backings string[] The managed object reference ID of the datastore on which to store the content library items.
- description string
A description for the content library.
- name string
The name of the content library.
- publication
Content
Library Publication Options to publish a local content library.
- subscription
Content
Library Subscription Options subscribe to a published content library.
- storage_
backings Sequence[str] The managed object reference ID of the datastore on which to store the content library items.
- description str
A description for 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 subscribe to a published content library.
- storage
Backings List<String> The managed object reference ID of the datastore on which to store the content library items.
- description String
A description for 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 subscribe to a published 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 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 for the content library.
- Name string
The name of the content library.
- Publication
Pulumi.
VSphere. Inputs. Content Library Publication Options to publish a local content library.
- Storage
Backings List<string> The managed object reference ID of the datastore on which to store the content library items.
- Subscription
Pulumi.
VSphere. Inputs. Content Library Subscription Options subscribe to a published content library.
- Description string
A description for 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 of the datastore on which to store the content library items.
- Subscription
Content
Library Subscription Args Options subscribe to a published content library.
- description String
A description for the content library.
- name String
The name of the content library.
- publication
Content
Library Publication Options to publish a local content library.
- storage
Backings List<String> The managed object reference ID of the datastore on which to store the content library items.
- subscription
Content
Library Subscription Options subscribe to a published content library.
- description string
A description for the content library.
- name string
The name of the content library.
- publication
Content
Library Publication Options to publish a local content library.
- storage
Backings string[] The managed object reference ID of the datastore on which to store the content library items.
- subscription
Content
Library Subscription Options subscribe to a published content library.
- description str
A description for 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 of the datastore on which to store the content library items.
- subscription
Content
Library Subscription Args Options subscribe to a published content library.
- description String
A description for the content library.
- name String
The name of the content library.
- publication Property Map
Options to publish a local content library.
- storage
Backings List<String> The managed object reference ID of the datastore on which to store the content library items.
- subscription Property Map
Options subscribe to a published content library.
Supporting Types
ContentLibraryPublication, ContentLibraryPublicationArgs
- Authentication
Method string Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- Password string
Password used for authentication.
- Publish
Url string The URL of the published content library.
- Published bool
Publish the content library. Default
false
.- Username string
Username used for authentication.
- Authentication
Method string Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- Password string
Password used for authentication.
- Publish
Url string The URL of the published content library.
- Published bool
Publish the content library. Default
false
.- Username string
Username used for authentication.
- authentication
Method String Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- password String
Password used for authentication.
- publish
Url String The URL of the published content library.
- published Boolean
Publish the content library. Default
false
.- username String
Username used for authentication.
- authentication
Method string Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- password string
Password used for authentication.
- publish
Url string The URL of the published content library.
- published boolean
Publish the content library. Default
false
.- username string
Username used for authentication.
- authentication_
method str Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- password str
Password used for authentication.
- publish_
url str The URL of the published content library.
- published bool
Publish the content library. Default
false
.- username str
Username used for authentication.
- authentication
Method String Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- password String
Password used for authentication.
- publish
Url String The URL of the published content library.
- published Boolean
Publish the content library. Default
false
.- username String
Username used for authentication.
ContentLibrarySubscription, ContentLibrarySubscriptionArgs
- Authentication
Method string Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- Automatic
Sync bool Enable automatic synchronization with the published library. Default
false
.- On
Demand bool Download the library from a content only when needed. Default
true
.- Password string
Password used for authentication.
- Subscription
Url string URL of the published content library.
- Username string
Username used for authentication.
- Authentication
Method string Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- Automatic
Sync bool Enable automatic synchronization with the published library. Default
false
.- On
Demand bool Download the library from a content only when needed. Default
true
.- Password string
Password used for authentication.
- Subscription
Url string URL of the published content library.
- Username string
Username used for authentication.
- authentication
Method String Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- automatic
Sync Boolean Enable automatic synchronization with the published library. Default
false
.- on
Demand Boolean Download the library from a content only when needed. Default
true
.- password String
Password used for authentication.
- subscription
Url String URL of the published content library.
- username String
Username used for authentication.
- authentication
Method string Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- automatic
Sync boolean Enable automatic synchronization with the published library. Default
false
.- on
Demand boolean Download the library from a content only when needed. Default
true
.- password string
Password used for authentication.
- subscription
Url string URL of the published content library.
- username string
Username used for authentication.
- authentication_
method str Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- automatic_
sync bool Enable automatic synchronization with the published library. Default
false
.- on_
demand bool Download the library from a content only when needed. Default
true
.- password str
Password used for authentication.
- subscription_
url str URL of the published content library.
- username str
Username used for authentication.
- authentication
Method String Authentication method to connect ro a published content library. Must be
NONE
orBASIC
.- automatic
Sync Boolean Enable automatic synchronization with the published library. Default
false
.- on
Demand Boolean Download the library from a content only when needed. Default
true
.- password String
Password used for authentication.
- subscription
Url String URL of the published content library.
- username String
Username used for authentication.
Package Details
- Repository
- vSphere pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
vsphere
Terraform Provider.