/** * DomainManager service. * @version 4.4.2 * @class DomainManagerApi */ export class DomainManagerApi { /** * Make the default {@link ApiClient} class available for developers to be able to extend it and bring * their own fetch methods into the SDK */ static get ApiClient(): typeof ApiClient; /** * Constructs a new DomainManagerApi. * @alias module:api/DomainManagerApi * @class * @param {module:ApiClient} [apiClient] Optional API client implementation to use, * default to {@link module:ApiClient#instance} if unspecified. */ constructor(apiClient?: any); apiClient: any; /** * Deploy a Prism Central. * Deploys a Prism Central using the provided details. Prism Central Size, Network Config are mandatory fields to deploy Prism Central. The response from this endpoint contains the URL in the. * @param { Required> & Partial } body specification * @param {Object} opts Optional parameters defined for the operation * @param { Boolean } opts.$dryrun A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateDomainManagerApiResponse } and HTTP response */ createDomainManager(body: Required> & Partial, opts: { $dryrun: boolean; }, ...args: any): Promise; /** * Get the requested domain manager (Prism Central) entity. * Fetches the attributes associated with the domain manager (Prism Central) resource based on the provided external identifier. It includes attributes like config, network, node and other information such as size. * @param { String } extId The external identifier of the domain manager (Prism Central) resource. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetDomainManagerApiResponse } and HTTP response */ getDomainManagerById(extId: string, ...args: any): Promise; /** * Get product details * Retrieves the product details along with it's current enablement and resize status. * @param { String } domainManagerExtId The external identifier of the domain manager (Prism Central) resource. * @param { String } extId The product ID for a given product. It can be retrieved using the list request. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetProductApiResponse } and HTTP response */ getProductById(domainManagerExtId: string, extId: string, ...args: any): Promise; /** * List domain manager (Prism Central) configuration details. * Returns a list of elements representing the domain manager (Prism Central) instance. * @param {Object} opts Optional parameters defined for the operation * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. If both $select and $apply query parameters are present, $select will be applied on entities within the groups. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListDomainManagerApiResponse } and HTTP response */ listDomainManagers(opts: { $select: string; }, ...args: any): Promise; /** * List products * Retrieves a list of all products along with their current enablement and resize status. * @param { String } domainManagerExtId The external identifier of the domain manager (Prism Central) resource. * @param {Object} opts Optional parameters defined for the operation * @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. If both $page and $apply query parameters are present, $page will be applied on entities within the groups. * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. If both $limit and $apply query parameters are present, $limit will be applied on entities within the groups. Default value of limit with $apply will be 5. * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.
* For example, filter **$filter=name eq 'karbon-ntnx-1.0'** would filter the result on cluster name 'karbon-ntnx1.0', filter **$filter=startswith(name, 'C')** would filter on cluster name starting with 'C'. If both $filter and $apply query parameters are present, $filter will be applied on entities within the groups. * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. If both $orderby and $apply query parameters are present, $orderby will be applied on entities within the groups. * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. If both $select and $apply query parameters are present, $select will be applied on entities within the groups. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListProductsApiResponse } and HTTP response */ listProducts(domainManagerExtId: string, opts: { $page: number; $limit: number; $filter: string; $orderby: string; $select: string; }, ...args: any): Promise; /** * Register a domain manager (Prism Central) to a cluster. * Registers a domain manager (Prism Central) instance to other entities like PE and PC. This process is asynchronous, creating a registration task and returning its UUID. * @param { Required> & Partial } body specification * @param { String } extId The external identifier of the domain manager (Prism Central) resource. * @param {Object} opts Optional parameters defined for the operation * @param { Boolean } opts.$dryrun A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link RegisterApiResponse } and HTTP response */ register(extId: string, body: Required> & Partial, opts: { $dryrun: boolean; }, ...args: any): Promise; /** * Scale up a Domain Manager cluster to a higher configuration. * Performs a scale-up operation on a Domain Manager cluster to increase its capacity. This operation is asynchronous and returns a task UUID that can be used to track. * @param { Required> & Partial } body specification * @param { String } extId The external identifier of the domain manager (Prism Central) resource. * @param {Object} opts Optional parameters defined for the operation * @param { Boolean } opts.$dryrun A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ScaleUpDomainManagerApiResponse } and HTTP response */ scaleUpDomainManagerById(extId: string, body: Required> & Partial, opts: { $dryrun: boolean; }, ...args: any): Promise; /** * Unregister a registered remote cluster from the local cluster. * Unregister a registered remote cluster from the local cluster. This process is asynchronous, creating an unregisteration task and returning its UUID. * @param { Required> & Partial } body specification * @param { String } extId The external identifier of the domain manager (Prism Central) resource. * @param {Object} opts Optional parameters defined for the operation * @param { Boolean } opts.$dryrun A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UnregisterApiResponse } and HTTP response */ unregister(extId: string, body: Required> & Partial, opts: { $dryrun: boolean; }, ...args: any): Promise; /** * Update the requested domain manager (Prism Central) entity. * Updates Name, FQDN, VIP, and IPv6 VIP attributes of the domain manager (Prism Central) resource. * @param { Required> & Partial } body specification * @param { String } extId The external identifier of the domain manager (Prism Central) resource. * @param {Object} opts Optional parameters defined for the operation * @param { Boolean } opts.$dryrun A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateDomainManagerApiResponse } and HTTP response */ updateDomainManagerById(extId: string, body: Required> & Partial, opts: { $dryrun: boolean; }, ...args: any): Promise; /** * Update the status of a product * Updates the status of a given product with the current support focused on updating the enablement state. * @param { Required> & Partial } body specification * @param { String } domainManagerExtId The external identifier of the domain manager (Prism Central) resource. * @param { String } extId The product ID for a given product. It can be retrieved using the list request. * @param {Object} opts Optional parameters defined for the operation * @param { Boolean } opts.$dryrun A URL query parameter that allows long running operations to execute in a dry-run mode providing ability to identify trouble spots and system failures without performing the actual operation. Additionally this mode also offers a summary snapshot of the resultant system in order to better understand how things fit together. The operation runs in dry-run mode only if the provided value is true. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateProductApiResponse } and HTTP response */ updateProductById(domainManagerExtId: string, extId: string, body: Required> & Partial, opts: { $dryrun: boolean; }, ...args: any): Promise; #private; } import DomainManager from "../models/prism/v4/config/DomainManager"; import CreateDomainManagerApiResponse from "../models/prism/v4/config/CreateDomainManagerApiResponse"; import GetDomainManagerApiResponse from "../models/prism/v4/config/GetDomainManagerApiResponse"; import GetProductApiResponse from "../models/prism/v4/management/GetProductApiResponse"; import ListDomainManagerApiResponse from "../models/prism/v4/config/ListDomainManagerApiResponse"; import ListProductsApiResponse from "../models/prism/v4/management/ListProductsApiResponse"; import ClusterRegistrationSpec from "../models/prism/v4/management/ClusterRegistrationSpec"; import RegisterApiResponse from "../models/prism/v4/management/RegisterApiResponse"; import ScaleUpDomainManagerSpec from "../models/prism/v4/management/ScaleUpDomainManagerSpec"; import ScaleUpDomainManagerApiResponse from "../models/prism/v4/management/ScaleUpDomainManagerApiResponse"; import ClusterReference from "../models/prism/v4/management/ClusterReference"; import UnregisterApiResponse from "../models/prism/v4/management/UnregisterApiResponse"; import UpdateDomainManagerApiResponse from "../models/prism/v4/config/UpdateDomainManagerApiResponse"; import ManagementProduct from "../models/prism/v4/management/Product"; import UpdateProductApiResponse from "../models/prism/v4/management/UpdateProductApiResponse"; import { ApiClient } from "../ApiClient";