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 string
- The unique name of the resource.
- args EnvPodMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args EnvPodMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvPodMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := arms.NewEnvPodMonitor(ctx, "envPodMonitorResource", &arms.EnvPodMonitorArgs{
ConfigYaml: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
AliyunLang: pulumi.String("string"),
})
var envPodMonitorResource = new EnvPodMonitor("envPodMonitorResource", EnvPodMonitorArgs.builder()
.configYaml("string")
.environmentId("string")
.aliyunLang("string")
.build());
env_pod_monitor_resource = alicloud.arms.EnvPodMonitor("envPodMonitorResource",
config_yaml="string",
environment_id="string",
aliyun_lang="string")
const envPodMonitorResource = new alicloud.arms.EnvPodMonitor("envPodMonitorResource", {
configYaml: "string",
environmentId: "string",
aliyunLang: "string",
});
type: alicloud:arms:EnvPodMonitor
properties:
aliyunLang: string
configYaml: string
environmentId: string
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
The EnvPodMonitor resource accepts the following input properties:
- Config
Yaml string - Yaml configuration string.
- Environment
Id string - Environment id.
- Aliyun
Lang string - Language environment, default is Chinese zh | en.
- Config
Yaml string - Yaml configuration string.
- Environment
Id string - Environment id.
- Aliyun
Lang string - Language environment, default is Chinese zh | en.
- config
Yaml String - Yaml configuration string.
- environment
Id String - Environment id.
- aliyun
Lang String - Language environment, default is Chinese zh | en.
- config
Yaml string - Yaml configuration string.
- environment
Id string - Environment id.
- aliyun
Lang string - Language environment, default is Chinese zh | en.
- config_
yaml str - Yaml configuration string.
- environment_
id str - Environment id.
- aliyun_
lang str - Language environment, default is Chinese zh | en.
- config
Yaml String - Yaml configuration string.
- environment
Id String - Environment id.
- aliyun
Lang 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:
- Env
Pod stringMonitor Name - 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 stringMonitor Name - 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 StringMonitor Name - 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 stringMonitor Name - 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_ strmonitor_ name - The name of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- Resource namespace.
- status str
- PodMonitor status.
- env
Pod StringMonitor Name - 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Aliyun
Lang string - Language environment, default is Chinese zh | en.
- Config
Yaml string - Yaml configuration string.
- Env
Pod stringMonitor Name - The name of the resource.
- Environment
Id string - Environment id.
- Namespace string
- Resource namespace.
- Status string
- PodMonitor status.
- Aliyun
Lang string - Language environment, default is Chinese zh | en.
- Config
Yaml string - Yaml configuration string.
- Env
Pod stringMonitor Name - The name of the resource.
- Environment
Id string - Environment id.
- Namespace string
- Resource namespace.
- Status string
- PodMonitor status.
- aliyun
Lang String - Language environment, default is Chinese zh | en.
- config
Yaml String - Yaml configuration string.
- env
Pod StringMonitor Name - The name of the resource.
- environment
Id String - Environment id.
- namespace String
- Resource namespace.
- status String
- PodMonitor status.
- aliyun
Lang string - Language environment, default is Chinese zh | en.
- config
Yaml string - Yaml configuration string.
- env
Pod stringMonitor Name - The name of the resource.
- environment
Id 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_ strmonitor_ name - The name of the resource.
- environment_
id str - Environment id.
- namespace str
- Resource namespace.
- status str
- PodMonitor status.
- aliyun
Lang String - Language environment, default is Chinese zh | en.
- config
Yaml String - Yaml configuration string.
- env
Pod StringMonitor Name - The name of the resource.
- environment
Id 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>
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.