EnvironmentProps
Properties for defining a Environment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-arms-environment
Initializer
using AlibabaCloud.SDK.ROS.CDK.Arms;
new EnvironmentProps {
object BindResourceId,
object EnvironmentName,
object EnvironmentSubType,
object EnvironmentType,
object DeletePromInstance = null,
object FeePackage = null,
object GrafanaWorkspaceId = null,
object ManagedType = null,
object PrometheusInstanceId = null,
object ResourceGroupId = null,
TagsProperty[] Tags = null
};
Properties
Name | Type | Description |
---|---|---|
BindResourceId |
object |
Property bindResourceId: The ID of the resource bound to the environment, such as the container ID or VPC ID. |
EnvironmentName |
object |
Property environmentName: The name of the environment. |
EnvironmentSubType |
object |
Property environmentSubType: The subtype of the environment. |
EnvironmentType |
object |
Property environmentType: The type of the environment. |
DeletePromInstance |
object |
Property deletePromInstance: Cascade delete Prometheus instance. |
FeePackage |
object |
Property feePackage: The payable resource plan. |
GrafanaWorkspaceId |
object |
Property grafanaWorkspaceId: The ID of the grafana workspace bound to the environment. |
ManagedType |
object |
Property managedType: Specifies whether agents or exporters are managed. |
PrometheusInstanceId |
object |
Property prometheusInstanceId: The ID of the Prometheus instance. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group. |
Tags |
TagsProperty[] |
Property tags: Tags of Environment. |
BindResourceId
Required
public object BindResourceId { get; set; }
- Type: object
Property bindResourceId: The ID of the resource bound to the environment, such as the container ID or VPC ID.
For a Cloud environment, specify the region ID.
EnvironmentName
Required
public object EnvironmentName { get; set; }
- Type: object
Property environmentName: The name of the environment.
EnvironmentSubType
Required
public object EnvironmentSubType { get; set; }
- Type: object
Property environmentSubType: The subtype of the environment.
Valid values: One: CS type environment ACK: CS type environment ECS: ECS type environment Cloud: cloud service
EnvironmentType
Required
public object EnvironmentType { get; set; }
- Type: object
Property environmentType: The type of the environment.
Valid values: CS: ACK ECS: ECS Cloud: cloud service
DeletePromInstance
Optional
public object DeletePromInstance { get; set; }
- Type: object
Property deletePromInstance: Cascade delete Prometheus instance.
Default value: true.
FeePackage
Optional
public object FeePackage { get; set; }
- Type: object
Property feePackage: The payable resource plan.
Valid values: If the EnvironmentType parameter is set to CS, set the value to CS_Basic or CS_Pro. Default value: CS_Basic. Otherwise, leave the parameter empty.
GrafanaWorkspaceId
Optional
public object GrafanaWorkspaceId { get; set; }
- Type: object
Property grafanaWorkspaceId: The ID of the grafana workspace bound to the environment.
When passing space, the default share grafana is used.
ManagedType
Optional
public object ManagedType { get; set; }
- Type: object
Property managedType: Specifies whether agents or exporters are managed.
Valid values: none: No. By default, no managed agents or exporters are provided for ACK clusters. agent: Agents are managed. By default, managed agents are provided for ASK clusters, ACS clusters, and ACK One clusters. agent-exporter: Agents and exporters are managed. By default, managed agents and exporters are provided for cloud services.
PrometheusInstanceId
Optional
public object PrometheusInstanceId { get; set; }
- Type: object
Property prometheusInstanceId: The ID of the Prometheus instance.
If no Prometheus instance is created, call the InitEnvironment operation to initialize a storage instance.
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.
Tags
Optional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags of Environment.