Skip to content

ParameterProps

Properties for defining a Parameter.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-parameter

Initializer

using AlibabaCloud.SDK.ROS.CDK.Oos;
new ParameterProps {
    object Name,
    object Type,
    object Value,
    object Constraints = null,
    object Description = null,
    object ResourceGroupId = null
};

Properties

Name Type Description
Name object Property name: The name of the parameter.
Type object Property type: The data type of the common parameter.
Value object Property value: The value of the parameter.
Constraints object Property constraints: The constraints of the parameter.
Description object Property description: The description of the parameter.
ResourceGroupId object Property resourceGroupId: Resource group id.

NameRequired

public object Name { get; set; }
  • Type: object

Property name: The name of the parameter.

The name must be 1 to 200 characters in length,and can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.


TypeRequired

public object Type { get; set; }
  • Type: object

Property type: The data type of the common parameter.

Valid values: String and StringList.


ValueRequired

public object Value { get; set; }
  • Type: object

Property value: The value of the parameter.

The value must be 1 to 4096 characters in length.


ConstraintsOptional

public object Constraints { get; set; }
  • Type: object

Property constraints: The constraints of the parameter.

By default, this parameter is null. Valid values: AllowedValues: The value that is allowed for the parameter. It must be an array string. AllowedPattern: The pattern that is allowed for the parameter. It must be a regular expression. MinLength: The minimum length of the parameter. MaxLength: The maximum length of the parameter.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The description of the parameter.

The description must be 1 to 200 characters in length.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: Resource group id.