EnvironmentProps
Properties for defining a Environment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-arms-environment
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkarms"
&alicloudroscdkarms.EnvironmentProps {
BindResourceId: interface{},
EnvironmentName: interface{},
EnvironmentSubType: interface{},
EnvironmentType: interface{},
DeletePromInstance: interface{},
FeePackage: interface{},
GrafanaWorkspaceId: interface{},
ManagedType: interface{},
PrometheusInstanceId: interface{},
ResourceGroupId: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkarms.RosEnvironment.TagsProperty,
}
Properties
Name | Type | Description |
---|---|---|
BindResourceId |
interface{} |
Property bindResourceId: The ID of the resource bound to the environment, such as the container ID or VPC ID. |
EnvironmentName |
interface{} |
Property environmentName: The name of the environment. |
EnvironmentSubType |
interface{} |
Property environmentSubType: The subtype of the environment. |
EnvironmentType |
interface{} |
Property environmentType: The type of the environment. |
DeletePromInstance |
interface{} |
Property deletePromInstance: Cascade delete Prometheus instance. |
FeePackage |
interface{} |
Property feePackage: The payable resource plan. |
GrafanaWorkspaceId |
interface{} |
Property grafanaWorkspaceId: The ID of the grafana workspace bound to the environment. |
ManagedType |
interface{} |
Property managedType: Specifies whether agents or exporters are managed. |
PrometheusInstanceId |
interface{} |
Property prometheusInstanceId: The ID of the Prometheus instance. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group. |
Tags |
*[]TagsProperty |
Property tags: Tags of Environment. |
BindResourceId
Required
BindResourceId interface{}
- Type: interface{}
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
EnvironmentName interface{}
- Type: interface{}
Property environmentName: The name of the environment.
EnvironmentSubType
Required
EnvironmentSubType interface{}
- Type: interface{}
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
EnvironmentType interface{}
- Type: interface{}
Property environmentType: The type of the environment.
Valid values: CS: ACK ECS: ECS Cloud: cloud service
DeletePromInstance
Optional
DeletePromInstance interface{}
- Type: interface{}
Property deletePromInstance: Cascade delete Prometheus instance.
Default value: true.
FeePackage
Optional
FeePackage interface{}
- Type: interface{}
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
GrafanaWorkspaceId interface{}
- Type: interface{}
Property grafanaWorkspaceId: The ID of the grafana workspace bound to the environment.
When passing space, the default share grafana is used.
ManagedType
Optional
ManagedType interface{}
- Type: interface{}
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
PrometheusInstanceId interface{}
- Type: interface{}
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
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags of Environment.