get Mesh Istio Service
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
A collection of arguments for invoking getMeshIstioService.
Return
A collection of values returned by getMeshIstioService.
Parameters
Identifier for the mesh in which this Istio service is defined. Corresponds to the meshUid metric label in Istio metrics.
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
The name of the Istio service underlying this service. Corresponds to the destination_service_name metric label in Istio metrics.
Other optional fields include:
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
Builder for com.pulumi.gcp.monitoring.kotlin.inputs.GetMeshIstioServicePlainArgs.