CreateRenderingInstance

Updated at:

Creates a cloud application service instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

vs:CreateRenderingInstance

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

RenderingSpec

string

Yes

The specification of the cloud application service instance.

  • If the specification belongs to the crs.cp.* series, the billing method can be subscription or pay-as-you-go.

  • If the specification belongs to the crs.vm.* series, the billing method can be subscription or pay-as-you-go.

  • For other series, only the subscription billing method is supported.

crs.cp.l1

ClientInfo

object

No

The client information.

ClientIp

string

No

The IP address of the client.

172.21.128.110

InternetMaxBandwidth

integer

No

The maximum bandwidth. Unit: Mbit/s. Default value: 10.

10

AutoRenew

boolean

No

Note

This parameter takes effect only when InstanceChargeType is set to PrePaid (subscription).

Specifies whether to enable auto-renewal. Valid values:

  • true: Enabled.

  • false: Disabled.

true

Period

string

No

Note

This parameter takes effect only when InstanceChargeType is set to PrePaid (subscription).

The subscription duration. Valid values (Note: If you select 12, it is calculated as one year. Other values are calculated in months.):

  • 1 (default)

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 12

Valid values:

  • 1 :

    1 month.

  • 2 :

    2 months.

  • 3 :

    3 months.

  • 4 :

    4 months.

  • 5 :

    5 months.

  • 6 :

    6 months.

  • 7 :

    7 months.

  • 8 :

    8 months.

  • 9 :

    9 months.

  • 12 :

    1 year.

1

InstanceChargeType

string

No

The billing method of the instance. Valid values:

  • PrePaid (default): subscription.

  • PostPaid: pay-as-you-go.

Valid values:

  • PostPaid :

    Pay-as-you-go.

  • PrePaid :

    Subscription.

PrePaid

InternetChargeType

string

No

Note

Only one Billable methods is supported. If a Billable methods already exists, the new value is invalid by default, and the existing one prevails. Note that this parameter is required when you purchase the instance for the first time.

The network billing method. Valid values:

  • 95BandwidthByMonth: monthly 95th percentile bandwidth.

Valid values:

  • 95BandwidthByMonth :

    Monthly 95th percentile bandwidth.

95BandwidthByMonth

StorageSize

string

No

The cloud storage capacity used by the cloud application service instance. Note: This does not include local storage.

20

InstanceBillingCycle

string

No

Note

This parameter takes effect only when InstanceChargeType is set to PostPaid (pay-as-you-go).

The billing cycle. Valid values:

  • Hour: hour.

Valid values:

  • Hour :

    Hour.

Hour

Attributes

object

No

Note

Unless you have special requirements, keep the default value. If you have special requirements, contact technical support to confirm and then specify this parameter.

The attribute information.

Zone

string

No

The resource domain.

Valid values:

  • Private :

    Private

  • Public :

    Public

Public

OutAccess

string

No

The outbound network configuration.

Valid values:

  • OFF :

    OFF

  • ON :

    ON

ON

InAccess

string

No

The inbound network configuration.

Valid values:

  • OFF :

    OFF

  • ON :

    ON

ON

EdgeMediaService

string

No

The streaming service.

Valid values:

  • OFF :

    OFF

  • ON :

    ON

ON

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

BEA5625F-8FCF-48F4-851B-CA63946DA664

RenderingInstanceId

string

The cloud application service instance ID.

render-9f8c57355d224ad7beaf95e145f22111

RenderingInstanceIds

array

The cloud application service instance ID list.

string

The cloud application service instance ID list.

["render-d4966e4857314123ae0aaaf5d37b6177"]

Examples

Success response

JSON format

{
  "RequestId": "BEA5625F-8FCF-48F4-851B-CA63946DA664",
  "RenderingInstanceId": "render-9f8c57355d224ad7beaf95e145f22111",
  "RenderingInstanceIds": [
    "[\"render-d4966e4857314123ae0aaaf5d37b6177\"]"
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.