1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. arms
  5. getPrometheus
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

alicloud.arms.getPrometheus

Explore with Pulumi AI

Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

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

NOTE: Available since v1.214.0.

Example Usage

Basic Usage

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

const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const _default = alicloud.vpc.getNetworks({
    nameRegex: "default-NODELETING",
});
const defaultGetSwitches = _default.then(_default => alicloud.vpc.getSwitches({
    vpcId: _default.ids?.[0],
}));
const defaultGetResourceGroups = alicloud.resourcemanager.getResourceGroups({});
const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("default", {vpcId: _default.then(_default => _default.ids?.[0])});
const defaultPrometheus = new alicloud.arms.Prometheus("default", {
    clusterType: "ecs",
    grafanaInstanceId: "free",
    vpcId: _default.then(_default => _default.ids?.[0]),
    vswitchId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
    securityGroupId: defaultSecurityGroup.id,
    clusterName: _default.then(_default => `${name}-${_default.ids?.[0]}`),
    resourceGroupId: defaultGetResourceGroups.then(defaultGetResourceGroups => defaultGetResourceGroups.groups?.[1]?.id),
    tags: {
        Created: "TF",
        For: "Prometheus",
    },
});
const nameRegex = alicloud.arms.getPrometheusOutput({
    nameRegex: defaultPrometheus.clusterName,
});
export const armsPrometheusId = nameRegex.apply(nameRegex => nameRegex.prometheis?.[0]?.id);
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf-example"
default = alicloud.vpc.get_networks(name_regex="default-NODELETING")
default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0])
default_get_resource_groups = alicloud.resourcemanager.get_resource_groups()
default_security_group = alicloud.ecs.SecurityGroup("default", vpc_id=default.ids[0])
default_prometheus = alicloud.arms.Prometheus("default",
    cluster_type="ecs",
    grafana_instance_id="free",
    vpc_id=default.ids[0],
    vswitch_id=default_get_switches.ids[0],
    security_group_id=default_security_group.id,
    cluster_name=f"{name}-{default.ids[0]}",
    resource_group_id=default_get_resource_groups.groups[1].id,
    tags={
        "Created": "TF",
        "For": "Prometheus",
    })
