1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. arms
  5. getPrometheis
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.arms.getPrometheis

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

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

    NOTE: Available since v1.203.0.

    DEPRECATED: This resource has been renamed to alicloud.ecs.EcsDisk from version 1.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.getPrometheisOutput({
        nameRegex: defaultPrometheus.clusterName,
    });
    export const armsPrometheisId = 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_prometheis_output(name_regex=default_prometheus.cluster_name)
    pulumi.export("armsPrometheisId", 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, nil, 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.String(fmt.Sprintf("%v-%v", name, _default.Ids[0])),
    			ResourceGroupId:   pulumi.String(defaultGetResourceGroups.Groups[1].Id),
    			Tags: pulumi.Map{
    				"Created": pulumi.Any("TF"),
    				"For":     pulumi.Any("Prometheus"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		nameRegex := arms.GetPrometheisOutput(ctx, arms.GetPrometheisOutputArgs{
    			NameRegex: defaultPrometheus.ClusterName,
    		}, nil)
    		ctx.Export("armsPrometheisId", nameRegex.ApplyT(func(nameRegex arms.GetPrometheisResult) (*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.GetPrometheis.Invoke(new()
        {
            NameRegex = defaultPrometheus.ClusterName,
        });
    
        return new Dictionary<string, object?>
        {
            ["armsPrometheisId"] = nameRegex.Apply(getPrometheisResult => getPrometheisResult.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.GetPrometheisArgs;
    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.getPrometheis(GetPrometheisArgs.builder()
                .nameRegex(defaultPrometheus.clusterName())
                .build());
    
            ctx.export("armsPrometheisId", nameRegex.applyValue(getPrometheisResult -> getPrometheisResult).applyValue(nameRegex -> nameRegex.applyValue(getPrometheisResult -> getPrometheisResult.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:getPrometheis
          Arguments:
            nameRegex: ${defaultPrometheus.clusterName}
    outputs:
      armsPrometheisId: ${nameRegex.prometheis[0].id}
    

    Using getPrometheis

    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 getPrometheis(args: GetPrometheisArgs, opts?: InvokeOptions): Promise<GetPrometheisResult>
    function getPrometheisOutput(args: GetPrometheisOutputArgs, opts?: InvokeOptions): Output<GetPrometheisResult>
    def get_prometheis(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, Any]] = None,
                       opts: Optional[InvokeOptions] = None) -> GetPrometheisResult
    def get_prometheis_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, Any]]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetPrometheisResult]
    func GetPrometheis(ctx *Context, args *GetPrometheisArgs, opts ...InvokeOption) (*GetPrometheisResult, error)
    func GetPrometheisOutput(ctx *Context, args *GetPrometheisOutputArgs, opts ...InvokeOption) GetPrometheisResultOutput

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

    public static class GetPrometheis 
    {
        public static Task<GetPrometheisResult> InvokeAsync(GetPrometheisArgs args, InvokeOptions? opts = null)
        public static Output<GetPrometheisResult> Invoke(GetPrometheisInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPrometheisResult> getPrometheis(GetPrometheisArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:arms/getPrometheis:getPrometheis
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnableDetails bool
    Whether to query details about the instance.
    Ids List<string>
    A list of Prometheus IDs.
    NameRegex 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 string
    The ID of the resource group.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    EnableDetails bool
    Whether to query details about the instance.
    Ids []string
    A list of Prometheus IDs.
    NameRegex 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 string
    The ID of the resource group.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    enableDetails Boolean
    Whether to query details about the instance.
    ids List<String>
    A list of Prometheus IDs.
    nameRegex 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 String
    The ID of the resource group.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    enableDetails boolean
    Whether to query details about the instance.
    ids string[]
    A list of Prometheus IDs.
    nameRegex 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 string
    The ID of the resource group.
    tags {[key: string]: any}
    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_id str
    The ID of the resource group.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    enableDetails Boolean
    Whether to query details about the instance.
    ids List<String>
    A list of Prometheus IDs.
    nameRegex 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 String
    The ID of the resource group.
    tags Map<Any>
    A mapping of tags to assign to the resource.

    getPrometheis 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.GetPrometheisPromethei>
    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, object>
    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 []GetPrometheisPromethei
    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]interface{}
    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<GetPrometheisPromethei>
    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,Object>
    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 GetPrometheisPromethei[]
    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]: any}
    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[GetPrometheisPromethei]
    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, Any]
    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<Any>
    The tag of the Prometheus.

    Supporting Types

    GetPrometheisPromethei

    AuthToken string
    The token used to access the data source.
    ClusterId string
    The ID of the cluster.
    ClusterName string
    The name of the cluster.
    ClusterType string
    The type of the cluster.
    GrafanaInstanceId string
    The ID of the Grafana workspace.
    HttpApiInterUrl string
    Http api public network address.
    HttpApiIntraUrl string
    Http api intranet address.
    Id string
    The ID of the Prometheus.
    PushGateWayInterUrl string
    PushGateway public network Url.
    PushGateWayIntraUrl string
    PushGateway intranet Url.
    RemoteReadInterUrl string
    Public Url of remoteRead.
    RemoteReadIntraUrl string
    RemoteRead intranet Url.
    RemoteWriteInterUrl string
    RemoteWrite public Url.
    RemoteWriteIntraUrl string
    RemoteWrite Intranet Url.
    ResourceGroupId string
    The ID of the resource group.
    SecurityGroupId string
    The ID of the security group.
    SubClustersJson string
    The child instance json string of the globalView instance.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    VpcId string
    The ID of the VPC.
    VswitchId string
    The ID of the VSwitch.
    AuthToken string
    The token used to access the data source.
    ClusterId string
    The ID of the cluster.
    ClusterName string
    The name of the cluster.
    ClusterType string
    The type of the cluster.
    GrafanaInstanceId string
    The ID of the Grafana workspace.
    HttpApiInterUrl string
    Http api public network address.
    HttpApiIntraUrl string
    Http api intranet address.
    Id string
    The ID of the Prometheus.
    PushGateWayInterUrl string
    PushGateway public network Url.
    PushGateWayIntraUrl string
    PushGateway intranet Url.
    RemoteReadInterUrl string
    Public Url of remoteRead.
    RemoteReadIntraUrl string
    RemoteRead intranet Url.
    RemoteWriteInterUrl string
    RemoteWrite public Url.
    RemoteWriteIntraUrl string
    RemoteWrite Intranet Url.
    ResourceGroupId string
    The ID of the resource group.
    SecurityGroupId string
    The ID of the security group.
    SubClustersJson string
    The child instance json string of the globalView instance.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    VpcId string
    The ID of the VPC.
    VswitchId string
    The ID of the VSwitch.
    authToken String
    The token used to access the data source.
    clusterId String
    The ID of the cluster.
    clusterName String
    The name of the cluster.
    clusterType String
    The type of the cluster.
    grafanaInstanceId String
    The ID of the Grafana workspace.
    httpApiInterUrl String
    Http api public network address.
    httpApiIntraUrl String
    Http api intranet address.
    id String
    The ID of the Prometheus.
    pushGateWayInterUrl String
    PushGateway public network Url.
    pushGateWayIntraUrl String
    PushGateway intranet Url.
    remoteReadInterUrl String
    Public Url of remoteRead.
    remoteReadIntraUrl String
    RemoteRead intranet Url.
    remoteWriteInterUrl String
    RemoteWrite public Url.
    remoteWriteIntraUrl String
    RemoteWrite Intranet Url.
    resourceGroupId String
    The ID of the resource group.
    securityGroupId String
    The ID of the security group.
    subClustersJson String
    The child instance json string of the globalView instance.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    vpcId String
    The ID of the VPC.
    vswitchId String
    The ID of the VSwitch.
    authToken string
    The token used to access the data source.
    clusterId string
    The ID of the cluster.
    clusterName string
    The name of the cluster.
    clusterType string
    The type of the cluster.
    grafanaInstanceId string
    The ID of the Grafana workspace.
    httpApiInterUrl string
    Http api public network address.
    httpApiIntraUrl string
    Http api intranet address.
    id string
    The ID of the Prometheus.
    pushGateWayInterUrl string
    PushGateway public network Url.
    pushGateWayIntraUrl string
    PushGateway intranet Url.
    remoteReadInterUrl string
    Public Url of remoteRead.
    remoteReadIntraUrl string
    RemoteRead intranet Url.
    remoteWriteInterUrl string
    RemoteWrite public Url.
    remoteWriteIntraUrl string
    RemoteWrite Intranet Url.
    resourceGroupId string
    The ID of the resource group.
    securityGroupId string
    The ID of the security group.
    subClustersJson string
    The child instance json string of the globalView instance.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    vpcId string
    The ID of the VPC.
    vswitchId 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_id str
    The ID of the Grafana workspace.
    http_api_inter_url str
    Http api public network address.
    http_api_intra_url str
    Http api intranet address.
    id str
    The ID of the Prometheus.
    push_gate_way_inter_url str
    PushGateway public network Url.
    push_gate_way_intra_url str
    PushGateway intranet Url.
    remote_read_inter_url str
    Public Url of remoteRead.
    remote_read_intra_url str
    RemoteRead intranet Url.
    remote_write_inter_url str
    RemoteWrite public Url.
    remote_write_intra_url str
    RemoteWrite Intranet Url.
    resource_group_id str
    The ID of the resource group.
    security_group_id str
    The ID of the security group.
    sub_clusters_json str
    The child instance json string of the globalView instance.
    tags Mapping[str, Any]
    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.
    authToken String
    The token used to access the data source.
    clusterId String
    The ID of the cluster.
    clusterName String
    The name of the cluster.
    clusterType String
    The type of the cluster.
    grafanaInstanceId String
    The ID of the Grafana workspace.
    httpApiInterUrl String
    Http api public network address.
    httpApiIntraUrl String
    Http api intranet address.
    id String
    The ID of the Prometheus.
    pushGateWayInterUrl String
    PushGateway public network Url.
    pushGateWayIntraUrl String
    PushGateway intranet Url.
    remoteReadInterUrl String
    Public Url of remoteRead.
    remoteReadIntraUrl String
    RemoteRead intranet Url.
    remoteWriteInterUrl String
    RemoteWrite public Url.
    remoteWriteIntraUrl String
    RemoteWrite Intranet Url.
    resourceGroupId String
    The ID of the resource group.
    securityGroupId String
    The ID of the security group.
    subClustersJson String
    The child instance json string of the globalView instance.
    tags Map<Any>
    A mapping of tags to assign to the resource.
    vpcId String
    The ID of the VPC.
    vswitchId 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.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi