1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. arms
  5. EnvFeature
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.arms.EnvFeature

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Provides a ARMS Env Feature resource. Feature of the arms environment.

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

    NOTE: Available since v1.212.0.

    Create EnvFeature Resource

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

    Constructor syntax

    new EnvFeature(name: string, args: EnvFeatureArgs, opts?: CustomResourceOptions);
    @overload
    def EnvFeature(resource_name: str,
                   args: EnvFeatureArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnvFeature(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   env_feature_name: Optional[str] = None,
                   environment_id: Optional[str] = None,
                   feature_version: Optional[str] = None)
    func NewEnvFeature(ctx *Context, name string, args EnvFeatureArgs, opts ...ResourceOption) (*EnvFeature, error)
    public EnvFeature(string name, EnvFeatureArgs args, CustomResourceOptions? opts = null)
    public EnvFeature(String name, EnvFeatureArgs args)
    public EnvFeature(String name, EnvFeatureArgs args, CustomResourceOptions options)
    
    type: alicloud:arms:EnvFeature
    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 EnvFeatureArgs
    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 EnvFeatureArgs
    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 EnvFeatureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvFeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvFeatureArgs
    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 envFeatureResource = new AliCloud.Arms.EnvFeature("envFeatureResource", new()
    {
        EnvFeatureName = "string",
        EnvironmentId = "string",
        FeatureVersion = "string",
    });
    
    example, err := arms.NewEnvFeature(ctx, "envFeatureResource", &arms.EnvFeatureArgs{
    	EnvFeatureName: pulumi.String("string"),
    	EnvironmentId:  pulumi.String("string"),
    	FeatureVersion: pulumi.String("string"),
    })
    
    var envFeatureResource = new EnvFeature("envFeatureResource", EnvFeatureArgs.builder()
        .envFeatureName("string")
        .environmentId("string")
        .featureVersion("string")
        .build());
    
    env_feature_resource = alicloud.arms.EnvFeature("envFeatureResource",
        env_feature_name="string",
        environment_id="string",
        feature_version="string")
    
    const envFeatureResource = new alicloud.arms.EnvFeature("envFeatureResource", {
        envFeatureName: "string",
        environmentId: "string",
        featureVersion: "string",
    });
    
    type: alicloud:arms:EnvFeature
    properties:
        envFeatureName: string
        environmentId: string
        featureVersion: string
    

    EnvFeature 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 EnvFeature resource accepts the following input properties:

    EnvFeatureName string
    The name of the resource.
    EnvironmentId string
    The first ID of the resource.
    FeatureVersion string
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    EnvFeatureName string
    The name of the resource.
    EnvironmentId string
    The first ID of the resource.
    FeatureVersion string
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    envFeatureName String
    The name of the resource.
    environmentId String
    The first ID of the resource.
    featureVersion String
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    envFeatureName string
    The name of the resource.
    environmentId string
    The first ID of the resource.
    featureVersion string
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    env_feature_name str
    The name of the resource.
    environment_id str
    The first ID of the resource.
    feature_version str
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    envFeatureName String
    The name of the resource.
    environmentId String
    The first ID of the resource.
    featureVersion String
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Namespace string
    Namespace.
    Status string
    Status.
    Id string
    The provider-assigned unique ID for this managed resource.
    Namespace string
    Namespace.
    Status string
    Status.
    id String
    The provider-assigned unique ID for this managed resource.
    namespace String
    Namespace.
    status String
    Status.
    id string
    The provider-assigned unique ID for this managed resource.
    namespace string
    Namespace.
    status string
    Status.
    id str
    The provider-assigned unique ID for this managed resource.
    namespace str
    Namespace.
    status str
    Status.
    id String
    The provider-assigned unique ID for this managed resource.
    namespace String
    Namespace.
    status String
    Status.

    Look up Existing EnvFeature Resource

    Get an existing EnvFeature 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?: EnvFeatureState, opts?: CustomResourceOptions): EnvFeature
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            env_feature_name: Optional[str] = None,
            environment_id: Optional[str] = None,
            feature_version: Optional[str] = None,
            namespace: Optional[str] = None,
            status: Optional[str] = None) -> EnvFeature
    func GetEnvFeature(ctx *Context, name string, id IDInput, state *EnvFeatureState, opts ...ResourceOption) (*EnvFeature, error)
    public static EnvFeature Get(string name, Input<string> id, EnvFeatureState? state, CustomResourceOptions? opts = null)
    public static EnvFeature get(String name, Output<String> id, EnvFeatureState 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:
    EnvFeatureName string
    The name of the resource.
    EnvironmentId string
    The first ID of the resource.
    FeatureVersion string
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    Namespace string
    Namespace.
    Status string
    Status.
    EnvFeatureName string
    The name of the resource.
    EnvironmentId string
    The first ID of the resource.
    FeatureVersion string
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    Namespace string
    Namespace.
    Status string
    Status.
    envFeatureName String
    The name of the resource.
    environmentId String
    The first ID of the resource.
    featureVersion String
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    namespace String
    Namespace.
    status String
    Status.
    envFeatureName string
    The name of the resource.
    environmentId string
    The first ID of the resource.
    featureVersion string
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    namespace string
    Namespace.
    status string
    Status.
    env_feature_name str
    The name of the resource.
    environment_id str
    The first ID of the resource.
    feature_version str
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    namespace str
    Namespace.
    status str
    Status.
    envFeatureName String
    The name of the resource.
    environmentId String
    The first ID of the resource.
    featureVersion String
    Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
    namespace String
    Namespace.
    status String
    Status.

    Import

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

    $ pulumi import alicloud:arms/envFeature:EnvFeature example <environment_id>:<env_feature_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.66.0 published on Friday, Nov 15, 2024 by Pulumi