Skip to content

ProductVersionProps

Properties for defining a ProductVersion.

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

Initializer

import com.aliyun.ros.cdk.servicecatalog.ProductVersionProps;
ProductVersionProps.builder()
    .productId(java.lang.String)
    .productId(IResolvable)
    .productVersionName(java.lang.String)
    .productVersionName(IResolvable)
    .templateType(java.lang.String)
    .templateType(IResolvable)
    .templateUrl(java.lang.String)
    .templateUrl(IResolvable)
//  .active(java.lang.Boolean)
//  .active(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .guidance(java.lang.String)
//  .guidance(IResolvable)
    .build();

Properties

Name Type Description
productId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property productId: The ID of the product to which the product version belongs.
productVersionName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property productVersionName: The name of the product version.
templateType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateType: The type of the product template.
templateUrl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateUrl: The URL of the template.
active java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property active: Specifies whether the product version is active.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the product version.
guidance java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property guidance: The recommendation information.

productIdRequired

public java.lang.Object getProductId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property productId: The ID of the product to which the product version belongs.


productVersionNameRequired

public java.lang.Object getProductVersionName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property productVersionName: The name of the product version.


templateTypeRequired

public java.lang.Object getTemplateType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property templateType: The type of the product template.

Valid values:

  • RosTerraformTemplate: the Terraform template that is supported by Resource Orchestration Service (ROS).
  • RosStandardTemplate: the standard ROS template.

templateUrlRequired

public java.lang.Object getTemplateUrl();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property templateUrl: The URL of the template.


activeOptional

public java.lang.Object getActive();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property active: Specifies whether the product version is active.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the product version.

The value must be 1 to 128 characters in length.


guidanceOptional

public java.lang.Object getGuidance();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property guidance: The recommendation information.

Valid values:

  • Default: No recommendation information is provided. This is the default value.
  • Recommended: the recommendation version.
  • Latest: the latest version.
  • Deprecated: the version that is about to be discontinued.