import type { CommonEntityNameList } from '../models/CommonEntityNameList'; import type { Environment } from '../models/Environment'; import type { EnvironmentListItem } from '../models/EnvironmentListItem'; import type { EnvironmentPatch } from '../models/EnvironmentPatch'; import type { EnvironmentResponse } from '../models/EnvironmentResponse'; import type { Service } from '../models/Service'; export declare class EnvironmentsService { /** * @returns EnvironmentListItem list of environments * @throws ApiError */ static listEnvironments({ organizationName, pageSize, pageNumber, sortFieldName, sortDirection, format, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** The number of items to get per page. Min: 1 Max: 100 **/ pageSize?: number; /** The page number to get. Min: 1 **/ pageNumber?: number; /** name of a field to sort on **/ sortFieldName?: string; /** sort direction **/ sortDirection?: 'asc' | 'desc'; format?: 'summary' | 'full'; }): Promise>; /** * @returns Environment New environment * @throws ApiError */ static createEnvironment({ organizationName, requestBody, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** Environment information **/ requestBody?: Environment; }): Promise; /** * @returns EnvironmentResponse environment * @throws ApiError */ static getEnvironment({ organizationName, envName, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; envName: string; }): Promise; /** * @returns Environment Updated Environment * @throws ApiError */ static updateEnvironment({ organizationName, envName, ifMatch, requestBody, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; envName: string; /** Provide the etag value for a previous GET request of a resource on update (PATCH) in order to avoid "lost updates" **/ ifMatch?: string; /** Application domains have a name and topic domain. **/ requestBody?: EnvironmentPatch; }): Promise; /** * @returns void * @throws ApiError */ static deleteEnvironment({ organizationName, envName, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; envName: string; }): Promise; /** * @returns CommonEntityNameList API Products that reference this environment * @throws ApiError */ static getEnvironmentReferencedByApiProducts({ organizationName, envName, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; envName: string; }): Promise; /** * @returns Service list of services on the associated Solace Cloud account * @throws ApiError */ static listServices({ organizationName, pageSize, pageNumber, sortFieldName, sortDirection, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** The number of items to get per page. Min: 1 Max: 100 **/ pageSize?: number; /** The page number to get. Min: 1 **/ pageNumber?: number; /** name of a field to sort on **/ sortFieldName?: string; /** sort direction **/ sortDirection?: 'asc' | 'desc'; }): Promise>; }