@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
45 lines (44 loc) • 1.71 kB
TypeScript
import { BaseAPI } from '../../../common/BaseAPI';
import Configuration from '../../../common/Configuration';
import RegionsApi from './regions/RegionsApi';
import AzureAccount from '../../../models/AzureAccount';
import PaginationResponse from '../../../models/PaginationResponse';
import { AzureAccountListQueryParams, AzureAccountListQueryParamsBuilder } from './AzureAccountListQueryParams';
/**
* AzureApi - object-oriented interface
* @export
* @class AzureApi
* @extends {BaseAPI}
*/
export default class AzureApi extends BaseAPI {
regions: RegionsApi;
constructor(configuration: Configuration);
/**
* @summary Add Azure Account
* @param {AzureAccount} azureAccount The Azure Account to be added
* @throws {BitmovinError}
* @memberof AzureApi
*/
create(azureAccount?: AzureAccount): Promise<AzureAccount>;
/**
* @summary Delete Azure Account
* @param {string} infrastructureId Id of the Azure account
* @throws {BitmovinError}
* @memberof AzureApi
*/
delete(infrastructureId: string): Promise<AzureAccount>;
/**
* @summary Azure Account Details
* @param {string} infrastructureId Id of the Azure account
* @throws {BitmovinError}
* @memberof AzureApi
*/
get(infrastructureId: string): Promise<AzureAccount>;
/**
* @summary List Azure Accounts
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
* @throws {BitmovinError}
* @memberof AzureApi
*/
list(queryParameters?: AzureAccountListQueryParams | ((q: AzureAccountListQueryParamsBuilder) => AzureAccountListQueryParamsBuilder)): Promise<PaginationResponse<AzureAccount>>;
}