PrometheusInstanceProps
Properties for defining a PrometheusInstance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms2-prometheusinstance
Initializer
import com.aliyun.ros.cdk.cms2.PrometheusInstanceProps;
PrometheusInstanceProps.builder()
.prometheusInstanceName(java.lang.String)
.prometheusInstanceName(IResolvable)
// .archiveDuration(java.lang.Number)
// .archiveDuration(IResolvable)
// .authFreeReadPolicy(java.lang.String)
// .authFreeReadPolicy(IResolvable)
// .authFreeWritePolicy(java.lang.String)
// .authFreeWritePolicy(IResolvable)
// .basicMetricQueryLimit(java.lang.Boolean)
// .basicMetricQueryLimit(IResolvable)
// .enableAuthFreeRead(java.lang.Boolean)
// .enableAuthFreeRead(IResolvable)
// .enableAuthFreeWrite(java.lang.Boolean)
// .enableAuthFreeWrite(IResolvable)
// .enableAuthToken(java.lang.Boolean)
// .enableAuthToken(IResolvable)
// .paymentType(java.lang.String)
// .paymentType(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .status(java.lang.String)
// .status(IResolvable)
// .storageDuration(java.lang.Number)
// .storageDuration(IResolvable)
// .workspace(java.lang.String)
// .workspace(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
prometheusInstanceName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property prometheusInstanceName: The name of the Prometheus instance. |
archiveDuration | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property archiveDuration: The archive duration of the Prometheus instance. |
authFreeReadPolicy | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property authFreeReadPolicy: The authentication-free read policy of the Prometheus instance. |
authFreeWritePolicy | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property authFreeWritePolicy: The authentication-free write policy of the Prometheus instance. |
basicMetricQueryLimit | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property basicMetricQueryLimit: The basic metric query limit of the Prometheus instance. |
enableAuthFreeRead | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enableAuthFreeRead: Whether to enable authentication-free read for the Prometheus instance. |
enableAuthFreeWrite | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enableAuthFreeWrite: Whether to enable authentication-free write for the Prometheus instance. |
enableAuthToken | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enableAuthToken: Whether to enable authentication token for the Prometheus instance. |
paymentType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property paymentType: The payment type of the Prometheus instance. |
resourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property resourceGroupId: The ID of the resource group. |
status | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property status: The status of the Prometheus instance. |
storageDuration | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property storageDuration: The storage duration of the Prometheus instance. |
workspace | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property workspace: The workspace of the Prometheus instance. |
prometheusInstanceNameRequired
public java.lang.Object getPrometheusInstanceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property prometheusInstanceName: The name of the Prometheus instance.
archiveDurationOptional
public java.lang.Object getArchiveDuration();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property archiveDuration: The archive duration of the Prometheus instance.
authFreeReadPolicyOptional
public java.lang.Object getAuthFreeReadPolicy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property authFreeReadPolicy: The authentication-free read policy of the Prometheus instance.
authFreeWritePolicyOptional
public java.lang.Object getAuthFreeWritePolicy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property authFreeWritePolicy: The authentication-free write policy of the Prometheus instance.
basicMetricQueryLimitOptional
public java.lang.Object getBasicMetricQueryLimit();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property basicMetricQueryLimit: The basic metric query limit of the Prometheus instance.
enableAuthFreeReadOptional
public java.lang.Object getEnableAuthFreeRead();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableAuthFreeRead: Whether to enable authentication-free read for the Prometheus instance.
enableAuthFreeWriteOptional
public java.lang.Object getEnableAuthFreeWrite();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableAuthFreeWrite: Whether to enable authentication-free write for the Prometheus instance.
enableAuthTokenOptional
public java.lang.Object getEnableAuthToken();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableAuthToken: Whether to enable authentication token for the Prometheus instance.
paymentTypeOptional
public java.lang.Object getPaymentType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property paymentType: The payment type of the Prometheus instance.
resourceGroupIdOptional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group.
statusOptional
public java.lang.Object getStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property status: The status of the Prometheus instance.
storageDurationOptional
public java.lang.Object getStorageDuration();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property storageDuration: The storage duration of the Prometheus instance.
workspaceOptional
public java.lang.Object getWorkspace();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property workspace: The workspace of the Prometheus instance.