Skip to content

PrometheusProps

Properties for defining a Prometheus.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-arms-prometheus

Initializer

import { PrometheusProps } from '@alicloud/ros-cdk-arms'
const prometheusProps: PrometheusProps = { ... }

Properties

Name Type Description
clusterType string | @alicloud/ros-cdk-core.IResolvable Property clusterType: Instance type.
grafanaInstanceId string | @alicloud/ros-cdk-core.IResolvable Property grafanaInstanceId: Grafana workspace ID.
prometheusName string | @alicloud/ros-cdk-core.IResolvable Property prometheusName: The name of the resource.
clusterId string | @alicloud/ros-cdk-core.IResolvable Property clusterId: The ID of the cluster.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group.
securityGroupId string | @alicloud/ros-cdk-core.IResolvable Property securityGroupId: The ID of the custom resource group.
subClustersJson any[] | @alicloud/ros-cdk-core.IResolvable Property subClustersJson: The child instances of the Prometheus instance for GlobalView.
tags TagsProperty[] Property tags: Tags of prometheus.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: The ID of the virtual private cloud (VPC).
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: The ID of the vSwitch.

clusterTypeRequired

public readonly clusterType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property clusterType: Instance type.


grafanaInstanceIdRequired

public readonly grafanaInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property grafanaInstanceId: Grafana workspace ID.


prometheusNameRequired

public readonly prometheusName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property prometheusName: The name of the resource.


clusterIdOptional

public readonly clusterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property clusterId: The ID of the cluster.

This parameter is required if you set ClusterType to ManagedKubernetes.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of the resource group.


securityGroupIdOptional

public readonly securityGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property securityGroupId: The ID of the custom resource group.

You can specify this parameter to bind the instance to the resource group.


subClustersJsonOptional

public readonly subClustersJson: any[] | IResolvable;
  • Type: any[] | @alicloud/ros-cdk-core.IResolvable

Property subClustersJson: The child instances of the Prometheus instance for GlobalView.


tagsOptional

public readonly tags: TagsProperty[];

Property tags: Tags of prometheus.


vpcIdOptional

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vpcId: The ID of the virtual private cloud (VPC).

This parameter is required if you set ClusterType to ecs or create a serverless Kubernetes (ASK) managed cluster.


vSwitchIdOptional

public readonly vSwitchId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vSwitchId: The ID of the vSwitch.

This parameter is required if you set ClusterType to ecs or create an ASK managed cluster.