getIstioCanonicalService

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 A monitoring Istio Canonical Service is automatically created by GCP to monitor Istio Canonical Services. To get more information about Service, see:

Example Usage

Monitoring Istio Canonical 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.GetIstioCanonicalServiceArgs;
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.getIstioCanonicalService(GetIstioCanonicalServiceArgs.builder()
.canonicalService("prometheus")
.canonicalServiceNamespace("istio-system")
.meshUid("proj-573164786102")
.build());
}
}

Return

A collection of values returned by getIstioCanonicalService.

Parameters

argument

A collection of arguments for invoking getIstioCanonicalService.


suspend fun getIstioCanonicalService(canonicalService: String, canonicalServiceNamespace: String, meshUid: String, project: String? = null): GetIstioCanonicalServiceResult

Return

A collection of values returned by getIstioCanonicalService.

Parameters

canonicalService

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

Other optional fields include:

canonicalServiceNamespace

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

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.

See also


Return

A collection of values returned by getIstioCanonicalService.

Parameters

argument

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

See also