OBJECT

Subscription

link GraphQL Schema definition

  • type Subscription {
  • # Subscribe to a Kubernetes pod's logs and their updates
  • #
  • # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
  • # for a stable API but we reserve the right to fix issues including modifying the
  • # schema if required.
  • #
  • # Arguments
  • # logParams: Configuration parameters for the log subscription
  • # podEntityId: The entity id of the pod to subscribe to
  • kubernetesPodLogs(
  • logParams: KubernetesLogParams!,
  • podEntityId: EntityId!
  • ): KubernetesLogRecord!
  • # Subscribe to insight changes
  • insightSubscription: InsightSubscription!
  • # Subscribe to / watch changes for a kubernetes resource kind or specific resource
  • # instance
  • #
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • #
  • # Arguments
  • # allowWatchBookmarks: Allow/request emission of bookmark events
  • # context: KRM context including namespace
  • # fieldSelector: Filter by field selector - see
  • # https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/
  • # kind: Specify resource kind
  • # kindMajorVersion: Major version number of resource kind schema
  • # labelSelector: Filter by label selector - see
  • # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
  • # name: Filter by optional resource name
  • # resourceVersion: Request changes only after a given
  • # `resourceVersion` string which
  • # can be obtained from the `resourceVersion` field of a prior query's
  • # `KubernetesResourceConnection` response.
  • #
  • # See:
  • # https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions
  • applicationEngineResourceEvents(
  • allowWatchBookmarks: Boolean,
  • context: KubernetesResourceContextInput,
  • fieldSelector: String,
  • kind: String!,
  • kindMajorVersion: Int,
  • labelSelector: String,
  • name: String,
  • resourceVersion: String
  • ): KubernetesResourceEvent!
  • # Subscribe to a Container app replica logs
  • #
  • # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
  • # for a stable API but we reserve the right to fix issues including modifying the
  • # schema if required.
  • #
  • # Arguments
  • # containerApp: The name of the container app
  • # context: KRM context including namespace
  • # logParams: Parameters for configuring the log subscription
  • # replica: The name of the container app replica
  • # spaceReplica: The name of the space replica
  • containerAppReplicaLogs(
  • containerApp: String!,
  • context: KubernetesResourceContextInput,
  • logParams: ApplicationEngineContainerAppReplicaLogParams!,
  • replica: String!,
  • spaceReplica: String!
  • ): ApplicationEngineContainerAppReplicaLogRecord!
  • }

link Require by

This element is not required by anyone