name_regex = alicloud.arms.get_prometheus_output(name_regex=default_prometheus.cluster_name)
pulumi.export("armsPrometheusId", name_regex.prometheis[0].id)
Copy
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("default-NODELETING"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId: pulumi.StringRef(_default.Ids[0]),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
		if err != nil {
			return err
		}
		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "default", &ecs.SecurityGroupArgs{
			VpcId: pulumi.String(_default.Ids[0]),
		})
		if err != nil {
			return err
		}
		defaultPrometheus, err := arms.NewPrometheus(ctx, "default", &arms.PrometheusArgs{
			ClusterType:       pulumi.String("ecs"),
			GrafanaInstanceId: pulumi.String("free"),
			VpcId:             pulumi.String(_default.Ids[0]),
			VswitchId:         pulumi.String(defaultGetSwitches.Ids[0]),
			SecurityGroupId:   defaultSecurityGroup.ID(),
			ClusterName:       pulumi.Sprintf("%v-%v", name, _default.Ids[0]),
			ResourceGroupId:   pulumi.String(defaultGetResourceGroups.Groups[1].Id),
			Tags: pulumi.StringMap{
				"Created": pulumi.String("TF"),
				"For":     pulumi.String("Prometheus"),
			},
		})
		if err != nil {
			return err
		}
		nameRegex := arms.LookupPrometheusOutput(ctx, arms.GetPrometheusOutputArgs{
			NameRegex: defaultPrometheus.ClusterName,
		}, nil)
		ctx.Export("armsPrometheusId", nameRegex.ApplyT(func(nameRegex arms.GetPrometheusResult) (*string, error) {
			return &nameRegex.Prometheis[0].Id, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "tf-example";
    var @default = AliCloud.Vpc.GetNetworks.Invoke(new()
    {
        NameRegex = "default-NODELETING",
    });

    var defaultGetSwitches = AliCloud.Vpc.GetSwitches.Invoke(new()
    {
        VpcId = @default.Apply(getNetworksResult => getNetworksResult.Ids[0]),
    });

    var defaultGetResourceGroups = AliCloud.ResourceManager.GetResourceGroups.Invoke();

    var defaultSecurityGroup = new AliCloud.Ecs.SecurityGroup("default", new()
    {
        VpcId = @default.Apply(@default => @default.Apply(getNetworksResult => getNetworksResult.Ids[0])),
    });

    var defaultPrometheus = new AliCloud.Arms.Prometheus("default", new()
    {
        ClusterType = "ecs",
        GrafanaInstanceId = "free",
        VpcId = @default.Apply(@default => @default.Apply(getNetworksResult => getNetworksResult.Ids[0])),
        VswitchId = defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Ids[0]),
        SecurityGroupId = defaultSecurityGroup.Id,
        ClusterName = @default.Apply(@default => $"{name}-{@default.Apply(getNetworksResult => getNetworksResult.Ids[0])}"),
        ResourceGroupId = defaultGetResourceGroups.Apply(getResourceGroupsResult => getResourceGroupsResult.Groups[1]?.Id),
        Tags = 
        {
            { "Created", "TF" },
            { "For", "Prometheus" },
        },
    });

    var nameRegex = AliCloud.Arms.GetPrometheus.Invoke(new()
    {
        NameRegex = defaultPrometheus.ClusterName,
    });

    return new Dictionary<string, object?>
    {
        ["armsPrometheusId"] = nameRegex.Apply(getPrometheusResult => getPrometheusResult.Prometheis[0]?.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetNetworksArgs;
import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.arms.Prometheus;
import com.pulumi.alicloud.arms.PrometheusArgs;
import com.pulumi.alicloud.arms.ArmsFunctions;
import com.pulumi.alicloud.arms.inputs.GetPrometheusArgs;
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 config = ctx.config();
        final var name = config.get("name").orElse("tf-example");
        final var default = VpcFunctions.getNetworks(GetNetworksArgs.builder()
            .nameRegex("default-NODELETING")
            .build());

        final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
            .vpcId(default_.ids()[0])
            .build());

        final var defaultGetResourceGroups = ResourcemanagerFunctions.getResourceGroups();

        var defaultSecurityGroup = new SecurityGroup("defaultSecurityGroup", SecurityGroupArgs.builder()
            .vpcId(default_.ids()[0])
            .build());

        var defaultPrometheus = new Prometheus("defaultPrometheus", PrometheusArgs.builder()
            .clusterType("ecs")
            .grafanaInstanceId("free")
            .vpcId(default_.ids()[0])
            .vswitchId(defaultGetSwitches.applyValue(getSwitchesResult -> getSwitchesResult.ids()[0]))
            .securityGroupId(defaultSecurityGroup.id())
            .clusterName(String.format("%s-%s", name,default_.ids()[0]))
            .resourceGroupId(defaultGetResourceGroups.applyValue(getResourceGroupsResult -> getResourceGroupsResult.groups()[1].id()))
            .tags(Map.ofEntries(
                Map.entry("Created", "TF"),
                Map.entry("For", "Prometheus")
            ))
            .build());

        final var nameRegex = ArmsFunctions.getPrometheus(GetPrometheusArgs.builder()
            .nameRegex(defaultPrometheus.clusterName())
            .build());

        ctx.export("armsPrometheusId", nameRegex.applyValue(getPrometheusResult -> getPrometheusResult).applyValue(nameRegex -> nameRegex.applyValue(getPrometheusResult -> getPrometheusResult.prometheis()[0].id())));
    }
}
Copy
configuration:
  name:
    type: string
    default: tf-example
resources:
  defaultSecurityGroup:
    type: alicloud:ecs:SecurityGroup
    name: default
    properties:
      vpcId: ${default.ids[0]}
  defaultPrometheus:
    type: alicloud:arms:Prometheus
    name: default
    properties:
      clusterType: ecs
      grafanaInstanceId: free
      vpcId: ${default.ids[0]}
      vswitchId: ${defaultGetSwitches.ids[0]}
      securityGroupId: ${defaultSecurityGroup.id}
      clusterName: ${name}-${default.ids[0]}
      resourceGroupId: ${defaultGetResourceGroups.groups[1].id}
      tags:
        Created: TF
        For: Prometheus
variables:
  default:
    fn::invoke:
      function: alicloud:vpc:getNetworks
      arguments:
        nameRegex: default-NODELETING
  defaultGetSwitches:
    fn::invoke:
      function: alicloud:vpc:getSwitches
      arguments:
        vpcId: ${default.ids[0]}
  defaultGetResourceGroups:
    fn::invoke:
      function: alicloud:resourcemanager:getResourceGroups
      arguments: {}
  nameRegex:
    fn::invoke:
      function: alicloud:arms:getPrometheus
      arguments:
        nameRegex: ${defaultPrometheus.clusterName}
outputs:
  armsPrometheusId: ${nameRegex.prometheis[0].id}
Copy

Using getPrometheus

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 getPrometheus(args: GetPrometheusArgs, opts?: InvokeOptions): Promise<GetPrometheusResult>
function getPrometheusOutput(args: GetPrometheusOutputArgs, opts?: InvokeOptions): Output<GetPrometheusResult>
Copy
def get_prometheus(enable_details: Optional[bool] = None,
                   ids: Optional[Sequence[str]] = None,
                   name_regex: Optional[str] = None,
                   output_file: Optional[str] = None,
                   resource_group_id: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   opts: Optional[InvokeOptions] = None) -> GetPrometheusResult
def get_prometheus_output(enable_details: Optional[pulumi.Input[bool]] = None,
                   ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   name_regex: Optional[pulumi.Input[str]] = None,
                   output_file: Optional[pulumi.Input[str]] = None,
                   resource_group_id: Optional[pulumi.Input[str]] = None,
                   tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetPrometheusResult]
Copy
func LookupPrometheus(ctx *Context, args *LookupPrometheusArgs, opts ...InvokeOption) (*LookupPrometheusResult, error)
func LookupPrometheusOutput(ctx *Context, args *LookupPrometheusOutputArgs, opts ...InvokeOption) LookupPrometheusResultOutput
Copy

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

public static class GetPrometheus 
{
    public static Task<GetPrometheusResult> InvokeAsync(GetPrometheusArgs args, InvokeOptions? opts = null)
    public static Output<GetPrometheusResult> Invoke(GetPrometheusInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPrometheusResult> getPrometheus(GetPrometheusArgs args, InvokeOptions options)
public static Output<GetPrometheusResult> getPrometheus(GetPrometheusArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:arms/getPrometheus:getPrometheus
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EnableDetails bool
Whether to query details about the instance.
Ids Changes to this property will trigger replacement. List<string>
A list of Prometheus IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Prometheus name.
OutputFile string
File name where to save data source results (after running pulumi preview).
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
Tags Changes to this property will trigger replacement. Dictionary<string, string>
A mapping of tags to assign to the resource.
EnableDetails bool
Whether to query details about the instance.
Ids Changes to this property will trigger replacement. []string
A list of Prometheus IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Prometheus name.
OutputFile string
File name where to save data source results (after running pulumi preview).
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
Tags Changes to this property will trigger replacement. map[string]string
A mapping of tags to assign to the resource.
enableDetails Boolean
Whether to query details about the instance.
ids Changes to this property will trigger replacement. List<String>
A list of Prometheus IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Prometheus name.
outputFile String
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group.
tags Changes to this property will trigger replacement. Map<String,String>
A mapping of tags to assign to the resource.
enableDetails boolean
Whether to query details about the instance.
ids Changes to this property will trigger replacement. string[]
A list of Prometheus IDs.
nameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Prometheus name.
outputFile string
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
tags Changes to this property will trigger replacement. {[key: string]: string}
A mapping of tags to assign to the resource.
enable_details bool
Whether to query details about the instance.
ids Changes to this property will trigger replacement. Sequence[str]
A list of Prometheus IDs.
name_regex Changes to this property will trigger replacement. str
A regex string to filter results by Prometheus name.
output_file str
File name where to save data source results (after running pulumi preview).
resource_group_id Changes to this property will trigger replacement. str
The ID of the resource group.
tags Changes to this property will trigger replacement. Mapping[str, str]
A mapping of tags to assign to the resource.
enableDetails Boolean
Whether to query details about the instance.
ids Changes to this property will trigger replacement. List<String>
A list of Prometheus IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Prometheus name.
outputFile String
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group.
tags Changes to this property will trigger replacement. Map<String>
A mapping of tags to assign to the resource.

getPrometheus Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
Names List<string>
A list of Prometheus names.
Prometheis List<Pulumi.AliCloud.Arms.Outputs.GetPrometheusPromethei>
A list of Prometheus. Each element contains the following attributes:
EnableDetails bool
NameRegex string
OutputFile string
ResourceGroupId string
The ID of the resource group.
Tags Dictionary<string, string>
The tag of the Prometheus.
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Names []string
A list of Prometheus names.
Prometheis []GetPrometheusPromethei
A list of Prometheus. Each element contains the following attributes:
EnableDetails bool
NameRegex string
OutputFile string
ResourceGroupId string
The ID of the resource group.
Tags map[string]string
The tag of the Prometheus.
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
names List<String>
A list of Prometheus names.
prometheis List<GetPrometheusPromethei>
A list of Prometheus. Each element contains the following attributes:
enableDetails Boolean
nameRegex String
outputFile String
resourceGroupId String
The ID of the resource group.
tags Map<String,String>
The tag of the Prometheus.
id string
The provider-assigned unique ID for this managed resource.
ids string[]
names string[]
A list of Prometheus names.
prometheis GetPrometheusPromethei[]
A list of Prometheus. Each element contains the following attributes:
enableDetails boolean
nameRegex string
outputFile string
resourceGroupId string
The ID of the resource group.
tags {[key: string]: string}
The tag of the Prometheus.
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
names Sequence[str]
A list of Prometheus names.
prometheis Sequence[GetPrometheusPromethei]
A list of Prometheus. Each element contains the following attributes:
enable_details bool
name_regex str
output_file str
resource_group_id str
The ID of the resource group.
tags Mapping[str, str]
The tag of the Prometheus.
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
names List<String>
A list of Prometheus names.
prometheis List<Property Map>
A list of Prometheus. Each element contains the following attributes:
enableDetails Boolean
nameRegex String
outputFile String
resourceGroupId String
The ID of the resource group.
tags Map<String>
The tag of the Prometheus.

Supporting Types

GetPrometheusPromethei

AuthToken This property is required. string
The token used to access the data source.
ClusterId This property is required. string
The ID of the cluster.
ClusterName This property is required. string
The name of the cluster.
ClusterType This property is required. string
The type of the cluster.
GrafanaInstanceId This property is required. string
The ID of the Grafana workspace.
HttpApiInterUrl This property is required. string
Http api public network address.
HttpApiIntraUrl This property is required. string
Http api intranet address.
Id This property is required. string
The ID of the Prometheus.
PushGateWayInterUrl This property is required. string
PushGateway public network Url.
PushGateWayIntraUrl This property is required. string
PushGateway intranet Url.
RemoteReadInterUrl This property is required. string
Public Url of remoteRead.
RemoteReadIntraUrl This property is required. string
RemoteRead intranet Url.
RemoteWriteInterUrl This property is required. string
RemoteWrite public Url.
RemoteWriteIntraUrl This property is required. string
RemoteWrite Intranet Url.
ResourceGroupId This property is required. string
The ID of the resource group.
SecurityGroupId This property is required. string
The ID of the security group.
SubClustersJson This property is required. string
The child instance json string of the globalView instance.
Tags This property is required. Dictionary<string, string>
A mapping of tags to assign to the resource.
VpcId This property is required. string
The ID of the VPC.
VswitchId This property is required. string
The ID of the VSwitch.
AuthToken This property is required. string
The token used to access the data source.
ClusterId This property is required. string
The ID of the cluster.
ClusterName This property is required. string
The name of the cluster.
ClusterType This property is required. string
The type of the cluster.
GrafanaInstanceId This property is required. string
The ID of the Grafana workspace.
HttpApiInterUrl This property is required. string
Http api public network address.
HttpApiIntraUrl This property is required. string
Http api intranet address.
Id This property is required. string
The ID of the Prometheus.
PushGateWayInterUrl This property is required. string
PushGateway public network Url.
PushGateWayIntraUrl This property is required. string
PushGateway intranet Url.
RemoteReadInterUrl This property is required. string
Public Url of remoteRead.
RemoteReadIntraUrl This property is required. string
RemoteRead intranet Url.
RemoteWriteInterUrl This property is required. string
RemoteWrite public Url.
RemoteWriteIntraUrl This property is required. string
RemoteWrite Intranet Url.
ResourceGroupId This property is required. string
The ID of the resource group.
SecurityGroupId This property is required. string
The ID of the security group.
SubClustersJson This property is required. string
The child instance json string of the globalView instance.
Tags This property is required. map[string]string
A mapping of tags to assign to the resource.
VpcId This property is required. string
The ID of the VPC.
VswitchId This property is required. string
The ID of the VSwitch.
authToken This property is required. String
The token used to access the data source.
clusterId This property is required. String
The ID of the cluster.
clusterName This property is required. String
The name of the cluster.
clusterType This property is required. String
The type of the cluster.
grafanaInstanceId This property is required. String
The ID of the Grafana workspace.
httpApiInterUrl This property is required. String
Http api public network address.
httpApiIntraUrl This property is required. String
Http api intranet address.
id This property is required. String
The ID of the Prometheus.
pushGateWayInterUrl This property is required. String
PushGateway public network Url.
pushGateWayIntraUrl This property is required. String
PushGateway intranet Url.
remoteReadInterUrl This property is required. String
Public Url of remoteRead.
remoteReadIntraUrl This property is required. String
RemoteRead intranet Url.
remoteWriteInterUrl This property is required. String
RemoteWrite public Url.
remoteWriteIntraUrl This property is required. String
RemoteWrite Intranet Url.
resourceGroupId This property is required. String
The ID of the resource group.
securityGroupId This property is required. String
The ID of the security group.
subClustersJson This property is required. String
The child instance json string of the globalView instance.
tags This property is required. Map<String,String>
A mapping of tags to assign to the resource.
vpcId This property is required. String
The ID of the VPC.
vswitchId This property is required. String
The ID of the VSwitch.
authToken This property is required. string
The token used to access the data source.
clusterId This property is required. string
The ID of the cluster.
clusterName This property is required. string
The name of the cluster.
clusterType This property is required. string
The type of the cluster.
grafanaInstanceId This property is required. string
The ID of the Grafana workspace.
httpApiInterUrl This property is required. string
Http api public network address.
httpApiIntraUrl This property is required. string
Http api intranet address.
id This property is required. string
The ID of the Prometheus.
pushGateWayInterUrl This property is required. string
PushGateway public network Url.
pushGateWayIntraUrl This property is required. string
PushGateway intranet Url.
remoteReadInterUrl This property is required. string
Public Url of remoteRead.
remoteReadIntraUrl This property is required. string
RemoteRead intranet Url.
remoteWriteInterUrl This property is required. string
RemoteWrite public Url.
remoteWriteIntraUrl This property is required. string
RemoteWrite Intranet Url.
resourceGroupId This property is required. string
The ID of the resource group.
securityGroupId This property is required. string
The ID of the security group.
subClustersJson This property is required. string
The child instance json string of the globalView instance.
tags This property is required. {[key: string]: string}
A mapping of tags to assign to the resource.
vpcId This property is required. string
The ID of the VPC.
vswitchId This property is required. string
The ID of the VSwitch.
auth_token This property is required. str
The token used to access the data source.
cluster_id This property is required. str
The ID of the cluster.
cluster_name This property is required. str
The name of the cluster.
cluster_type This property is required. str
The type of the cluster.
grafana_instance_id This property is required. str
The ID of the Grafana workspace.
http_api_inter_url This property is required. str
Http api public network address.
http_api_intra_url This property is required. str
Http api intranet address.
id This property is required. str
The ID of the Prometheus.
push_gate_way_inter_url This property is required. str
PushGateway public network Url.
push_gate_way_intra_url This property is required. str
PushGateway intranet Url.
remote_read_inter_url This property is required. str
Public Url of remoteRead.
remote_read_intra_url This property is required. str
RemoteRead intranet Url.
remote_write_inter_url This property is required. str
RemoteWrite public Url.
remote_write_intra_url This property is required. str
RemoteWrite Intranet Url.
resource_group_id This property is required. str
The ID of the resource group.
security_group_id This property is required. str
The ID of the security group.
sub_clusters_json This property is required. str
The child instance json string of the globalView instance.
tags This property is required. Mapping[str, str]
A mapping of tags to assign to the resource.
vpc_id This property is required. str
The ID of the VPC.
vswitch_id This property is required. str
The ID of the VSwitch.
authToken This property is required. String
The token used to access the data source.
clusterId This property is required. String
The ID of the cluster.
clusterName This property is required. String
The name of the cluster.
clusterType This property is required. String
The type of the cluster.
grafanaInstanceId This property is required. String
The ID of the Grafana workspace.
httpApiInterUrl This property is required. String
Http api public network address.
httpApiIntraUrl This property is required. String
Http api intranet address.
id This property is required. String
The ID of the Prometheus.
pushGateWayInterUrl This property is required. String
PushGateway public network Url.
pushGateWayIntraUrl This property is required. String
PushGateway intranet Url.
remoteReadInterUrl This property is required. String
Public Url of remoteRead.
remoteReadIntraUrl This property is required. String
RemoteRead intranet Url.
remoteWriteInterUrl This property is required. String
RemoteWrite public Url.
remoteWriteIntraUrl This property is required. String
RemoteWrite Intranet Url.
resourceGroupId This property is required. String
The ID of the resource group.
securityGroupId This property is required. String
The ID of the security group.
subClustersJson This property is required. String
The child instance json string of the globalView instance.
tags This property is required. Map<String>
A mapping of tags to assign to the resource.
vpcId This property is required. String
The ID of the VPC.
vswitchId This property is required. String
The ID of the VSwitch.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi