VMware vSphere Automation SDK for .NET 7.0.0.1
|
The LibraryItems
interface provides methods to deploy virtual machines from library items containing virtual machine templates, as well as methods to create library items containing virtual machine templates.
More...
Inherited by vmware::vcenter::vm_template::LibraryItemsStub.
Public Member Functions | |
string | Create (vmware.vcenter.vm_template.LibraryItemsTypes.CreateSpec spec) |
Creates a library item in content library from a virtual machine. | |
string | Create (vmware.vcenter.vm_template.LibraryItemsTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Creates a library item in content library from a virtual machine. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (vmware.vcenter.vm_template.LibraryItemsTypes.CreateSpec spec) |
Creates a library item in content library from a virtual machine. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (vmware.vcenter.vm_template.LibraryItemsTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Creates a library item in content library from a virtual machine. | |
string | Deploy (string templateLibraryItem, vmware.vcenter.vm_template.LibraryItemsTypes.DeploySpec spec) |
Deploys a virtual machine as a copy of the source virtual machine template contained in the library item specified by templateLibraryItem . | |
string | Deploy (string templateLibraryItem, vmware.vcenter.vm_template.LibraryItemsTypes.DeploySpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Deploys a virtual machine as a copy of the source virtual machine template contained in the library item specified by templateLibraryItem . | |
global::System.Threading.Tasks.Task < string > | DeployAsync (string templateLibraryItem, vmware.vcenter.vm_template.LibraryItemsTypes.DeploySpec spec) |
Deploys a virtual machine as a copy of the source virtual machine template contained in the library item specified by templateLibraryItem . | |
global::System.Threading.Tasks.Task < string > | DeployAsync (string templateLibraryItem, vmware.vcenter.vm_template.LibraryItemsTypes.DeploySpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Deploys a virtual machine as a copy of the source virtual machine template contained in the library item specified by templateLibraryItem . | |
vmware.vcenter.vm_template.LibraryItemsTypes.Info | Get (string templateLibraryItem) |
Returns information about a virtual machine template contained in the library item specified by templateLibraryItem . | |
vmware.vcenter.vm_template.LibraryItemsTypes.Info | Get (string templateLibraryItem, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about a virtual machine template contained in the library item specified by templateLibraryItem . | |
global::System.Threading.Tasks.Task < vmware.vcenter.vm_template.LibraryItemsTypes.Info > | GetAsync (string templateLibraryItem) |
Returns information about a virtual machine template contained in the library item specified by templateLibraryItem . | |
global::System.Threading.Tasks.Task < vmware.vcenter.vm_template.LibraryItemsTypes.Info > | GetAsync (string templateLibraryItem, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about a virtual machine template contained in the library item specified by templateLibraryItem . |
The LibraryItems
interface provides methods to deploy virtual machines from library items containing virtual machine templates, as well as methods to create library items containing virtual machine templates.
The LibraryItems
interface also provides an operation to retrieve information about the template contained in the library item. This interface was added in vSphere API 6.8.
string vmware::vcenter::vm_template::LibraryItems::Create | ( | vmware.vcenter.vm_template.LibraryItemsTypes.CreateSpec | spec | ) |
Creates a library item in content library from a virtual machine.
This method creates a library item in content library whose content is a virtual machine template created from the source virtual machine, using the supplied create specification. The virtual machine template is stored in a newly created library item. This method was added in vSphere API 6.8.
vmware.vapi.std.errors.AlreadyExists | if an entity with the name specified by LibraryItems.CreateSpec.name already exists in the folder specified by LibraryItems.CreatePlacementSpec.folder |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if LibraryItems.CreateSpec contains invalid arguments. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the operation cannot be performed because of the source virtual machine's current state. |
vmware.vapi.std.errors.NotFound | if the source virtual machine specified by LibraryItems.CreateSpec.sourceVm does not exist. |
vmware.vapi.std.errors.NotFound | if the library specified by LibraryItems.CreateSpec.library does not exist. |
vmware.vapi.std.errors.ResourceInaccessible | if there was an error accessing a file from the source virtual machine. |
vmware.vapi.std.errors.ResourceInUse | if the source virtual machine is busy. |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.UnableToAllocateResource | if any of the resources needed to create the virtual machine template could not be allocated. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | information used to create the library item from the source virtual machine. |
com.vmware.content.library.Item
. Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
string vmware::vcenter::vm_template::LibraryItems::Create | ( | vmware.vcenter.vm_template.LibraryItemsTypes.CreateSpec | spec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Creates a library item in content library from a virtual machine.
This method creates a library item in content library whose content is a virtual machine template created from the source virtual machine, using the supplied create specification. The virtual machine template is stored in a newly created library item. This method was added in vSphere API 6.8.
vmware.vapi.std.errors.AlreadyExists | if an entity with the name specified by LibraryItems.CreateSpec.name already exists in the folder specified by LibraryItems.CreatePlacementSpec.folder |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if LibraryItems.CreateSpec contains invalid arguments. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the operation cannot be performed because of the source virtual machine's current state. |
vmware.vapi.std.errors.NotFound | if the source virtual machine specified by LibraryItems.CreateSpec.sourceVm does not exist. |
vmware.vapi.std.errors.NotFound | if the library specified by LibraryItems.CreateSpec.library does not exist. |
vmware.vapi.std.errors.ResourceInaccessible | if there was an error accessing a file from the source virtual machine. |
vmware.vapi.std.errors.ResourceInUse | if the source virtual machine is busy. |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.UnableToAllocateResource | if any of the resources needed to create the virtual machine template could not be allocated. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | information used to create the library item from the source virtual machine. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.content.library.Item
. Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
global::System.Threading.Tasks.Task<string> vmware::vcenter::vm_template::LibraryItems::CreateAsync | ( | vmware.vcenter.vm_template.LibraryItemsTypes.CreateSpec | spec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Creates a library item in content library from a virtual machine.
This method creates a library item in content library whose content is a virtual machine template created from the source virtual machine, using the supplied create specification. The virtual machine template is stored in a newly created library item. This method was added in vSphere API 6.8.
vmware.vapi.std.errors.AlreadyExists | if an entity with the name specified by LibraryItems.CreateSpec.name already exists in the folder specified by LibraryItems.CreatePlacementSpec.folder |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if LibraryItems.CreateSpec contains invalid arguments. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the operation cannot be performed because of the source virtual machine's current state. |
vmware.vapi.std.errors.NotFound | if the source virtual machine specified by LibraryItems.CreateSpec.sourceVm does not exist. |
vmware.vapi.std.errors.NotFound | if the library specified by LibraryItems.CreateSpec.library does not exist. |
vmware.vapi.std.errors.ResourceInaccessible | if there was an error accessing a file from the source virtual machine. |
vmware.vapi.std.errors.ResourceInUse | if the source virtual machine is busy. |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.UnableToAllocateResource | if any of the resources needed to create the virtual machine template could not be allocated. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | information used to create the library item from the source virtual machine. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.content.library.Item
. Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
global::System.Threading.Tasks.Task<string> vmware::vcenter::vm_template::LibraryItems::CreateAsync | ( | vmware.vcenter.vm_template.LibraryItemsTypes.CreateSpec | spec | ) |
Creates a library item in content library from a virtual machine.
This method creates a library item in content library whose content is a virtual machine template created from the source virtual machine, using the supplied create specification. The virtual machine template is stored in a newly created library item. This method was added in vSphere API 6.8.
vmware.vapi.std.errors.AlreadyExists | if an entity with the name specified by LibraryItems.CreateSpec.name already exists in the folder specified by LibraryItems.CreatePlacementSpec.folder |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if LibraryItems.CreateSpec contains invalid arguments. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the operation cannot be performed because of the source virtual machine's current state. |
vmware.vapi.std.errors.NotFound | if the source virtual machine specified by LibraryItems.CreateSpec.sourceVm does not exist. |
vmware.vapi.std.errors.NotFound | if the library specified by LibraryItems.CreateSpec.library does not exist. |
vmware.vapi.std.errors.ResourceInaccessible | if there was an error accessing a file from the source virtual machine. |
vmware.vapi.std.errors.ResourceInUse | if the source virtual machine is busy. |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.UnableToAllocateResource | if any of the resources needed to create the virtual machine template could not be allocated. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | information used to create the library item from the source virtual machine. |
com.vmware.content.library.Item
. Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
string vmware::vcenter::vm_template::LibraryItems::Deploy | ( | string | templateLibraryItem, |
vmware.vcenter.vm_template.LibraryItemsTypes.DeploySpec | spec | ||
) |
Deploys a virtual machine as a copy of the source virtual machine template contained in the library item specified by templateLibraryItem .
It uses the deployment specification in spec . If LibraryItems.DeploySpec.poweredOn and/or LibraryItems.DeploySpec.guestCustomization are specified, the server triggers the power on and/or guest customization operations, which are executed asynchronously. This method was added in vSphere API 6.8.
vmware.vapi.std.errors.AlreadyExists | if a virtual machine with the name specified by LibraryItems.DeploySpec.name already exists. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contains invalid arguments. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if either a specified host or a specified datastore is in an invalid state for the deployment, such as maintenance mode. |
vmware.vapi.std.errors.NotFound | if the library item specified by templateLibraryItem cannot be found. |
vmware.vapi.std.errors.NotFound | if any resource specified by a field of the LibraryItems.DeploySpec class, specified by spec cannot be found. |
vmware.vapi.std.errors.ResourceInaccessible | if there was an error accessing the source virtual machine template contained in the library item specified by templateLibraryItem . |
vmware.vapi.std.errors.ResourceInaccessible | if there an error accessing any of the resources specified in the spec . |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.UnableToAllocateResource | if there was an error in allocating any of the resources required by the method. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
templateLibraryItem | identifier of the content library item containing the source virtual machine template to be deployed. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
spec | specification of how the virtual machine should be deployed. |
VirtualMachine
. Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
string vmware::vcenter::vm_template::LibraryItems::Deploy | ( | string | templateLibraryItem, |
vmware.vcenter.vm_template.LibraryItemsTypes.DeploySpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Deploys a virtual machine as a copy of the source virtual machine template contained in the library item specified by templateLibraryItem .
It uses the deployment specification in spec . If LibraryItems.DeploySpec.poweredOn and/or LibraryItems.DeploySpec.guestCustomization are specified, the server triggers the power on and/or guest customization operations, which are executed asynchronously. This method was added in vSphere API 6.8.
vmware.vapi.std.errors.AlreadyExists | if a virtual machine with the name specified by LibraryItems.DeploySpec.name already exists. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contains invalid arguments. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if either a specified host or a specified datastore is in an invalid state for the deployment, such as maintenance mode. |
vmware.vapi.std.errors.NotFound | if the library item specified by templateLibraryItem cannot be found. |
vmware.vapi.std.errors.NotFound | if any resource specified by a field of the LibraryItems.DeploySpec class, specified by spec cannot be found. |
vmware.vapi.std.errors.ResourceInaccessible | if there was an error accessing the source virtual machine template contained in the library item specified by templateLibraryItem . |
vmware.vapi.std.errors.ResourceInaccessible | if there an error accessing any of the resources specified in the spec . |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.UnableToAllocateResource | if there was an error in allocating any of the resources required by the method. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
templateLibraryItem | identifier of the content library item containing the source virtual machine template to be deployed. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
spec | specification of how the virtual machine should be deployed. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
VirtualMachine
. Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
global::System.Threading.Tasks.Task<string> vmware::vcenter::vm_template::LibraryItems::DeployAsync | ( | string | templateLibraryItem, |
vmware.vcenter.vm_template.LibraryItemsTypes.DeploySpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Deploys a virtual machine as a copy of the source virtual machine template contained in the library item specified by templateLibraryItem .
It uses the deployment specification in spec . If LibraryItems.DeploySpec.poweredOn and/or LibraryItems.DeploySpec.guestCustomization are specified, the server triggers the power on and/or guest customization operations, which are executed asynchronously. This method was added in vSphere API 6.8.
vmware.vapi.std.errors.AlreadyExists | if a virtual machine with the name specified by LibraryItems.DeploySpec.name already exists. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contains invalid arguments. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if either a specified host or a specified datastore is in an invalid state for the deployment, such as maintenance mode. |
vmware.vapi.std.errors.NotFound | if the library item specified by templateLibraryItem cannot be found. |
vmware.vapi.std.errors.NotFound | if any resource specified by a field of the LibraryItems.DeploySpec class, specified by spec cannot be found. |
vmware.vapi.std.errors.ResourceInaccessible | if there was an error accessing the source virtual machine template contained in the library item specified by templateLibraryItem . |
vmware.vapi.std.errors.ResourceInaccessible | if there an error accessing any of the resources specified in the spec . |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.UnableToAllocateResource | if there was an error in allocating any of the resources required by the method. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
templateLibraryItem | identifier of the content library item containing the source virtual machine template to be deployed. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
spec | specification of how the virtual machine should be deployed. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
VirtualMachine
. Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
global::System.Threading.Tasks.Task<string> vmware::vcenter::vm_template::LibraryItems::DeployAsync | ( | string | templateLibraryItem, |
vmware.vcenter.vm_template.LibraryItemsTypes.DeploySpec | spec | ||
) |
Deploys a virtual machine as a copy of the source virtual machine template contained in the library item specified by templateLibraryItem .
It uses the deployment specification in spec . If LibraryItems.DeploySpec.poweredOn and/or LibraryItems.DeploySpec.guestCustomization are specified, the server triggers the power on and/or guest customization operations, which are executed asynchronously. This method was added in vSphere API 6.8.
vmware.vapi.std.errors.AlreadyExists | if a virtual machine with the name specified by LibraryItems.DeploySpec.name already exists. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contains invalid arguments. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if either a specified host or a specified datastore is in an invalid state for the deployment, such as maintenance mode. |
vmware.vapi.std.errors.NotFound | if the library item specified by templateLibraryItem cannot be found. |
vmware.vapi.std.errors.NotFound | if any resource specified by a field of the LibraryItems.DeploySpec class, specified by spec cannot be found. |
vmware.vapi.std.errors.ResourceInaccessible | if there was an error accessing the source virtual machine template contained in the library item specified by templateLibraryItem . |
vmware.vapi.std.errors.ResourceInaccessible | if there an error accessing any of the resources specified in the spec . |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.UnableToAllocateResource | if there was an error in allocating any of the resources required by the method. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
templateLibraryItem | identifier of the content library item containing the source virtual machine template to be deployed. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
spec | specification of how the virtual machine should be deployed. |
VirtualMachine
. Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
vmware.vcenter.vm_template.LibraryItemsTypes.Info vmware::vcenter::vm_template::LibraryItems::Get | ( | string | templateLibraryItem, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about a virtual machine template contained in the library item specified by templateLibraryItem .
This method was added in vSphere API 6.8.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the library item could not be found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine template's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
templateLibraryItem | identifier of the library item containing the virtual machine template. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
vmware.vcenter.vm_template.LibraryItemsTypes.Info vmware::vcenter::vm_template::LibraryItems::Get | ( | string | templateLibraryItem | ) |
Returns information about a virtual machine template contained in the library item specified by templateLibraryItem .
This method was added in vSphere API 6.8.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the library item could not be found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine template's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
templateLibraryItem | identifier of the library item containing the virtual machine template. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
global::System.Threading.Tasks.Task<vmware.vcenter.vm_template.LibraryItemsTypes.Info> vmware::vcenter::vm_template::LibraryItems::GetAsync | ( | string | templateLibraryItem | ) |
Returns information about a virtual machine template contained in the library item specified by templateLibraryItem .
This method was added in vSphere API 6.8.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the library item could not be found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine template's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
templateLibraryItem | identifier of the library item containing the virtual machine template. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
Implemented in vmware::vcenter::vm_template::LibraryItemsStub.
global::System.Threading.Tasks.Task<vmware.vcenter.vm_template.LibraryItemsTypes.Info> vmware::vcenter::vm_template::LibraryItems::GetAsync | ( | string | templateLibraryItem, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about a virtual machine template contained in the library item specified by templateLibraryItem .
This method was added in vSphere API 6.8.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the library item could not be found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine template's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if any of the services involved in the method are unavailable. |
vmware.vapi.std.errors.Unauthenticated | if the user that requested the method cannot be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user that requested the method is not authorized to perform the method. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
templateLibraryItem | identifier of the library item containing the virtual machine template. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm_template::LibraryItemsStub.