1. Packages
  2. Alicloud Provider
  3. API Docs
  4. arms
  5. EnvPodMonitor
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.arms.EnvPodMonitor

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    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:

    ConfigYaml string
    Yaml configuration string.
    EnvironmentId string
    Environment id.
    AliyunLang string
    Language environment, default is Chinese zh | en.
    ConfigYaml string
    Yaml configuration string.
    EnvironmentId string
    Environment id.
    AliyunLang string
    Language environment, default is Chinese zh | en.
    configYaml String
    Yaml configuration string.
    environmentId String
    Environment id.
    aliyunLang String
    Language environment, default is Chinese zh | en.
    configYaml string
    Yaml configuration string.
    environmentId string
    Environment id.
    aliyunLang 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.
    configYaml String
    Yaml configuration string.
    environmentId 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)
    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.
    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 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 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 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 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 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 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.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi