UpdateInstance

Updated at:
Copy as MD

Updates an 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

milvus:UpdateInstance

update

*Instance

acs:milvus:{#regionId}:{#accountId}:instance/{#InstanceId}

None None

Request syntax

PUT /webapi/instance/update HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-beijing

body

object

No

The request body.

instanceId

string

Yes

The instance ID.

c-xxxx

instanceName

string

No

The instance name.

milvus-test

configuration

string

No

The configuration information.

rootCoord:\n maxDatabaseNum: 64

ha

boolean

No

Specifies whether to enable high availability.

true

autoBackup

boolean

No

Specifies whether to enable automatic backup.

true

autoPay

boolean

No

Specifies whether automatic payment is enabled for the order.

components

array<object>

No

The component information.

array<object>

No

The list of specifications for the instance.

type

string

Yes

The component type.

standalone

replica

integer

Yes

The number of replicas.

1

cuNum

integer

Yes

The number of compute units (CUs).

8

payType

string

No

The billing method of the component.

postPaid

cuType

string

No

The compute unit (CU) type. general indicates a 1:4 ratio, and ram indicates a 1:8 ratio.

general

dataDisk

object

No

The data disk configuration for QueryNode. This parameter is supported only when type is set to query.

enabled

boolean

No

Specifies whether to enable the data disk for QueryNode.

true

storageClass

string

No

The StorageClass of the data disk. Valid values: alicloud-disk-essd-pl0, alicloud-disk-essd-pl1, alicloud-disk-essd-pl2, and alicloud-disk-essd-pl3.

alicloud-disk-essd-pl1

size

integer

No

The size of the data disk. Unit: GiB.

100

performanceLevel

string

No

The performance level of the enhanced SSD (ESSD). Valid values: PL0, PL1, PL2, and PL3. If StorageClass is not specified, this field is used for parsing.

PL1

clientToken

string

No

The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

7f3a2c18-6c47-4eb7-a6bb-8432a394a620

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

ABCD-1234-5678-EFGH

success

boolean

Indicates whether the request is successful.

true

data

boolean

The operation result.

true

orderId

string

The order ID.

2001234567890123

Examples

Success response

JSON format

{
  "RequestId": "ABCD-1234-5678-EFGH",
  "success": true,
  "data": true,
  "orderId": "2001234567890123"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.