View Source GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1TargetServer (google_api_apigee v0.39.0)

TargetServer configuration. TargetServers are used to decouple a proxy's TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.


  • description (type: String.t, default: nil) - Optional. A human-readable description of this TargetServer.
  • host (type: String.t, default: nil) - Required. The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
  • isEnabled (type: boolean(), default: nil) - Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
  • name (type: String.t, default: nil) - Required. The resource id of this target server. Values must match the regular expression
  • port (type: integer(), default: nil) - Required. The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
  • protocol (type: String.t, default: nil) - Immutable. The protocol used by this TargetServer.
  • sSLInfo (type: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1TlsInfo.t, default: nil) - Optional. Specifies TLS configuration info for this TargetServer. The JSON name is sSLInfo for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1TargetServer{
  description: String.t() | nil,
  host: String.t() | nil,
  isEnabled: boolean() | nil,
  name: String.t() | nil,
  port: integer() | nil,
  protocol: String.t() | nil,
  sSLInfo: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1TlsInfo.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.