Show / Hide Table of Contents

Class GetContentLibrary

Inheritance
System.Object
GetContentLibrary
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public static class GetContentLibrary

Methods

View Source

InvokeAsync(GetContentLibraryArgs, InvokeOptions)

The vsphere..ContentLibrary data source can be used to discover the ID of a Content Library.

NOTE: This resource requires vCenter and is not available on direct ESXi connections.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using VSphere = Pulumi.VSphere;

class MyStack : Stack
{
public MyStack()
{
    var library = Output.Create(VSphere.GetContentLibrary.InvokeAsync(new VSphere.GetContentLibraryArgs
    {
        Name = "Content Library Test",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetContentLibraryResult> InvokeAsync(GetContentLibraryArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetContentLibraryArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetContentLibraryResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.