Options
All
  • Public
  • Public/Protected
  • All
Menu

Virtual Application.

Hierarchy

Implements

Index

Constructors

constructor

Properties

apiPrefix

apiPrefix: string = "/vapps"

getPerfCounters

getPerfCounters: function

Type declaration

getPerfSamples

getPerfSamples: function

Type declaration

Accessors

allocationModel

allocationModel:

Get Vapp's Vdc Allocation Model

companyId

companyId:

Gets the ID of the company that the entity belongs to.

creationDate

creationDate:

Gets the date that this vApp was created.

deleted

deleted:

Indicates whether the entity is deleted.

deletedDate

deletedDate:

Gets the date that the entity was deleted, or null if it is not deleted.

deployed

deployed:

Indicates whether this vApp is currently deployed.

description

description:

Gets the vApps description.

entityType

entityType:

expired

expired:

Indicates whether this vApp is currently in the expired items bin.

json

json:

Gets the raw JSON object from the API.

locationId

locationId:

Gets the datacenter location identifier for the vApp.

name

name:

Gets the name.

orgUuid

orgUuid:

Gets the UUID of the Org that this vApp is associated with.

powerStatus

powerStatus:

Gets the vApps current power status.

runtimeLease

runtimeLease:

Gets the runtime lease setting, in seconds.

runtimeLeaseExpirationDate

runtimeLeaseExpirationDate:

Gets the expiration date of the runtime lease, if one is currently active.

storageLease

storageLease:

Gets the storage lease setting, in seconds.

storageLeaseExpirationDate

storageLeaseExpirationDate:

Gets the expiration date of the storage lease, if one is currently active.

storageProfiles

storageProfiles:

Gets the storage profiles that are associated with this VM

updatedDate

updatedDate:

Gets the last date that the entity was updated.

uuid

uuid:

Gets the UUID.

vcloudHref

vcloudHref:

Gets the vCloud HREF of the vApp.

vdcUuid

vdcUuid:

Gets the UUID of the vDC that this vApp is associated with.

Methods

addOrgVdcNetwork

  • addOrgVdcNetwork(networkUuid: string): Promise<Task>
  • Adds an org vDC network to the vApp.

    Parameters

    • networkUuid: string

      the UUID of the org vDC network

    Returns Promise<Task>

    a promise that resolves with the task details

addVappNetwork

buildVms

copyVapp

createSnapshot

deleteMetadata

  • deleteMetadata(metadataKey: string): Promise<Task>
  • Deletes a metadata entry.

    Parameters

    • metadataKey: string

      the key of the metadata entry to delete

    Returns Promise<Task>

    task promise

deleteVapp

  • deleteVapp(): Promise<Task>

emailEventHistory

  • emailEventHistory(email: string): Promise<void>
  • Retrieve a CSV report email with all event history for a given vApp.

    Parameters

    • email: string

    Returns Promise<void>

    there is no response object.

enableDownload

  • enableDownload(): Promise<Task>
  • Enable the download of the vapp. Returns a TaskResponse which monitors the progress of the download.

    Returns Promise<Task>

    promise Promise that resolves with a Task

getAvailableStorageProfiles

getBilling

  • getBilling(year?: undefined | number, month?: undefined | number): Promise<Bill>
  • Returns vApp Billing for a given invoice period. If month and year are not explicitly supplied the current invoice period is used.

    Parameters

    • Optional year: undefined | number

      the invoice period year (defaults to current year)

    • Optional month: undefined | number

      the invoice period month (defaults to the current month) must be in range 1-12

    Returns Promise<Bill>

    promise Promise that resolves with billing for the vApp and given invoice period

getCurrentBilling

getDownloadDetails

  • Gets download details for the vApp. Details include whether the vapp is enabled for download, and, if enabled, the size and name of the download.

    Returns Promise<VappDownloadDetails>

    promise Promise that resolves with VappDownloadDetails

getMetadata

getSnapshot

getStartupSection

getSummary

getVappNetworks

  • Gets the vApps child vApp Networks.

    Returns Promise<Array<VappNetwork>>

    promise that resolves with an array of child vApp Networks

getVmResourceSummaryMap

getVms

  • getVms(): Promise<Array<Vm>>
  • Gets the vApps child VMs.

    Returns Promise<Array<Vm>>

    promise that resolves with an array of child VMs

hasVappSnapshot

managedShutdown

  • managedShutdown(): Promise<Task>
  • Managed shutdown of the vApp using the vApp's startup section settings.

    Returns Promise<Task>

    promise Promise that resolves with a Task

moveVapp

powerOffVapp

  • powerOffVapp(): Promise<Task>

powerOnVapp

  • powerOnVapp(forceGuestCustomization?: undefined | false | true): Promise<Task>
  • Power on the vApp.

    Parameters

    • Optional forceGuestCustomization: undefined | false | true

      Optional param to force guest re-customization on restart defaults to false

    Returns Promise<Task>

    promise Promise that resolves with a Task

rebootVapp

  • rebootVapp(): Promise<Task>

refresh

  • refresh(): Promise<Vapp>

removeSnapshot

  • removeSnapshot(): Promise<Task>

resetVapp

  • resetVapp(): Promise<Task>

restoreSnapshot

  • restoreSnapshot(): Promise<Task>

shutdownVapp

  • shutdownVapp(): Promise<Task>
  • Shutdown the vApp. This action requires VMWare Tools to be installed on each VM in the vApp.

    Returns Promise<Task>

    promise Promise that resolves with a Task

suspendVapp

  • suspendVapp(): Promise<Task>

toString

  • toString(): string

updateDescription

updateMetadata

updateName

updateRuntimeLease

updateStartupSection

updateStorageLease

Static getVapp

  • getVapp(uuid: string): Promise<Vapp>
  • Gets a vApp by UUID.

    Parameters

    • uuid: string

      vApp UUID

    Returns Promise<Vapp>

    promise that resolves with the vApp

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc