1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. arms
  5. getIntegrationExporters
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.arms.getIntegrationExporters

Explore with Pulumi AI

This data source provides the Arms Integration Exporters of the current Alibaba Cloud user.

NOTE: Available in v1.203.0+.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const ids = alicloud.arms.getIntegrationExporters({
    ids: ["example_id"],
    clusterId: "your_cluster_id",
    integrationType: "kafka",
});
export const armsIntegrationExportersId1 = ids.then(ids => ids.integrationExporters?.[0]?.id);
Copy
import pulumi
import pulumi_alicloud as alicloud

ids = alicloud.arms.get_integration_exporters(ids=["example_id"],
    cluster_id="your_cluster_id",
    integration_type="kafka")
pulumi.export("armsIntegrationExportersId1", ids.integration_exporters[0].id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := arms.GetIntegrationExporters(ctx, &arms.GetIntegrationExportersArgs{
			Ids: []string{
				"example_id",
			},
			ClusterId:       "your_cluster_id",
			IntegrationType: "kafka",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsIntegrationExportersId1", ids.IntegrationExporters[0].Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var ids = AliCloud.Arms.GetIntegrationExporters.Invoke(new()
    {
        Ids = new[]
        {
            "example_id",
        },
        ClusterId = "your_cluster_id",
        IntegrationType = "kafka",
    });

    return new Dictionary<string, object?>
    {
        ["armsIntegrationExportersId1"] = ids.Apply(getIntegrationExportersResult => getIntegrationExportersResult.IntegrationExporters[0]?.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.arms.ArmsFunctions;
import com.pulumi.alicloud.arms.inputs.GetIntegrationExportersArgs;
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 ids = ArmsFunctions.getIntegrationExporters(GetIntegrationExportersArgs.builder()
            .ids("example_id")
            .clusterId("your_cluster_id")
            .integrationType("kafka")
            .build());

        ctx.export("armsIntegrationExportersId1", ids.applyValue(getIntegrationExportersResult -> getIntegrationExportersResult.integrationExporters()[0].id()));
    }
}
Copy
variables:
  ids:
    fn::invoke:
      function: alicloud:arms:getIntegrationExporters
      arguments:
        ids:
          - example_id
        clusterId: your_cluster_id
        integrationType: kafka
outputs:
  armsIntegrationExportersId1: ${ids.integrationExporters[0].id}
Copy

Using getIntegrationExporters

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getIntegrationExporters(args: GetIntegrationExportersArgs, opts?: InvokeOptions): Promise<GetIntegrationExportersResult>
function getIntegrationExportersOutput(args: GetIntegrationExportersOutputArgs, opts?: InvokeOptions): Output<GetIntegrationExportersResult>
Copy
def get_integration_exporters(cluster_id: Optional[str] = None,
                              ids: Optional[Sequence[str]] = None,
                              integration_type: Optional[str] = None,
                              output_file: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetIntegrationExportersResult
def get_integration_exporters_output(cluster_id: Optional[pulumi.Input[str]] = None,
                              ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              integration_type: Optional[pulumi.Input[str]] = None,
                              output_file: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetIntegrationExportersResult]
Copy
func GetIntegrationExporters(ctx *Context, args *GetIntegrationExportersArgs, opts ...InvokeOption) (*GetIntegrationExportersResult, error)
func GetIntegrationExportersOutput(ctx *Context, args *GetIntegrationExportersOutputArgs, opts ...InvokeOption) GetIntegrationExportersResultOutput
Copy

> Note: This function is named GetIntegrationExporters in the Go SDK.

public static class GetIntegrationExporters 
{
    public static Task<GetIntegrationExportersResult> InvokeAsync(GetIntegrationExportersArgs args, InvokeOptions? opts = null)
    public static Output<GetIntegrationExportersResult> Invoke(GetIntegrationExportersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIntegrationExportersResult> getIntegrationExporters(GetIntegrationExportersArgs args, InvokeOptions options)
public static Output<GetIntegrationExportersResult> getIntegrationExporters(GetIntegrationExportersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:arms/getIntegrationExporters:getIntegrationExporters
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClusterId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Prometheus instance.
IntegrationType
This property is required.
Changes to this property will trigger replacement.
string
The type of prometheus integration.
Ids Changes to this property will trigger replacement. List<string>
A list of Integration Exporter IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
ClusterId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Prometheus instance.
IntegrationType
This property is required.
Changes to this property will trigger replacement.
string
The type of prometheus integration.
Ids Changes to this property will trigger replacement. []string
A list of Integration Exporter IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
clusterId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Prometheus instance.
integrationType
This property is required.
Changes to this property will trigger replacement.
String
The type of prometheus integration.
ids Changes to this property will trigger replacement. List<String>
A list of Integration Exporter IDs.
outputFile String
File name where to save data source results (after running pulumi preview).
clusterId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Prometheus instance.
integrationType
This property is required.
Changes to this property will trigger replacement.
string
The type of prometheus integration.
ids Changes to this property will trigger replacement. string[]
A list of Integration Exporter IDs.
outputFile string
File name where to save data source results (after running pulumi preview).
cluster_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Prometheus instance.
integration_type
This property is required.
Changes to this property will trigger replacement.
str
The type of prometheus integration.
ids Changes to this property will trigger replacement. Sequence[str]
A list of Integration Exporter IDs.
output_file str
File name where to save data source results (after running pulumi preview).
clusterId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Prometheus instance.
integrationType
This property is required.
Changes to this property will trigger replacement.
String
The type of prometheus integration.
ids Changes to this property will trigger replacement. List<String>
A list of Integration Exporter IDs.
outputFile String
File name where to save data source results (after running pulumi preview).

getIntegrationExporters Result

The following output properties are available:

ClusterId string
The ID of the Prometheus instance.
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
IntegrationExporters List<Pulumi.AliCloud.Arms.Outputs.GetIntegrationExportersIntegrationExporter>
A list of Integration Exporters. Each element contains the following attributes:
IntegrationType string
The type of prometheus integration.
OutputFile string
ClusterId string
The ID of the Prometheus instance.
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
IntegrationExporters []GetIntegrationExportersIntegrationExporter
A list of Integration Exporters. Each element contains the following attributes:
IntegrationType string
The type of prometheus integration.
OutputFile string
clusterId String
The ID of the Prometheus instance.
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
integrationExporters List<GetIntegrationExportersIntegrationExporter>
A list of Integration Exporters. Each element contains the following attributes:
integrationType String
The type of prometheus integration.
outputFile String
clusterId string
The ID of the Prometheus instance.
id string
The provider-assigned unique ID for this managed resource.
ids string[]
integrationExporters GetIntegrationExportersIntegrationExporter[]
A list of Integration Exporters. Each element contains the following attributes:
integrationType string
The type of prometheus integration.
outputFile string
cluster_id str
The ID of the Prometheus instance.
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
integration_exporters Sequence[GetIntegrationExportersIntegrationExporter]
A list of Integration Exporters. Each element contains the following attributes:
integration_type str
The type of prometheus integration.
output_file str
clusterId String
The ID of the Prometheus instance.
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
integrationExporters List<Property Map>
A list of Integration Exporters. Each element contains the following attributes:
integrationType String
The type of prometheus integration.
outputFile String

Supporting Types

GetIntegrationExportersIntegrationExporter

ClusterId This property is required. string
The ID of the Prometheus instance.
ExporterType This property is required. string
Integration Exporter Type.
Id This property is required. string
The ID of the Integration Exporter. It formats as <cluster_id>:<integration_type>:<instance_id>.
InstanceId This property is required. int
The ID of the Integration Exporter instance.
InstanceName This property is required. string
The name of the instance.
IntegrationType This property is required. string
The type of prometheus integration.
Param This property is required. string
Exporter configuration parameter json string.
Target This property is required. string
Monitor the target address.
Version This property is required. string
The version information.
ClusterId This property is required. string
The ID of the Prometheus instance.
ExporterType This property is required. string
Integration Exporter Type.
Id This property is required. string
The ID of the Integration Exporter. It formats as <cluster_id>:<integration_type>:<instance_id>.
InstanceId This property is required. int
The ID of the Integration Exporter instance.
InstanceName This property is required. string
The name of the instance.
IntegrationType This property is required. string
The type of prometheus integration.
Param This property is required. string
Exporter configuration parameter json string.
Target This property is required. string
Monitor the target address.
Version This property is required. string
The version information.
clusterId This property is required. String
The ID of the Prometheus instance.
exporterType This property is required. String
Integration Exporter Type.
id This property is required. String
The ID of the Integration Exporter. It formats as <cluster_id>:<integration_type>:<instance_id>.
instanceId This property is required. Integer
The ID of the Integration Exporter instance.
instanceName This property is required. String
The name of the instance.
integrationType This property is required. String
The type of prometheus integration.
param This property is required. String
Exporter configuration parameter json string.
target This property is required. String
Monitor the target address.
version This property is required. String
The version information.
clusterId This property is required. string
The ID of the Prometheus instance.
exporterType This property is required. string
Integration Exporter Type.
id This property is required. string
The ID of the Integration Exporter. It formats as <cluster_id>:<integration_type>:<instance_id>.
instanceId This property is required. number
The ID of the Integration Exporter instance.
instanceName This property is required. string
The name of the instance.
integrationType This property is required. string
The type of prometheus integration.
param This property is required. string
Exporter configuration parameter json string.
target This property is required. string
Monitor the target address.
version This property is required. string
The version information.
cluster_id This property is required. str
The ID of the Prometheus instance.
exporter_type This property is required. str
Integration Exporter Type.
id This property is required. str
The ID of the Integration Exporter. It formats as <cluster_id>:<integration_type>:<instance_id>.
instance_id This property is required. int
The ID of the Integration Exporter instance.
instance_name This property is required. str
The name of the instance.
integration_type This property is required. str
The type of prometheus integration.
param This property is required. str
Exporter configuration parameter json string.
target This property is required. str
Monitor the target address.
version This property is required. str
The version information.
clusterId This property is required. String
The ID of the Prometheus instance.
exporterType This property is required. String
Integration Exporter Type.
id This property is required. String
The ID of the Integration Exporter. It formats as <cluster_id>:<integration_type>:<instance_id>.
instanceId This property is required. Number
The ID of the Integration Exporter instance.
instanceName This property is required. String
The name of the instance.
integrationType This property is required. String
The type of prometheus integration.
param This property is required. String
Exporter configuration parameter json string.
target This property is required. String
Monitor the target address.
version This property is required. String
The version information.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.