1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. arms
  5. EnvPodMonitor
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.arms.EnvPodMonitor

Explore with Pulumi AI

Provides a ARMS Env Pod Monitor resource. PodMonitor for the arms environment.

For information about ARMS Env Pod Monitor and how to use it, see What is Env Pod Monitor.

NOTE: Available since v1.212.0.

Create EnvPodMonitor Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new EnvPodMonitor(name: string, args: EnvPodMonitorArgs, opts?: CustomResourceOptions);
@overload
def EnvPodMonitor(resource_name: str,
                  args: EnvPodMonitorArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def EnvPodMonitor(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  config_yaml: Optional[str] = None,
                  environment_id: Optional[str] = None,
                  aliyun_lang: Optional[str] = None)
func NewEnvPodMonitor(ctx *Context, name string, args EnvPodMonitorArgs, opts ...ResourceOption) (*EnvPodMonitor, error)
public EnvPodMonitor(string name, EnvPodMonitorArgs args, CustomResourceOptions? opts = null)
public EnvPodMonitor(String name, EnvPodMonitorArgs args)
public EnvPodMonitor(String name, EnvPodMonitorArgs args, CustomResourceOptions options)
type: alicloud:arms:EnvPodMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EnvPodMonitorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EnvPodMonitorArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EnvPodMonitorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EnvPodMonitorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EnvPodMonitorArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var envPodMonitorResource = new AliCloud.Arms.EnvPodMonitor("envPodMonitorResource", new()
{
    ConfigYaml = "string",
    EnvironmentId = "string",
    AliyunLang = "string",
});
Copy
example, err := arms.NewEnvPodMonitor(ctx, "envPodMonitorResource", &arms.EnvPodMonitorArgs{
	ConfigYaml:    pulumi.String("string"),
	EnvironmentId: pulumi.String("string"),
	AliyunLang:    pulumi.String("string"),
})
Copy
var envPodMonitorResource = new EnvPodMonitor("envPodMonitorResource", EnvPodMonitorArgs.builder()
    .configYaml("string")
    .environmentId("string")
    .aliyunLang("string")
    .build());
Copy
env_pod_monitor_resource = alicloud.arms.EnvPodMonitor("envPodMonitorResource",
    config_yaml="string",
    environment_id="string",
    aliyun_lang="string")
Copy
const envPodMonitorResource = new alicloud.arms.EnvPodMonitor("envPodMonitorResource", {
    configYaml: "string",
    environmentId: "string",
    aliyunLang: "string",
});
Copy
type: alicloud:arms:EnvPodMonitor
properties:
    aliyunLang: string
    configYaml: string
    environmentId: string
Copy

EnvPodMonitor Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The EnvPodMonitor resource accepts the following input properties:

ConfigYaml This property is required. string
Yaml configuration string.
EnvironmentId
This property is required.
Changes to this property will trigger replacement.
string
Environment id.
AliyunLang string
Language environment, default is Chinese zh | en.
ConfigYaml This property is required. string
Yaml configuration string.
EnvironmentId
This property is required.
Changes to this property will trigger replacement.
string
Environment id.
AliyunLang string
Language environment, default is Chinese zh | en.
configYaml This property is required. String
Yaml configuration string.
environmentId
This property is required.
Changes to this property will trigger replacement.
String
Environment id.
aliyunLang String
Language environment, default is Chinese zh | en.
configYaml This property is required. string
Yaml configuration string.
environmentId
This property is required.
Changes to this property will trigger replacement.
string
Environment id.
aliyunLang string
Language environment, default is Chinese zh | en.
config_yaml This property is required. str
Yaml configuration string.
environment_id
This property is required.
Changes to this property will trigger replacement.
str
Environment id.
aliyun_lang str
Language environment, default is Chinese zh | en.
configYaml This property is required. String
Yaml configuration string.
environmentId
This property is required.
Changes to this property will trigger replacement.
String
Environment id.
aliyunLang String
Language environment, default is Chinese zh | en.

Outputs

All input properties are implicitly available as output properties. Additionally, the EnvPodMonitor resource produces the following output properties:

EnvPodMonitorName string
The name of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Namespace string
Resource namespace.
Status string
PodMonitor status.
EnvPodMonitorName string
The name of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Namespace string
Resource namespace.
Status string
PodMonitor status.
envPodMonitorName String
The name of the resource.
id String
The provider-assigned unique ID for this managed resource.
namespace String
Resource namespace.
status String
PodMonitor status.
envPodMonitorName string
The name of the resource.
id string
The provider-assigned unique ID for this managed resource.
namespace string
Resource namespace.
status string
PodMonitor status.
env_pod_monitor_name str
The name of the resource.
id str
The provider-assigned unique ID for this managed resource.
namespace str
Resource namespace.
status str
PodMonitor status.
envPodMonitorName String
The name of the resource.
id String
The provider-assigned unique ID for this managed resource.
namespace String
Resource namespace.
status String
PodMonitor status.

Look up Existing EnvPodMonitor Resource

Get an existing EnvPodMonitor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EnvPodMonitorState, opts?: CustomResourceOptions): EnvPodMonitor
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aliyun_lang: Optional[str] = None,
        config_yaml: Optional[str] = None,
        env_pod_monitor_name: Optional[str] = None,
        environment_id: Optional[str] = None,
        namespace: Optional[str] = None,
        status: Optional[str] = None) -> EnvPodMonitor
