Alibaba Cloud v3.88.0 published on Saturday, Nov 1, 2025 by Pulumi
alicloud.arms.getIntegrationExporters
Start a Neo task
Explain and create an alicloud.arms.getIntegrationExporters resource
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);
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)
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
})
}
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),
};
});
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.integrationExporters()[0].id());
}
}
variables:
ids:
fn::invoke:
function: alicloud:arms:getIntegrationExporters
arguments:
ids:
- example_id
clusterId: your_cluster_id
integrationType: kafka
outputs:
armsIntegrationExportersId1: ${ids.integrationExporters[0].id}
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>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]func GetIntegrationExporters(ctx *Context, args *GetIntegrationExportersArgs, opts ...InvokeOption) (*GetIntegrationExportersResult, error)
func GetIntegrationExportersOutput(ctx *Context, args *GetIntegrationExportersOutputArgs, opts ...InvokeOption) GetIntegrationExportersResultOutput> 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)
}public static CompletableFuture<GetIntegrationExportersResult> getIntegrationExporters(GetIntegrationExportersArgs args, InvokeOptions options)
public static Output<GetIntegrationExportersResult> getIntegrationExporters(GetIntegrationExportersArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:arms/getIntegrationExporters:getIntegrationExporters
arguments:
# arguments dictionaryThe following arguments are supported:
- Cluster
Id string - The ID of the Prometheus instance.
- Integration
Type string - The type of prometheus integration.
- Ids List<string>
- A list of Integration Exporter IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- Cluster
Id string - The ID of the Prometheus instance.
- Integration
Type string - The type of prometheus integration.
- Ids []string
- A list of Integration Exporter IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- cluster
Id String - The ID of the Prometheus instance.
- integration
Type String - The type of prometheus integration.
- ids List<String>
- A list of Integration Exporter IDs.
- output
File String - File name where to save data source results (after running
pulumi preview).
- cluster
Id string - The ID of the Prometheus instance.
- integration
Type string - The type of prometheus integration.
- ids string[]
- A list of Integration Exporter IDs.
- output
File string - File name where to save data source results (after running
pulumi preview).
- cluster_
id str - The ID of the Prometheus instance.
- integration_
type str - The type of prometheus integration.
- ids Sequence[str]
- A list of Integration Exporter IDs.
- output_
file str - File name where to save data source results (after running
pulumi preview).
- cluster
Id String - The ID of the Prometheus instance.
- integration
Type String - The type of prometheus integration.
- ids List<String>
- A list of Integration Exporter IDs.
- output
File String - File name where to save data source results (after running
pulumi preview).
getIntegrationExporters Result
The following output properties are available:
- Cluster
Id string - The ID of the Prometheus instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Integration
Exporters List<Pulumi.Ali Cloud. Arms. Outputs. Get Integration Exporters Integration Exporter> - A list of Integration Exporters. Each element contains the following attributes:
- Integration
Type string - The type of prometheus integration.
- Output
File string
- Cluster
Id string - The ID of the Prometheus instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Integration
Exporters []GetIntegration Exporters Integration Exporter - A list of Integration Exporters. Each element contains the following attributes:
- Integration
Type string - The type of prometheus integration.
- Output
File string
- cluster
Id String - The ID of the Prometheus instance.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- integration
Exporters List<GetIntegration Exporters Integration Exporter> - A list of Integration Exporters. Each element contains the following attributes:
- integration
Type String - The type of prometheus integration.
- output
File String
- cluster
Id string - The ID of the Prometheus instance.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- integration
Exporters GetIntegration Exporters Integration Exporter[] - A list of Integration Exporters. Each element contains the following attributes:
- integration
Type string - The type of prometheus integration.
- output
File 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[GetIntegration Exporters Integration Exporter] - A list of Integration Exporters. Each element contains the following attributes:
- integration_
type str - The type of prometheus integration.
- output_
file str
- cluster
Id String - The ID of the Prometheus instance.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- integration
Exporters List<Property Map> - A list of Integration Exporters. Each element contains the following attributes:
- integration
Type String - The type of prometheus integration.
- output
File String
Supporting Types
GetIntegrationExportersIntegrationExporter
- Cluster
Id string - The ID of the Prometheus instance.
- Exporter
Type string - Integration Exporter Type.
- Id string
- The ID of the Integration Exporter. It formats as
<cluster_id>:<integration_type>:<instance_id>. - Instance
Id int - The ID of the Integration Exporter instance.
- Instance
Name string - The name of the instance.
- Integration
Type string - The type of prometheus integration.
- Param string
- Exporter configuration parameter json string.
- Target string
- Monitor the target address.
- Version string
- The version information.
- Cluster
Id string - The ID of the Prometheus instance.
- Exporter
Type string - Integration Exporter Type.
- Id string
- The ID of the Integration Exporter. It formats as
<cluster_id>:<integration_type>:<instance_id>. - Instance
Id int - The ID of the Integration Exporter instance.
- Instance
Name string - The name of the instance.
- Integration
Type string - The type of prometheus integration.
- Param string
- Exporter configuration parameter json string.
- Target string
- Monitor the target address.
- Version string
- The version information.
- cluster
Id String - The ID of the Prometheus instance.
- exporter
Type String - Integration Exporter Type.
- id String
- The ID of the Integration Exporter. It formats as
<cluster_id>:<integration_type>:<instance_id>. - instance
Id Integer - The ID of the Integration Exporter instance.
- instance
Name String - The name of the instance.
- integration
Type String - The type of prometheus integration.
- param String
- Exporter configuration parameter json string.
- target String
- Monitor the target address.
- version String
- The version information.
- cluster
Id string - The ID of the Prometheus instance.
- exporter
Type string - Integration Exporter Type.
- id string
- The ID of the Integration Exporter. It formats as
<cluster_id>:<integration_type>:<instance_id>. - instance
Id number - The ID of the Integration Exporter instance.
- instance
Name string - The name of the instance.
- integration
Type string - The type of prometheus integration.
- param string
- Exporter configuration parameter json string.
- target string
- Monitor the target address.
- version string
- The version information.
- cluster_
id str - The ID of the Prometheus instance.
- exporter_
type str - Integration Exporter Type.
- id str
- The ID of the Integration Exporter. It formats as
<cluster_id>:<integration_type>:<instance_id>. - instance_
id int - The ID of the Integration Exporter instance.
- instance_
name str - The name of the instance.
- integration_
type str - The type of prometheus integration.
- param str
- Exporter configuration parameter json string.
- target str
- Monitor the target address.
- version str
- The version information.
- cluster
Id String - The ID of the Prometheus instance.
- exporter
Type String - Integration Exporter Type.
- id String
- The ID of the Integration Exporter. It formats as
<cluster_id>:<integration_type>:<instance_id>. - instance
Id Number - The ID of the Integration Exporter instance.
- instance
Name String - The name of the instance.
- integration
Type String - The type of prometheus integration.
- param String
- Exporter configuration parameter json string.
- target String
- Monitor the target address.
- version String
- The version information.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
