Options
All
  • Public
  • Public/Protected
  • All
Menu

Company.

Hierarchy

Index

Constructors

constructor

Accessors

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.

entityType

entityType:

hasIlandBackup

hasIlandBackup:

Indicates whether the company has the iland backup product.

hasIlandCloud

hasIlandCloud:

Indicates whether the company has the iland cloud product.

hasIlandObjectStorage

hasIlandObjectStorage:

Indicates whether the company has the iland Object Storage product

json

json:

Gets the raw JSON object from the API.

name

name:

Gets the name.

updatedDate

updatedDate:

Gets the last date that the entity was updated.

uuid

uuid:

Gets the UUID.

Methods

createRole

createSupportTicket

createUser

deleteLogo

  • deleteLogo(): Promise<any>

deleteRole

  • deleteRole(uuid: string): Promise<void>
  • Deletes a new company role.

    Parameters

    • uuid: string

    Returns Promise<void>

    a promise that indicates success or failure

getCatalogs

  • getCatalogs(locationId: string): Promise<Array<Catalog>>

getCloudTenantBillingHistory

  • getCloudTenantBillingHistory(location?: undefined | string, startYear?: undefined | number, startMonth?: undefined | number, endYear?: undefined | number, endMonth?: undefined | number): Promise<CloudTenantBillHistory>
  • Get the billing history for the cloud tenants.

    Parameters

    • Optional location: undefined | string
    • Optional startYear: undefined | number
    • Optional startMonth: undefined | number
    • Optional endYear: undefined | number
    • Optional endMonth: undefined | number

    Returns Promise<CloudTenantBillHistory>

    promise resolving to the cloud tenant billing history

getCloudTenants

  • getCloudTenants(location?: undefined | string): Promise<Array<CloudTenant>>

getEdges

  • getEdges(locationId: string): Promise<Array<Edge>>

getLogo

  • getLogo(): Promise<Uint8Array | null>

getMedia

  • getMedia(locationId: string): Promise<Array<Media>>

getOrgVdcNetworks

getOrganizations

  • getOrganizations(locationId: string): Promise<Array<Org>>

getRole

  • getRole(uuid: string): Promise<Role>

getRoles

  • getRoles(): Promise<Array<Role>>

getSupportTicket

getSupportTicketRegardingOptions

getSupportTickets

  • getSupportTickets(offset?: undefined | number, limit?: undefined | number, search?: undefined | string): Promise<Array<SupportTicket>>
  • Get all support tickets

    Parameters

    • Optional offset: undefined | number
    • Optional limit: undefined | number
    • Optional search: undefined | string

    Returns Promise<Array<SupportTicket>>

getTasks

getUserDomains

  • getUserDomains(): Promise<Array<string>>
  • A company may have multiple user domains if they have users that are shared with other companies. This method returns the identifiers for all domains that are associated with this company.

    Returns Promise<Array<string>>

    a promise with the list of the company user domains

getUsers

getUsersWithRole

  • getUsersWithRole(roleUuid: string): Promise<Array<User>>
  • Gets all company users that are assigned to a specified role.

    Parameters

    • roleUuid: string

    Returns Promise<Array<User>>

    a promise with the list of the company users that are assigned to the role

getVappNetworks

  • getVappNetworks(locationId: string): Promise<Array<VappNetwork>>

getVappTemplates

  • getVappTemplates(locationId: string): Promise<Array<VappTemplate>>

getVapps

  • getVapps(locationId: string): Promise<Array<Vapp>>

getVdcs

  • getVdcs(locationId: string): Promise<Array<Vdc>>

getVms

  • getVms(locationId: string): Promise<Array<Vm>>

getVpgs

refresh

search

  • search(query?: undefined | string, pageOffset?: undefined | number, pageSize?: undefined | number): Promise<SearchResult>
  • Perform a full-text search of entities pertaining to this company.

    Parameters

    • Optional query: undefined | string

      Query string

    • Optional pageOffset: undefined | number

      Page offset for return documents

    • Optional pageSize: undefined | number

      Number of hits per page (default value is 10 and maximum is 50)

    Returns Promise<SearchResult>

    a promise that resolves with a SearchResult

setLogo

  • setLogo(logo: Uint8Array): Promise<any>

toString

  • toString(): string

updateRole

updateSupportTicket

Static getCompany

  • getCompany(id: string): Promise<Company>

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