Skip to content

ConstraintProps

Properties for defining a Constraint.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-servicecatalog-constraint

Initializer

using AlibabaCloud.SDK.ROS.CDK.Servicecatalog;
new ConstraintProps {
    object Config,
    object ConstraintType,
    object PortfolioId,
    object ProductId,
    object Description = null
};

Properties

Name Type Description
Config object Property config: The configuration of the constraint.
ConstraintType object Property constraintType: The type of the constraint.
PortfolioId object Property portfolioId: The ID of the portfolio.
ProductId object Property productId: The ID of the product.
Description object Property description: The description of the constraint.

ConfigRequired

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

Property config: The configuration of the constraint.

Format: { "LocalRoleName": "" }.


ConstraintTypeRequired

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

Property constraintType: The type of the constraint.

The value is fixed as Launch, which specifies the launch constraint.


PortfolioIdRequired

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

Property portfolioId: The ID of the portfolio.


ProductIdRequired

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

Property productId: The ID of the product.


DescriptionOptional

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

Property description: The description of the constraint.

The value must be 1 to 128 characters in length.