/** * Dynatrace Configuration API * Documentation of the Dynatrace Configuration API. Refer to the [help page](https://www.dynatrace.com/support/help/shortlink/config-api) to read about use-cases and examples. Notes about compatibility: * Operations marked as early adopter or preview may be changed in non-compatible ways, although we try to avoid this. * We may add new enum constants without incrementing the API version; thus, clients need to handle unknown enum constants gracefully. * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from '../api'; export class RemoteEnvironmentConfigDto { /** * The network scope of the remote environment: * `EXTERNAL`: The remote environment is located in an another network. * `INTERNAL`: The remote environment is located in the same network. * `CLUSTER`: The remote environment is located in the same cluster. Dynatrace SaaS can only use `EXTERNAL`. If not set, `EXTERNAL` is used. */ 'networkScope'?: RemoteEnvironmentConfigDto.NetworkScopeEnum; /** * The API token granting access to the remote environment. The token must have the **Fetch data from a remote environment** (`RestRequestForwarding`) scope. You can create such a token only via [Tokens API](https://www.dynatrace.com/support/help/shortlink/api-tokens-post-new). For security reasons, GET requests return this field as `null`. */ 'token'?: string; /** * The URI of the remote environment. */ 'uri': string; /** * The ID of the configuration. */ 'id'?: string; /** * The display name of the remote environment. */ 'displayName': string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "networkScope", "baseName": "networkScope", "type": "RemoteEnvironmentConfigDto.NetworkScopeEnum" }, { "name": "token", "baseName": "token", "type": "string" }, { "name": "uri", "baseName": "uri", "type": "string" }, { "name": "id", "baseName": "id", "type": "string" }, { "name": "displayName", "baseName": "displayName", "type": "string" } ]; static getAttributeTypeMap() { return RemoteEnvironmentConfigDto.attributeTypeMap; } } export namespace RemoteEnvironmentConfigDto { export enum NetworkScopeEnum { CLUSTER = 'CLUSTER', EXTERNAL = 'EXTERNAL', INTERNAL = 'INTERNAL' } }