Custom sales

更新时间:
复制 MD 格式

If you need to limit the validity period of service instances for your private service, or if you want to define custom data (custom metadata) for your application or software to retrieve, you can configure custom sales for the service. This topic explains how to configure and modify custom sales.

Limitations

  • Service type: must be a private service.

  • Validity period: applies to service instances created in Compute Nest.

  • Custom metadata: applies to service instances created in Alibaba Cloud Marketplace or Compute Nest.

Configure or modify custom sales

  1. Configure or modify the validity period or custom metadata for a private service.

    1. Log on to the Compute Nest console.

    2. In the left navigation bar, select My Services.

    3. On the Created Services tab, select the private service that you want to configure.

    4. Click the service name to go to the service details page, and in the Sales Configuration section, click Custom Sales Configuration.

      You can associate only one sales model with a service. Click Edit in the upper-right corner of the Custom Sales Configuration card to begin.

    5. Configure the custom sales settings.

      1. Enable Custom Sales Configuration.

      2. Specify Validity Period.

        Note

        The maximum validity period is 1,000 days. When the validity period of a service instance expires, its resources are not released.

      3. Click Add Metadata, fill in the parameters, and click Yes to complete the configuration.

        • Template: Select the template that you specified when you created the service.

        • Plan: Select the plan that you configured when you created the service. If no plan is available, you can leave this field empty. If at least one plan exists, this field is required.

        • Custom Metadata: The data defined by the service provider.

          Note

          After you define the custom metadata, you can call the CheckOutLicense API operation from the software within the service instance to retrieve the custom metadata.

  2. Test and publish the service.

    Note

    If the service is already published, you can skip this step and proceed to create a service instance.

    1. You must test the service to ensure that it is available. For more information, see Test a service.

    2. After the service passes the tests, submit it for review. After the service is approved, you can publish it. For more information, see Publish a service.

  3. Create a service instance.

    You need to create a service instance to verify that the Custom Sales Configuration is successful. The configuration is successful if the Service Instance Validity Notice is displayed on the service instance creation page. To create a service instance, see Create a service instance by using the Compute Nest console.

    Important

    After you configure or modify custom sales, the changes take effect only for newly created service instances.

    The Notes on Service Instance Validity Period section displays the validity period information, such as "Service instance validity period 9 days", and includes the following note: "After the service instance expires, its resources are not released, but the service will become unavailable. To modify the validity period of the service instance, contact the service provider."

Modify a single service instance's custom sales

As a service provider, you can modify the validity period and custom metadata for a customer's service instance. For example, if a customer wants to renew an expired service instance, you can extend its validity period.

  1. Log on to the Compute Nest console.

  2. In the left navigation bar, click Service Instance.

  3. On the Service Instance page, click the Customer's Service Instances > > > Private Service tab and find the service instance that you created.

  4. Click Modify Custom Sales Configuration in the Actions column.

  5. In the Modify Custom Sales Configuration page that appears, modify the parameters and click OK to finalize the changes.

    • Modify validity period: After you enable this feature, you can directly Terminate License the service instance, or extend the validity period.

      Select By Day or By Date to extend the validity period of the service instance.

    • Modify Custom Metadata: Enter the custom metadata that your application will retrieve.

References

For details on how to verify a license, see Compute Nest License Usage Guide.