/** * The PcObjectStoreEndpoint model module. * @module Ntnx/PcObjectStoreEndpoint * @version 4.4.2 * @class PcObjectStoreEndpoint */ export default class PcObjectStoreEndpoint { /** * Constructs a PcObjectStoreEndpoint from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:Ntnx/PcObjectStoreEndpoint} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/PcObjectStoreEndpoint} The populated PcObjectStoreEndpoint instance. */ static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any; /** * Converts a given snake_case string to camelCase. * @param {string} snakeStr - The input string in snake_case format. * @returns {string} - The converted string in camelCase format. */ static snakeToCamel(snakeStr: string): string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns The endpoint address of the object store where backup data of Prism Central is present. * @return {string} */ getEndpointAddress(): string; /** * Sets The endpoint address of the object store where backup data of Prism Central is present. * @param {string} endpointAddress The endpoint address of the object store where backup data of Prism Central is present. */ setEndpointAddress(endpointAddress: string): void; endpointAddress: string; /** * @return {PcEndpointFlavour} */ getEndpointFlavour(): PcEndpointFlavour; /** * @param {PcEndpointFlavour} endpointFlavour */ setEndpointFlavour(endpointFlavour: PcEndpointFlavour): void; endpointFlavour: string; /** * @return {PcEndpointCredentials} */ getEndpointCredentials(): PcEndpointCredentials; /** * @param {PcEndpointCredentials} endpointCredentials */ setEndpointCredentials(endpointCredentials: PcEndpointCredentials): void; endpointCredentials: PcEndpointCredentials; /** * Returns A RPO value in seconds to be configured. * @return {Number} */ getRpoSeconds(): number; /** * Sets A RPO value in seconds to be configured. * @param {Number} rpoSeconds A RPO value in seconds to be configured. */ setRpoSeconds(rpoSeconds: number): void; rpoSeconds: number; /** * Returns The ip address or domain of the object store endpoint where backup data of Prism Central is stored. * @return {string} */ getIpAddressOrDomain(): string; /** * Sets The ip address or domain of the object store endpoint where backup data of Prism Central is stored. * @param {string} ipAddressOrDomain The ip address or domain of the object store endpoint where backup data of Prism Central is stored. */ setIpAddressOrDomain(ipAddressOrDomain: string): void; ipAddressOrDomain: string; /** * Returns The port of the object store endpoint where backup data of Prism Central is stored. * @return {string} */ getPort(): string; /** * Sets The port of the object store endpoint where backup data of Prism Central is stored. * @param {string} port The port of the object store endpoint where backup data of Prism Central is stored. */ setPort(port: string): void; port: string; /** * Returns The bucket name of the object store endpoint where backup data of Prism Central is stored. * @return {string} */ getBucket(): string; /** * Sets The bucket name of the object store endpoint where backup data of Prism Central is stored. * @param {string} bucket The bucket name of the object store endpoint where backup data of Prism Central is stored. */ setBucket(bucket: string): void; bucket: string; /** * Returns The region name of the object store endpoint where backup data of Prism Central is stored. * @return {string} */ getRegion(): string; /** * Sets The region name of the object store endpoint where backup data of Prism Central is stored. * @param {string} region The region name of the object store endpoint where backup data of Prism Central is stored. */ setRegion(region: string): void; region: string; /** * Returns Skip the verification of TLS certificates during communication with object store endpoint. * @return {boolean} */ getSkipTLS(): boolean; /** * Sets Skip the verification of TLS certificates during communication with object store endpoint. * @param {boolean} skipTLS Skip the verification of TLS certificates during communication with object store endpoint. */ setSkipTLS(skipTLS: boolean): void; skipTLS: boolean; /** * Returns Retention days configured for backup in Object Store. * minimum: 1 * @return {Number} */ getBackupRetentionDays(): number; /** * Sets Retention days configured for backup in Object Store. * @param {Number} backupRetentionDays Retention days configured for backup in Object Store. */ setBackupRetentionDays(backupRetentionDays: number): void; backupRetentionDays: number; /** * Returns Skip the verification of certificate during communication with object store endpoint * @return {boolean} */ getSkipCertificateValidation(): boolean; /** * Sets Skip the verification of certificate during communication with object store endpoint * @param {boolean} skipCertificateValidation Skip the verification of certificate during communication with object store endpoint */ setSkipCertificateValidation(skipCertificateValidation: boolean): void; skipCertificateValidation: boolean; /** * Returns Whether custom certificate provided or not. * @return {boolean} */ getHasCustomCertificate(): boolean; /** * Sets Whether custom certificate provided or not. * @param {boolean} hasCustomCertificate Whether custom certificate provided or not. */ setHasCustomCertificate(hasCustomCertificate: boolean): void; hasCustomCertificate: boolean; get$Reserved(): any; get$ObjectType(): string; get$UnknownFields(): any; toJson(forMutation: any): any; validate(scope: any, properties: any, ...args: any[]): Promise; validateProperty(scope: any, property: any): ValidationError; #private; } import PcEndpointFlavour from "./PcEndpointFlavour"; import PcEndpointCredentials from "./PcEndpointCredentials"; import ValidationError from "../../../validation/ValidationError";