alicloud.arms.EnvFeature
Explore with Pulumi AI
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
The EnvFeature resource accepts the following input properties:
- Env
Feature stringName - The name of the resource.
- Environment
Id string - The first ID of the resource.
- Feature
Version string - Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
- Env
Feature stringName - The name of the resource.
- Environment
Id string - The first ID of the resource.
- Feature
Version string - Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
- env
Feature StringName - The name of the resource.
- environment
Id String - The first ID of the resource.
- feature
Version String - Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
- env
Feature stringName - The name of the resource.
- environment
Id string - The first ID of the resource.
- feature
Version string - Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
- env_
feature_ strname - 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.
- env
Feature StringName - The name of the resource.
- environment
Id String - The first ID of the resource.
- feature
Version 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:
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.
- Env
Feature stringName - The name of the resource.
- Environment
Id string - The first ID of the resource.
- Feature
Version string - Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
- Namespace string
- Namespace.
- Status string
- Status.
- Env
Feature stringName - The name of the resource.
- Environment
Id string - The first ID of the resource.
- Feature
Version string - Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
- Namespace string
- Namespace.
- Status string
- Status.
- env
Feature StringName - The name of the resource.
- environment
Id String - The first ID of the resource.
- feature
Version String - Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
- namespace String
- Namespace.
- status String
- Status.
- env
Feature stringName - The name of the resource.
- environment
Id string - The first ID of the resource.
- feature
Version string - Version information of the Feature. You can query Feature information by using ListEnvironmentFeatures.
- namespace string
- Namespace.
- status string
- Status.
- env_
feature_ strname - 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.
- env
Feature StringName - The name of the resource.
- environment
Id String - The first ID of the resource.
- feature
Version 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.