hana-cli
Version:
HANA Developer Command Line Interface
106 lines (105 loc) • 2.84 kB
TypeScript
/**
* Read central configuration file for XSA CLI
* @returns {Promise<object>}
*/
export function getCFConfig(): Promise<object>;
/**
* Clear XS config cache (useful for testing or forced refresh)
* @returns {void}
*/
export function clearXSConfigCache(): void;
/**
* Get target organization
* @returns {Promise<object>}
*/
export function getCFOrg(): Promise<object>;
/**
* Get target organization name
* @returns {Promise<string>}
*/
export function getCFOrgName(): Promise<string>;
/**
* Get target organization GUID
* @returns {Promise<string>}
*/
export function getCFOrgGUID(): Promise<string>;
/**
* Get target space details
* @returns {Promise<object>}
*/
export function getCFSpace(): Promise<object>;
/**
* Get target space name
* @returns {Promise<string>}
*/
export function getCFSpaceName(): Promise<string>;
/**
* Get target space GUID
* @returns {Promise<string>}
*/
export function getCFSpaceGUID(): Promise<string>;
/**
* Get current targets
* @returns {Promise<string>}
*/
export function getCFTarget(): Promise<string>;
/**
* Get all instances of service plan hana
* @returns {Promise<object[]>}
*/
export function getHANAInstances(): Promise<object[]>;
/**
* Get instances of service plan hana that match input name
* @param {string} name - service instance name
* @returns {Promise<object[]>}
*/
export function getHANAInstanceByName(name: string): Promise<object[]>;
/**
* Get all services
* @returns {Promise<object[]>}
*/
export function getServices(): Promise<object[]>;
/**
* Get all service plans for a service
* @param {string} serviceGUID - service GUID
* @returns {Promise<object[]>}
*/
export function getServicePlans(serviceGUID: string): Promise<object[]>;
/**
* Get Service GUID by service name
* @param {string} service - Service name
* @returns {Promise<string>}
*/
export function getServiceGUID(service: string): Promise<string>;
/**
* Get Service Plan GUID
* @param {string} serviceGUID - Service GUID
* @param {string} servicePlan - Service Plan Name
* @returns {Promise<string>}
*/
export function getServicePlanGUID(serviceGUID: string, servicePlan: string): Promise<string>;
/**
* Get all HDI service instances
* @returns {Promise<object[]>}
*/
export function getHDIInstances(): Promise<object[]>;
/**
* Get all SBSS service instances
* @returns {Promise<object[]>}
*/
export function getSbssInstances(): Promise<object[]>;
/**
* Get all SecureStore service instances
* @returns {Promise<object[]>}
*/
export function getSecureStoreInstances(): Promise<object[]>;
/**
* Get all Schema service instances
* @returns {Promise<object[]>}
*/
export function getSchemaInstances(): Promise<object[]>;
/**
* Get all User Provided Service Instances
* @returns {Promise<object[]>}
*/
export function getUpsInstances(): Promise<object[]>;