Options
All
  • Public
  • Public/Protected
  • All
Menu

Virtual Data Center.

Hierarchy

Implements

Index

Constructors

constructor

Properties

apiPrefix

apiPrefix: string = "/vdcs"

getPerfCounters

getPerfCounters: function

Type declaration

getPerfSamples

getPerfSamples: function

Type declaration

Accessors

allocatedCpu

allocatedCpu:

Gets the amount of CPU allocated

allocatedMemory

allocatedMemory:

Gets the amount of memory allocated

allocationModel

allocationModel:

Gets the vDC allocation json

companyId

companyId:

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

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.

description

description:

Gets the description.

diskLimit

diskLimit:

Gets the disk limit within the vDc.

enabled

enabled:

Indicates whether the vDC is enabled.

entityType

entityType:

json

json:

Gets the raw JSON object from the API.

locationId

locationId:

Gets the datacenter location identifier.

maxHardwareVersion

maxHardwareVersion:

Gets the maximum hardware version of the vDC.

name

name:

Gets the name.

networkQuota

networkQuota:

Gets the network quota.

orgUuid

orgUuid:

Gets the UUID of the organization that the vDC is associated with.

reservedCpu

reservedCpu:

Gets the amount of reserved CPU

reservedMemory

reservedMemory:

Gets the amount of reserved memory.

updatedDate

updatedDate:

Gets the last date that the entity was updated.

usedNetworkCount

usedNetworkCount:

Gets the number of networks that exist within this vDC.

uuid

uuid:

Gets the UUID.

vcenterHref

vcenterHref:

Gets the vCenter HREF

vcenterInstanceUuid

vcenterInstanceUuid:

Gets the vCenter instance UUID.

vcenterMoref

vcenterMoref:

Gets the vCenter HREF.

vcenterName

vcenterName:

Gets the vCenter name.

vcloudHref

vcloudHref:

Gets the vCloud HREF

Methods

addVappFromTemplate

buildVapp

createOrgVdcNetwork

deleteMetadata

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

    Parameters

    • metadataKey: string

      the key of the metadata entry to delete

    Returns Promise<Task>

    task promise

emailEventHistory

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

    Parameters

    • email: string

    Returns Promise<void>

    there is no response object.

generateVmInventoryReport

  • generateVmInventoryReport(emailOnCompletion?: undefined | false | true, email?: undefined | string): Promise<Task>
  • Generate the vm inventory report for a given vDC.

    Parameters

    • Optional emailOnCompletion: undefined | false | true

      Whether to email the report upon successful generation

    • Optional email: undefined | string

      email address to send the report to if emailOnCompletion is true, defaults to the user's profile email if not specified

    Returns Promise<Task>

    promise Promise that resolves with a Task

getBilling

  • getBilling(year?: undefined | number, month?: undefined | number): Promise<Bill>
  • Get billing for a specified billing period. If the billing period is not specified, the current billing period is used.

    Parameters

    • Optional year: undefined | number

      the year

    • Optional month: undefined | number

      the month in range 0-11

    Returns Promise<Bill>

    a promise that resolves with the bill

getCostOverInvoicePeriodSerie

  • getCostOverInvoicePeriodSerie(year?: undefined | number, month?: undefined | number, additionalFields?: Array<string>): Promise<BillingSampleSerie>
  • Gets the cost over invoice period samples for the vDC and specified billing period.

    Parameters

    • Optional year: undefined | number

      the year

    • Optional month: undefined | number

      the month in range 1-12

    • Optional additionalFields: Array<string>

      any additional bill fields that should be included in the results

    Returns Promise<BillingSampleSerie>

    a promise that resolves with the sample series

getCurrentBilling

getEdges

  • getEdges(): Promise<Array<Edge>>
  • Get the edges for the vDC.

    Returns Promise<Array<Edge>>

    promise that resolves with a list of edges

getMedias

  • getMedias(): Promise<Array<Media>>
  • Get media for the vDC.

    Returns Promise<Array<Media>>

    promise that is resolved with a list of media

getMetadata

getOrgVdcNetworks

  • Gets all org-vdc networks within this vDC.

    Returns Promise<Array<InternalNetwork>>

    a promise that resolves with the list of org-vdc networks.

getStorageProfileSummary

  • Gets the storage profile summary for this vDC and the specified billing period.

    Parameters

    • Optional year: undefined | number

      the year

    • Optional month: undefined | number

      the month in range 1-12.

    Returns Promise<VdcStorageProfileSummary>

    a promise that resolves with the storage profile summary

getStorageProfiles

  • getStorageProfiles(includeDisabled?: undefined | false | true): Promise<Array<StorageProfile>>
  • Get all storage profiles for the vDC.

    Parameters

    • Optional includeDisabled: undefined | false | true

      whether to also return disabled storage profiles

    Returns Promise<Array<StorageProfile>>

    a promise that resolves with the list of storage profiles

getSummary

getVappBills

  • getVappBills(month?: undefined | number, year?: undefined | number): Promise<Array<Bill>>
  • Get bills for all child vapps for the specified billing period. If the billing period is not specified, the current billing period is used.

    Parameters

    • Optional month: undefined | number

      the month in range 0-11

    • Optional year: undefined | number

      the year

    Returns Promise<Array<Bill>>

    a promise that resolves with the list of vapp bills

getVappResourceSummaries

getVapps

  • getVapps(): Promise<Array<Vapp>>
  • Gets the vDCs child vApps.

    Returns Promise<Array<Vapp>>

    promise that resolves with an array of child vApps

getVmBills

  • getVmBills(month?: undefined | number, year?: undefined | number): Promise<Array<Bill>>
  • Get bills for all child VMs for the specified billing period. If the billing period is not specified, the current billing period is used.

    Parameters

    • Optional month: undefined | number

      the month in range 0-11

    • Optional year: undefined | number

      the year

    Returns Promise<Array<Bill>>

    a promise that resolves with the list of VM bills

getVmInventoryReports

  • Get the VM inventory reports available for download for the given vDC.

    Parameters

    Returns Promise<Array<ReportHeader>>

    promise Promise that resolves with a list of report headers

getVmResourceSummaries

getVms

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

    Returns Promise<Array<Vm>>

    promise that resolves with an array of child VMs

refresh

  • refresh(): Promise<Vdc>

toString

  • toString(): string

updateMetadata

Static getVdc

  • getVdc(uuid: string): Promise<Vdc>
  • Gets a vDC by UUID.

    Parameters

    • uuid: string

      vDC UUID

    Returns Promise<Vdc>

    promise that resolves with the vDC

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