Skip to main content

Resource: otc-marketplace_product_revision

Description

No description available.

Example Usage

resource "otc-marketplace_product_revision" "example" {
admin_suggestion = "example string"
byol = {
activation_url = "example string"
file_name_in_secret = "example string"
secret_name = "example string"
webshop_url = "example string"
}
categories = "value"
contractual_documents = {
content = "example string"
file_name = "example string"
is_deleted = true
}
contractual_documents_info = {
file_name = "example string"
url = "example string"
}
description = "example string"
description_short = "example string"
eula = "example string"
guidance = "example string"
helm_external = "example string"
icon = "example string"
id = "example string"
license_fee = "example string"
license_info = "example string"
number = 123
post_deployment_info = "example string"
pre_deployment_info = "example string"
pricing_info = "example string"
product_id = "example string"
product_revision_application_configuration = {
confidential = true
default_value = "example string"
hidden = true
hint = "example string"
input_type = "example string"
key = "example string"
label = "example string"
multiple = true
required = true
tooltip = "example string"
validation = {
message = "example string"
pattern = "example string"
}
values = {
label = "example string"
value = "example string"
}
}
proposed_release_date = "example string"
scheduled_release_date = "example string"
scheduled_release_until_date = "example string"
state = "example string"
used_software = {
license_name = "example string"
license_url = "example string"
name = "example string"
}
version = "example string"
}

Argument Reference

  • admin_suggestion - Admin suggestion is for product revision which got rejected (Optional)
  • byol - No description available. (Optional)
    • activation_url - (Unsure) Link that, when visited, registers that the customer has accepted the license (Optional)
    • file_name_in_secret - filename in secret in which the license data will be stored. (Optional)
    • secret_name - Name of the secret where byol license will be stored. (Optional)
    • webshop_url - (Unsure) Link to the webshop where the Product is available (Optional)
  • categories - Ids correlating to the Categories this Product should be in (Required)
  • contractual_documents - Legal documents to be agreed to when using this product. This field is only used during Create (POST) (Optional)
    • content - base64 encoded file with mimetype (Optional)
    • file_name - Name of the file (Optional)
    • is_deleted - Should the file be marked as deleted (Optional)
  • contractual_documents_info - Legal documents governing the use of this product (Optional)
    • file_name - Name of the file (Optional)
    • url - Url to the file (Optional)
  • description - The Markdown description of the product functionality (Required)
  • description_short - The short description of the product which appears in the teasers (Required)
  • eula - (Deprecated) The Markdown description of the product EULA (Optional)
  • guidance - A description of the install process (Optional)
  • helm_external - The Helm chart URL for the product provided by the seller (Required)
  • icon - Base64 encoded image in 16:9 format (Optional)
  • id - Default kind of id for most objects defined in this project (Optional)
  • license_fee - The license fee including any details, this may be a either a simple one off license fee in Euro, or a complex annual license fee in Euro and a variable additional cost (Optional)
  • license_info - Extra info about the license the Customer needs to agree to when buying this Product (Optional)
  • number - The incremental number of the revision (Optional)
  • post_deployment_info - The Markdown text for the post deployment screen explaining how to access the product or the next steps (Required)
  • pre_deployment_info - The Markdown text for the pre deployment screen explaining what to expect during deployment (Optional)
  • pricing_info - The pricing information as a guideline for how much the application will cost the user in the OTC (Required)
  • product_id - Default kind of id for most objects defined in this project (Optional)
  • product_revision_application_configuration - Application configuration records (Optional)
    • confidential - If this config entry should be confidential (Optional)
    • default_value - Default value of the attribute the customer will need to set (Optional)
    • hidden - Toggles if the configuration should be hidden or not (Optional)
    • hint - Extra info describing what the configuration will be used for (Optional)
    • input_type - The type of input which is used for this element, text, switch or selection (selection may be eiter radio, select or checkbox) (Optional)
    • key - Name of the attribute the customer will need to set (Required)
    • label - Description of the key/value the customer will need to set (Required)
    • multiple - When the configuration is a selection type this property defines if multiple options can be selected or if the user can only choose one. (Optional)
    • required - Toggles if the configuration needs to be set or not (Optional)
    • tooltip - Extra info to be shown in a tooltip while the customer enters the configuration (Optional)
    • validation - Describes rules to be used to check the configurations and ensure accuracy (or conformity at the very least) (Optional)
      • message - No description available. (Optional)
      • pattern - No description available. (Optional)
    • values - An array of value objects (Optional)
      • label - The label of the value being selected (Optional)
      • value - The value of the selected option which will be used during creation of the application if selected (Optional)
  • proposed_release_date - When the Seller would like to release this Revision of the Product. Once agreed to, a scheduled_release_date and/or scheduled_release_until_date will be set (Optional)
  • scheduled_release_date - When the product is scheduled to be released (usually set after being proposed with the proposed release date) (Optional)
  • scheduled_release_until_date - Time before the product is scheduled to be released (not after this date, but after scheduled_release_date) (Optional)
  • state - Enum showing the state this revision is in. Revisions, when persisted, start as draft, but can be sent for review by setting this to ready_for_review after which this will be set to either approved or rejected (Optional)
  • used_software - Entries describing the software used in this Product and the licenses that govern their use (Required)
    • license_name - The name of the license used to govern the use of the software (Optional)
    • license_url - Link to the license text (Optional)
    • name - The name of the software used (Optional)
  • version - The version of the release (Optional)