Skip to content

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.

BindResourceIdRequired

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.


EnvironmentNameRequired

EnvironmentName interface{}
  • Type: interface{}

Property environmentName: The name of the environment.


EnvironmentSubTypeRequired

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


EnvironmentTypeRequired

EnvironmentType interface{}
  • Type: interface{}

Property environmentType: The type of the environment.

Valid values: CS: ACK ECS: ECS Cloud: cloud service


DeletePromInstanceOptional

DeletePromInstance interface{}
  • Type: interface{}

Property deletePromInstance: Cascade delete Prometheus instance.

Default value: true.


FeePackageOptional

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.


GrafanaWorkspaceIdOptional

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.


ManagedTypeOptional

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.


PrometheusInstanceIdOptional

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.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags of Environment.