ServiceArgs

data class ServiceArgs(val appEngine: Output<AppEngineArgs>? = null, val basicService: Output<BasicServiceArgs>? = null, val cloudEndpoints: Output<CloudEndpointsArgs>? = null, val cloudRun: Output<CloudRunArgs>? = null, val clusterIstio: Output<ClusterIstioArgs>? = null, val custom: Output<CustomArgs>? = null, val displayName: Output<String>? = null, val gkeNamespace: Output<GkeNamespaceArgs>? = null, val gkeService: Output<GkeServiceArgs>? = null, val gkeWorkload: Output<GkeWorkloadArgs>? = null, val istioCanonicalService: Output<IstioCanonicalServiceArgs>? = null, val meshIstio: Output<MeshIstioArgs>? = null, val name: Output<String>? = null, val serviceId: Output<String>? = null, val telemetry: Output<TelemetryArgs>? = null, val userLabels: Output<Map<String, String>>? = null, val v3Id: Output<String>? = null, val v3Id1: Output<String>? = null) : ConvertibleToJava<ServiceArgs>

Create a Service. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
constructor(appEngine: Output<AppEngineArgs>? = null, basicService: Output<BasicServiceArgs>? = null, cloudEndpoints: Output<CloudEndpointsArgs>? = null, cloudRun: Output<CloudRunArgs>? = null, clusterIstio: Output<ClusterIstioArgs>? = null, custom: Output<CustomArgs>? = null, displayName: Output<String>? = null, gkeNamespace: Output<GkeNamespaceArgs>? = null, gkeService: Output<GkeServiceArgs>? = null, gkeWorkload: Output<GkeWorkloadArgs>? = null, istioCanonicalService: Output<IstioCanonicalServiceArgs>? = null, meshIstio: Output<MeshIstioArgs>? = null, name: Output<String>? = null, serviceId: Output<String>? = null, telemetry: Output<TelemetryArgs>? = null, userLabels: Output<Map<String, String>>? = null, v3Id: Output<String>? = null, v3Id1: Output<String>? = null)

Properties

Link copied to clipboard
val appEngine: Output<AppEngineArgs>? = null

Type used for App Engine services.

Link copied to clipboard
val basicService: Output<BasicServiceArgs>? = null

Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples here (https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).

Link copied to clipboard
val cloudEndpoints: Output<CloudEndpointsArgs>? = null

Type used for Cloud Endpoints services.

Link copied to clipboard
val cloudRun: Output<CloudRunArgs>? = null

Type used for Cloud Run services.

Link copied to clipboard
val clusterIstio: Output<ClusterIstioArgs>? = null

Type used for Istio services that live in a Kubernetes cluster.

Link copied to clipboard
val custom: Output<CustomArgs>? = null

Custom service type.

Link copied to clipboard
val displayName: Output<String>? = null

Name used for UI elements listing this Service.

Link copied to clipboard
val gkeNamespace: Output<GkeNamespaceArgs>? = null

Type used for GKE Namespaces.

Link copied to clipboard
val gkeService: Output<GkeServiceArgs>? = null

Type used for GKE Services (the Kubernetes concept of a service).

Link copied to clipboard
val gkeWorkload: Output<GkeWorkloadArgs>? = null

Type used for GKE Workloads.

Link copied to clipboard

Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here (https://istio.io/latest/docs/reference/config/metrics/)

Link copied to clipboard
val meshIstio: Output<MeshIstioArgs>? = null

Type used for Istio services scoped to an Istio mesh.

Link copied to clipboard
val name: Output<String>? = null

Resource name for this Service. The format is: projects/PROJECT_ID_OR_NUMBER/services/SERVICE_ID

Link copied to clipboard
val serviceId: Output<String>? = null

Optional. The Service id to use for this Service. If omitted, an id will be generated instead. Must match the pattern a-z0-9\-+

Link copied to clipboard
val telemetry: Output<TelemetryArgs>? = null

Configuration for how to query telemetry on a Service.

Link copied to clipboard
val userLabels: Output<Map<String, String>>? = null

Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.

Link copied to clipboard
val v3Id: Output<String>? = null
Link copied to clipboard
val v3Id1: Output<String>? = null

Functions

Link copied to clipboard
open override fun toJava(): ServiceArgs