Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.arms.getPrometheus
Explore with Pulumi AI
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);
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)
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
	})
}
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),
    };
});
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())));
    }
}
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}
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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:arms/getPrometheus:getPrometheus
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Enable
Details bool - Whether to query details about the instance.
 - 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 details about the instance.
 - 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 details about the instance.
 - 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 details about the instance.
 - 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 details about the instance.
 - 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 details about the instance.
 - 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 - The token used to access the data source.
 - 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  - Http api public network address.
 - Http
Api stringIntra Url  - Http api intranet address.
 - Id string
 - The ID of the Prometheus.
 - Push
Gate stringWay Inter Url  - PushGateway public network Url.
 - Push
Gate stringWay Intra Url  - PushGateway intranet Url.
 - Remote
Read stringInter Url  - Public Url of remoteRead.
 - Remote
Read stringIntra Url  - RemoteRead intranet Url.
 - Remote
Write stringInter Url  - RemoteWrite public Url.
 - Remote
Write stringIntra Url  - RemoteWrite Intranet Url.
 - 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 - The token used to access the data source.
 - 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  - Http api public network address.
 - Http
Api stringIntra Url  - Http api intranet address.
 - Id string
 - The ID of the Prometheus.
 - Push
Gate stringWay Inter Url  - PushGateway public network Url.
 - Push
Gate stringWay Intra Url  - PushGateway intranet Url.
 - Remote
Read stringInter Url  - Public Url of remoteRead.
 - Remote
Read stringIntra Url  - RemoteRead intranet Url.
 - Remote
Write stringInter Url  - RemoteWrite public Url.
 - Remote
Write stringIntra Url  - RemoteWrite Intranet Url.
 - 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 - The token used to access the data source.
 - 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  - Http api public network address.
 - http
Api StringIntra Url  - Http api intranet address.
 - id String
 - The ID of the Prometheus.
 - push
Gate StringWay Inter Url  - PushGateway public network Url.
 - push
Gate StringWay Intra Url  - PushGateway intranet Url.
 - remote
Read StringInter Url  - Public Url of remoteRead.
 - remote
Read StringIntra Url  - RemoteRead intranet Url.
 - remote
Write StringInter Url  - RemoteWrite public Url.
 - remote
Write StringIntra Url  - RemoteWrite Intranet Url.
 - 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 - The token used to access the data source.
 - 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  - Http api public network address.
 - http
Api stringIntra Url  - Http api intranet address.
 - id string
 - The ID of the Prometheus.
 - push
Gate stringWay Inter Url  - PushGateway public network Url.
 - push
Gate stringWay Intra Url  - PushGateway intranet Url.
 - remote
Read stringInter Url  - Public Url of remoteRead.
 - remote
Read stringIntra Url  - RemoteRead intranet Url.
 - remote
Write stringInter Url  - RemoteWrite public Url.
 - remote
Write stringIntra Url  - RemoteWrite Intranet Url.
 - 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 - The token used to access the data source.
 - 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  - Http api public network address.
 - http_
api_ strintra_ url  - Http api intranet address.
 - id str
 - The ID of the Prometheus.
 - push_
gate_ strway_ inter_ url  - PushGateway public network Url.
 - push_
gate_ strway_ intra_ url  - PushGateway intranet Url.
 - remote_
read_ strinter_ url  - Public Url of remoteRead.
 - remote_
read_ strintra_ url  - RemoteRead intranet Url.
 - remote_
write_ strinter_ url  - RemoteWrite public Url.
 - remote_
write_ strintra_ url  - RemoteWrite Intranet Url.
 - 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 - The token used to access the data source.
 - 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  - Http api public network address.
 - http
Api StringIntra Url  - Http api intranet address.
 - id String
 - The ID of the Prometheus.
 - push
Gate StringWay Inter Url  - PushGateway public network Url.
 - push
Gate StringWay Intra Url  - PushGateway intranet Url.
 - remote
Read StringInter Url  - Public Url of remoteRead.
 - remote
Read StringIntra Url  - RemoteRead intranet Url.
 - remote
Write StringInter Url  - RemoteWrite public Url.
 - remote
Write StringIntra Url  - RemoteWrite Intranet Url.
 - 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.