Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 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 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]}`),
tags: {
Created: "TF",
For: "Prometheus",
},
});
const nameRegex = alicloud.arms.getPrometheusOutput({
nameRegex: defaultPrometheus.clusterName,
});
export const armsPrometheusId = nameRegex.apply(nameRegex => nameRegex.prometheis?.[0]?.id);
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_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]}",
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)
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/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
}
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]),
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
})
}
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 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])}"),
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),
};
});
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.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());
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.ids()[0])
.securityGroupId(defaultSecurityGroup.id())
.clusterName(String.format("%s-%s", name,default_.ids()[0]))
.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(_nameRegex -> _nameRegex.prometheis()[0].id()));
}
}
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]}
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]}
nameRegex:
fn::invoke:
function: alicloud:arms:getPrometheus
arguments:
nameRegex: ${defaultPrometheus.clusterName}
outputs:
armsPrometheusId: ${nameRegex.prometheis[0].id}
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>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]func LookupPrometheus(ctx *Context, args *LookupPrometheusArgs, opts ...InvokeOption) (*LookupPrometheusResult, error)
func LookupPrometheusOutput(ctx *Context, args *LookupPrometheusOutputArgs, opts ...InvokeOption) LookupPrometheusResultOutput> 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)
}public static CompletableFuture<GetPrometheusResult> getPrometheus(GetPrometheusArgs args, InvokeOptions options)
public static Output<GetPrometheusResult> getPrometheus(GetPrometheusArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:arms/getPrometheus:getPrometheus
arguments:
# arguments dictionaryThe following arguments are supported:
- Enable
Details bool - Whether to query the detailed list of resource attributes. Default value:
false. - Ids List<string>
- A list of Prometheus IDs.
- Name
Regex string - A regex string to filter results by Prometheus name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Resource
Group stringId - The ID of the resource group.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Enable
Details bool - Whether to query the detailed list of resource attributes. Default value:
false. - Ids []string
- A list of Prometheus IDs.
- Name
Regex string - A regex string to filter results by Prometheus name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Resource
Group stringId - The ID of the resource group.
- map[string]string
- A mapping of tags to assign to the resource.
- enable
Details Boolean - Whether to query the detailed list of resource attributes. Default value:
false. - ids List<String>
- A list of Prometheus IDs.
- name
Regex String - A regex string to filter results by Prometheus name.
- output
File String - File name where to save data source results (after running
pulumi preview). - resource
Group StringId - The ID of the resource group.
- Map<String,String>
- A mapping of tags to assign to the resource.
- enable
Details boolean - Whether to query the detailed list of resource attributes. Default value:
false. - ids string[]
- A list of Prometheus IDs.
- name
Regex string - A regex string to filter results by Prometheus name.
- output
File string - File name where to save data source results (after running
pulumi preview). - resource
Group stringId - The ID of the resource group.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- enable_
details bool - Whether to query the detailed list of resource attributes. Default value:
false. - ids Sequence[str]
- A list of Prometheus IDs.
- name_
regex 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_ strid - The ID of the resource group.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- enable
Details Boolean - Whether to query the detailed list of resource attributes. Default value:
false. - ids List<String>
- A list of Prometheus IDs.
- name
Regex String - A regex string to filter results by Prometheus name.
- output
File String - File name where to save data source results (after running
pulumi preview). - resource
Group StringId - The ID of the resource group.
- 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.
Ali Cloud. Arms. Outputs. Get Prometheus Promethei> - A list of Prometheus. Each element contains the following attributes:
- Enable
Details bool - Name
Regex string - Output
File string - Resource
Group stringId - The ID of the resource group.
- 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
[]Get
Prometheus Promethei - A list of Prometheus. Each element contains the following attributes:
- Enable
Details bool - Name
Regex string - Output
File string - Resource
Group stringId - The ID of the resource group.
- 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<Get
Prometheus Promethei> - A list of Prometheus. Each element contains the following attributes:
- enable
Details Boolean - name
Regex String - output
File String - resource
Group StringId - The ID of the resource group.
- 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
Get
Prometheus Promethei[] - A list of Prometheus. Each element contains the following attributes:
- enable
Details boolean - name
Regex string - output
File string - resource
Group stringId - The ID of the resource group.
- {[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[Get
Prometheus Promethei] - A list of Prometheus. Each element contains the following attributes:
- enable_
details bool - name_
regex str - output_
file str - resource_
group_ strid - The ID of the resource group.
- 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:
- enable
Details Boolean - name
Regex String - output
File String - resource
Group StringId - The ID of the resource group.
- Map<String>
- The tag of the Prometheus.
Supporting Types
GetPrometheusPromethei
- Auth
Token string - (Available since v1.214.0) The authorization token. Note:
auth_tokentakes effect only ifenable_detailsis set totrue. - Cluster
Id string - The ID of the cluster.
- Cluster
Name string - The name of the cluster.
- Cluster
Type string - The type of the cluster.
- Grafana
Instance stringId - The ID of the Grafana workspace.
- Http
Api stringInter Url - (Available since v1.214.0) The public URL for the HTTP API. Note:
http_api_inter_urltakes effect only ifenable_detailsis set totrue. - Http
Api stringIntra Url - (Available since v1.214.0) The internal URL for the HTTP API. Note:
http_api_intra_urltakes effect only ifenable_detailsis set totrue. - Id string
- The ID of the Prometheus.
- Push
Gate stringWay Inter Url - (Available since v1.214.0) The public URL for Pushgateway. Note:
push_gate_way_inter_urltakes effect only ifenable_detailsis set totrue. - Push
Gate stringWay Intra Url - (Available since v1.214.0) The internal URL for Pushgateway. Note:
push_gate_way_intra_urltakes effect only ifenable_detailsis set totrue. - Remote
Read stringInter Url - (Available since v1.214.0) The public URL for remote read. Note:
remote_read_inter_urltakes effect only ifenable_detailsis set totrue. - Remote
Read stringIntra Url - (Available since v1.214.0) The internal URL for remote read. Note:
remote_read_intra_urltakes effect only ifenable_detailsis set totrue. - Remote
Write stringInter Url - (Available since v1.214.0) The public URL for remote write. Note:
remote_write_inter_urltakes effect only ifenable_detailsis set totrue. - Remote
Write stringIntra Url - (Available since v1.214.0) The internal URL for remote write. Note:
remote_write_intra_urltakes effect only ifenable_detailsis set totrue. - Resource
Group stringId - The ID of the resource group.
- Security
Group stringId - The ID of the security group.
- Sub
Clusters stringJson - The child instance json string of the globalView instance.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The ID of the VSwitch.
- Auth
Token string - (Available since v1.214.0) The authorization token. Note:
auth_tokentakes effect only ifenable_detailsis set totrue. - Cluster
Id string - The ID of the cluster.
- Cluster
Name string - The name of the cluster.
- Cluster
Type string - The type of the cluster.
- Grafana
Instance stringId - The ID of the Grafana workspace.
- Http
Api stringInter Url - (Available since v1.214.0) The public URL for the HTTP API. Note:
http_api_inter_urltakes effect only ifenable_detailsis set totrue. - Http
Api stringIntra Url - (Available since v1.214.0) The internal URL for the HTTP API. Note:
http_api_intra_urltakes effect only ifenable_detailsis set totrue. - Id string
- The ID of the Prometheus.
- Push
Gate stringWay Inter Url - (Available since v1.214.0) The public URL for Pushgateway. Note:
push_gate_way_inter_urltakes effect only ifenable_detailsis set totrue. - Push
Gate stringWay Intra Url - (Available since v1.214.0) The internal URL for Pushgateway. Note:
push_gate_way_intra_urltakes effect only ifenable_detailsis set totrue. - Remote
Read stringInter Url - (Available since v1.214.0) The public URL for remote read. Note:
remote_read_inter_urltakes effect only ifenable_detailsis set totrue. - Remote
Read stringIntra Url - (Available since v1.214.0) The internal URL for remote read. Note:
remote_read_intra_urltakes effect only ifenable_detailsis set totrue. - Remote
Write stringInter Url - (Available since v1.214.0) The public URL for remote write. Note:
remote_write_inter_urltakes effect only ifenable_detailsis set totrue. - Remote
Write stringIntra Url - (Available since v1.214.0) The internal URL for remote write. Note:
remote_write_intra_urltakes effect only ifenable_detailsis set totrue. - Resource
Group stringId - The ID of the resource group.
- Security
Group stringId - The ID of the security group.
- Sub
Clusters stringJson - The child instance json string of the globalView instance.
- map[string]string
- A mapping of tags to assign to the resource.
- Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The ID of the VSwitch.
- auth
Token String - (Available since v1.214.0) The authorization token. Note:
auth_tokentakes effect only ifenable_detailsis set totrue. - cluster
Id String - The ID of the cluster.
- cluster
Name String - The name of the cluster.
- cluster
Type String - The type of the cluster.
- grafana
Instance StringId - The ID of the Grafana workspace.
- http
Api StringInter Url - (Available since v1.214.0) The public URL for the HTTP API. Note:
http_api_inter_urltakes effect only ifenable_detailsis set totrue. - http
Api StringIntra Url - (Available since v1.214.0) The internal URL for the HTTP API. Note:
http_api_intra_urltakes effect only ifenable_detailsis set totrue. - id String
- The ID of the Prometheus.
- push
Gate StringWay Inter Url - (Available since v1.214.0) The public URL for Pushgateway. Note:
push_gate_way_inter_urltakes effect only ifenable_detailsis set totrue. - push
Gate StringWay Intra Url - (Available since v1.214.0) The internal URL for Pushgateway. Note:
push_gate_way_intra_urltakes effect only ifenable_detailsis set totrue. - remote
Read StringInter Url - (Available since v1.214.0) The public URL for remote read. Note:
remote_read_inter_urltakes effect only ifenable_detailsis set totrue. - remote
Read StringIntra Url - (Available since v1.214.0) The internal URL for remote read. Note:
remote_read_intra_urltakes effect only ifenable_detailsis set totrue. - remote
Write StringInter Url - (Available since v1.214.0) The public URL for remote write. Note:
remote_write_inter_urltakes effect only ifenable_detailsis set totrue. - remote
Write StringIntra Url - (Available since v1.214.0) The internal URL for remote write. Note:
remote_write_intra_urltakes effect only ifenable_detailsis set totrue. - resource
Group StringId - The ID of the resource group.
- security
Group StringId - The ID of the security group.
- sub
Clusters StringJson - The child instance json string of the globalView instance.
- Map<String,String>
- A mapping of tags to assign to the resource.
- vpc
Id String - The ID of the VPC.
- vswitch
Id String - The ID of the VSwitch.
- auth
Token string - (Available since v1.214.0) The authorization token. Note:
auth_tokentakes effect only ifenable_detailsis set totrue. - cluster
Id string - The ID of the cluster.
- cluster
Name string - The name of the cluster.
- cluster
Type string - The type of the cluster.
- grafana
Instance stringId - The ID of the Grafana workspace.
- http
Api stringInter Url - (Available since v1.214.0) The public URL for the HTTP API. Note:
http_api_inter_urltakes effect only ifenable_detailsis set totrue. - http
Api stringIntra Url - (Available since v1.214.0) The internal URL for the HTTP API. Note:
http_api_intra_urltakes effect only ifenable_detailsis set totrue. - id string
- The ID of the Prometheus.
- push
Gate stringWay Inter Url - (Available since v1.214.0) The public URL for Pushgateway. Note:
push_gate_way_inter_urltakes effect only ifenable_detailsis set totrue. - push
Gate stringWay Intra Url - (Available since v1.214.0) The internal URL for Pushgateway. Note:
push_gate_way_intra_urltakes effect only ifenable_detailsis set totrue. - remote
Read stringInter Url - (Available since v1.214.0) The public URL for remote read. Note:
remote_read_inter_urltakes effect only ifenable_detailsis set totrue. - remote
Read stringIntra Url - (Available since v1.214.0) The internal URL for remote read. Note:
remote_read_intra_urltakes effect only ifenable_detailsis set totrue. - remote
Write stringInter Url - (Available since v1.214.0) The public URL for remote write. Note:
remote_write_inter_urltakes effect only ifenable_detailsis set totrue. - remote
Write stringIntra Url - (Available since v1.214.0) The internal URL for remote write. Note:
remote_write_intra_urltakes effect only ifenable_detailsis set totrue. - resource
Group stringId - The ID of the resource group.
- security
Group stringId - The ID of the security group.
- sub
Clusters stringJson - The child instance json string of the globalView instance.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- vpc
Id string - The ID of the VPC.
- vswitch
Id string - The ID of the VSwitch.
- auth_
token str - (Available since v1.214.0) The authorization token. Note:
auth_tokentakes effect only ifenable_detailsis set totrue. - cluster_
id str - The ID of the cluster.
- cluster_
name str - The name of the cluster.
- cluster_
type str - The type of the cluster.
- grafana_
instance_ strid - The ID of the Grafana workspace.
- http_
api_ strinter_ url - (Available since v1.214.0) The public URL for the HTTP API. Note:
http_api_inter_urltakes effect only ifenable_detailsis set totrue. - http_
api_ strintra_ url - (Available since v1.214.0) The internal URL for the HTTP API. Note:
http_api_intra_urltakes effect only ifenable_detailsis set totrue. - id str
- The ID of the Prometheus.
- push_
gate_ strway_ inter_ url - (Available since v1.214.0) The public URL for Pushgateway. Note:
push_gate_way_inter_urltakes effect only ifenable_detailsis set totrue. - push_
gate_ strway_ intra_ url - (Available since v1.214.0) The internal URL for Pushgateway. Note:
push_gate_way_intra_urltakes effect only ifenable_detailsis set totrue. - remote_
read_ strinter_ url - (Available since v1.214.0) The public URL for remote read. Note:
remote_read_inter_urltakes effect only ifenable_detailsis set totrue. - remote_
read_ strintra_ url - (Available since v1.214.0) The internal URL for remote read. Note:
remote_read_intra_urltakes effect only ifenable_detailsis set totrue. - remote_
write_ strinter_ url - (Available since v1.214.0) The public URL for remote write. Note:
remote_write_inter_urltakes effect only ifenable_detailsis set totrue. - remote_
write_ strintra_ url - (Available since v1.214.0) The internal URL for remote write. Note:
remote_write_intra_urltakes effect only ifenable_detailsis set totrue. - resource_
group_ strid - The ID of the resource group.
- security_
group_ strid - The ID of the security group.
- sub_
clusters_ strjson - The child instance json string of the globalView instance.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- vpc_
id str - The ID of the VPC.
- vswitch_
id str - The ID of the VSwitch.
- auth
Token String - (Available since v1.214.0) The authorization token. Note:
auth_tokentakes effect only ifenable_detailsis set totrue. - cluster
Id String - The ID of the cluster.
- cluster
Name String - The name of the cluster.
- cluster
Type String - The type of the cluster.
- grafana
Instance StringId - The ID of the Grafana workspace.
- http
Api StringInter Url - (Available since v1.214.0) The public URL for the HTTP API. Note:
http_api_inter_urltakes effect only ifenable_detailsis set totrue. - http
Api StringIntra Url - (Available since v1.214.0) The internal URL for the HTTP API. Note:
http_api_intra_urltakes effect only ifenable_detailsis set totrue. - id String
- The ID of the Prometheus.
- push
Gate StringWay Inter Url - (Available since v1.214.0) The public URL for Pushgateway. Note:
push_gate_way_inter_urltakes effect only ifenable_detailsis set totrue. - push
Gate StringWay Intra Url - (Available since v1.214.0) The internal URL for Pushgateway. Note:
push_gate_way_intra_urltakes effect only ifenable_detailsis set totrue. - remote
Read StringInter Url - (Available since v1.214.0) The public URL for remote read. Note:
remote_read_inter_urltakes effect only ifenable_detailsis set totrue. - remote
Read StringIntra Url - (Available since v1.214.0) The internal URL for remote read. Note:
remote_read_intra_urltakes effect only ifenable_detailsis set totrue. - remote
Write StringInter Url - (Available since v1.214.0) The public URL for remote write. Note:
remote_write_inter_urltakes effect only ifenable_detailsis set totrue. - remote
Write StringIntra Url - (Available since v1.214.0) The internal URL for remote write. Note:
remote_write_intra_urltakes effect only ifenable_detailsis set totrue. - resource
Group StringId - The ID of the resource group.
- security
Group StringId - The ID of the security group.
- sub
Clusters StringJson - The child instance json string of the globalView instance.
- Map<String>
- A mapping of tags to assign to the resource.
- vpc
Id String - The ID of the VPC.
- vswitch
Id 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
alicloudTerraform Provider.
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
