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. |
clusterType
Required
public readonly clusterType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterType: Instance type.
grafanaInstanceId
Required
public readonly grafanaInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property grafanaInstanceId: Grafana workspace ID.
prometheusName
Required
public readonly prometheusName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property prometheusName: The name of the resource.
clusterId
Optional
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.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.
securityGroupId
Optional
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.
subClustersJson
Optional
public readonly subClustersJson: any[] | IResolvable;
- Type: any[] | @alicloud/ros-cdk-core.IResolvable
Property subClustersJson: The child instances of the Prometheus instance for GlobalView.
tags
Optional
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags: Tags of prometheus.
vpcId
Optional
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.
vSwitchId
Optional
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.