func GetEnvPodMonitor(ctx *Context, name string, id IDInput, state *EnvPodMonitorState, opts ...ResourceOption) (*EnvPodMonitor, error)
public static EnvPodMonitor Get(string name, Input<string> id, EnvPodMonitorState? state, CustomResourceOptions? opts = null)
public static EnvPodMonitor get(String name, Output<String> id, EnvPodMonitorState state, CustomResourceOptions options)
resources:  _:    type: alicloud:arms:EnvPodMonitor    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AliyunLang string
Language environment, default is Chinese zh | en.
ConfigYaml string
Yaml configuration string.
EnvPodMonitorName string
The name of the resource.
EnvironmentId Changes to this property will trigger replacement. string
Environment id.
Namespace string
Resource namespace.
Status string
PodMonitor status.
AliyunLang string
Language environment, default is Chinese zh | en.
ConfigYaml string
Yaml configuration string.
EnvPodMonitorName string
The name of the resource.
EnvironmentId Changes to this property will trigger replacement. string
Environment id.
Namespace string
Resource namespace.
Status string
PodMonitor status.
aliyunLang String
Language environment, default is Chinese zh | en.
configYaml String
Yaml configuration string.
envPodMonitorName String
The name of the resource.
environmentId Changes to this property will trigger replacement. String
Environment id.
namespace String
Resource namespace.
status String
PodMonitor status.
aliyunLang string
Language environment, default is Chinese zh | en.
configYaml string
Yaml configuration string.
envPodMonitorName string
The name of the resource.
environmentId Changes to this property will trigger replacement. string
Environment id.
namespace string
Resource namespace.
status string
PodMonitor status.
aliyun_lang str
Language environment, default is Chinese zh | en.
config_yaml str
Yaml configuration string.
env_pod_monitor_name str
The name of the resource.
environment_id Changes to this property will trigger replacement. str
Environment id.
namespace str
Resource namespace.
status str
PodMonitor status.
aliyunLang String
Language environment, default is Chinese zh | en.
configYaml String
Yaml configuration string.
envPodMonitorName String
The name of the resource.
environmentId Changes to this property will trigger replacement. String
Environment id.
namespace String
Resource namespace.
status String
PodMonitor status.

Import

ARMS Env Pod Monitor can be imported using the id, e.g.

$ pulumi import alicloud:arms/envPodMonitor:EnvPodMonitor example <environment_id>:<namespace>:<env_pod_monitor_name>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.