import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Get the named Service. */ export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetServiceArgs { serviceId: string; v3Id: string; v3Id1: string; } export interface GetServiceResult { /** * Type used for App Engine services. */ readonly appEngine: outputs.monitoring.v3.AppEngineResponse; /** * 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). */ readonly basicService: outputs.monitoring.v3.BasicServiceResponse; /** * Type used for Cloud Endpoints services. */ readonly cloudEndpoints: outputs.monitoring.v3.CloudEndpointsResponse; /** * Type used for Cloud Run services. */ readonly cloudRun: outputs.monitoring.v3.CloudRunResponse; /** * Type used for Istio services that live in a Kubernetes cluster. */ readonly clusterIstio: outputs.monitoring.v3.ClusterIstioResponse; /** * Custom service type. */ readonly custom: outputs.monitoring.v3.CustomResponse; /** * Name used for UI elements listing this Service. */ readonly displayName: string; /** * Type used for GKE Namespaces. */ readonly gkeNamespace: outputs.monitoring.v3.GkeNamespaceResponse; /** * Type used for GKE Services (the Kubernetes concept of a service). */ readonly gkeService: outputs.monitoring.v3.GkeServiceResponse; /** * Type used for GKE Workloads. */ readonly gkeWorkload: outputs.monitoring.v3.GkeWorkloadResponse; /** * Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here (https://istio.io/latest/docs/reference/config/metrics/) */ readonly istioCanonicalService: outputs.monitoring.v3.IstioCanonicalServiceResponse; /** * Type used for Istio services scoped to an Istio mesh. */ readonly meshIstio: outputs.monitoring.v3.MeshIstioResponse; /** * Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] */ readonly name: string; /** * Configuration for how to query telemetry on a Service. */ readonly telemetry: outputs.monitoring.v3.TelemetryResponse; /** * 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. */ readonly userLabels: { [key: string]: string; }; } /** * Get the named Service. */ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetServiceOutputArgs { serviceId: pulumi.Input; v3Id: pulumi.Input; v3Id1: pulumi.Input; }