getMeshIstioService

A Monitoring Service is the root resource under which operational aspects of a generic service are accessible. A service is some discrete, autonomous, and network-accessible unit, designed to solve an individual concern An Mesh Istio monitoring service is automatically created by GCP to monitor Mesh Istio services. To get more information about Service, see:

Example Usage

Monitoring Mesh Istio Service

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.monitoring.MonitoringFunctions;
import com.pulumi.gcp.monitoring.inputs.GetMeshIstioServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = MonitoringFunctions.getMeshIstioService(GetMeshIstioServiceArgs.builder()
.meshUid("proj-573164786102")
.serviceName("prometheus")
.serviceNamespace("istio-system")
.build());
}
}

Return

A collection of values returned by getMeshIstioService.

Parameters

argument

A collection of arguments for invoking getMeshIstioService.


suspend fun getMeshIstioService(meshUid: String, project: String? = null, serviceName: String, serviceNamespace: String): GetMeshIstioServiceResult

Return

A collection of values returned by getMeshIstioService.

Parameters

meshUid

Identifier for the mesh in which this Istio service is defined. Corresponds to the meshUid metric label in Istio metrics.

project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

serviceName

The name of the Istio service underlying this service. Corresponds to the destination_service_name metric label in Istio metrics.

Other optional fields include:

serviceNamespace

The namespace of the Istio service underlying this service. Corresponds to the destination_service_namespace metric label in Istio metrics.

See also


Return

A collection of values returned by getMeshIstioService.

Parameters

argument

Builder for com.pulumi.gcp.monitoring.kotlin.inputs.GetMeshIstioServicePlainArgs.

See also