All Products
Search
Document Center

Data Management:GetPermApplyOrderDetail

Last Updated:Jun 11, 2026

Memanggil GetPermApplyOrderDetail untuk mendapatkan detail tiket permohonan izin.

Deskripsi operasi

Operasi ini digunakan untuk mendapatkan izin tingkat basis data, izin tingkat tabel, dan izin tingkat kolom sensitif.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

dms:GetPermApplyOrderDetail

get

*全部资源

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

OrderId

integer

Yes

ID tiket. Anda dapat memanggil operasi ListOrders untuk mendapatkan nilai parameter ini.

73****

Tid

integer

No

ID penyewa.

Catatan

Diperoleh dari informasi ID penyewa yang ditampilkan saat Anda mengarahkan kursor ke foto profil Anda di sudut kanan atas sistem. Untuk informasi lebih lanjut, lihat Melihat informasi tentang penyewa.

3***

Elemen respons

Element

Type

Description

Example

object

Skema Respons

RequestId

string

ID permintaan. Digunakan untuk menemukan log dan memecahkan masalah.

A4C4499E-5AC2-4318-9FCF-03E426781A04

Success

boolean

Menunjukkan apakah permintaan berhasil. Nilai yang valid:

  • true: Permintaan berhasil.

  • false: Permintaan gagal.

true

ErrorMessage

string

Pesan kesalahan yang dikembalikan jika pemanggilan gagal.

UnknownError

ErrorCode

string

Kode kesalahan yang dikembalikan jika pemanggilan gagal.

UnknownError

PermApplyOrderDetail

object

Detail permohonan izin.

Resources

array<object>

Daftar detail sumber daya.

array<object>

Detail sumber daya.

DatabaseInfo

object

The information about the database.

DbId

integer

The database ID.

12345

Logic

boolean

Indicates whether the database is a logical database. Valid values:

  • true

  • false

false

DbType

string

The type of the database engine.

MySQL

SearchName

string

The name that is used to search for the database.

test@xxxx:3306[test]

OwnerIds

array

The IDs of the owners of the database.

integer

The ID of the owner of the database.

12345

OwnerNickNames

array

The nicknames of the owners of the database.

string

The nickname of the owner of the database.

test_user

EnvType

string

The type of the environment to which the instance belongs. For more information, see Change the environment type of an instance.

product

TableInfo

object

The information about the table.

TableName

string

The name of the table.

test_tb

ColumnInfo

object

The information about the column.

TableName

string

The name of the table.

test_tb

ColumnName

string

The name of the column.

test_col

InstanceInfo

object

The information about the instance.

InstanceId

string

The ID of the instance.

12345

SearchName

string

The name that is used to search for the instance.

xxxx:3306

DbType

string

The type of the database engine.

MySQL

EnvType

string

The type of the environment to which the instance belongs. For more information, see Change the environment type of an instance.

product

Host

string

The endpoint of the instance.

xxxx

Port

integer

The port that is used to connect to the instance.

3306

OwnerIds

array

The IDs of the owners of the instance.

integer

The ID of the owner of the instance.

12345

OwnerNickName

array

The nicknames of the owners of the instance.

string

The nickname of the owner of the instance.

test_owner

DbaId

integer

The ID of the database administrator (DBA) of the instance.

123****

DbaNickName

string

The nickname of the DBA of the instance.

test_dba

RowInfo

object

DbId

integer

69256456

Logic

boolean

false

SchemaName

string

testdb003

TableName

string

ods_qr_dms_vehicleorder_df

ColumnName

string

xrxs_xid

MatchMode

string

EQ

RowGroupId

integer

123434

RowValueInfo

object

RowValue

string

test_value

PermType

integer

Tipe izin. Nilai yang valid dan deskripsi:

  • 1: kueri

  • 2: ekspor

  • 3: kueri dan ekspor

  • 4: ubah

  • 5: kueri dan ubah

  • 6: ekspor dan ubah

  • 7: kueri, ekspor, dan ubah

  • 8: masuk

7

Seconds

integer

Durasi izin, dalam detik.

3600

ApplyType

string

Tipe izin yang diajukan. Nilai yang valid dan deskripsi:

  • DB: izin basis data

  • TAB: izin tabel

  • COL: izin kolom

  • INSTANT: izin instans

  • ROW: izin baris

DB

Contoh

Respons sukses

JSONformat

{
  "RequestId": "A4C4499E-5AC2-4318-9FCF-03E426781A04",
  "Success": true,
  "ErrorMessage": "UnknownError",
  "ErrorCode": "UnknownError",
  "PermApplyOrderDetail": {
    "Resources": [
      {
        "DatabaseInfo": {
          "DbId": 12345,
          "Logic": false,
          "DbType": "MySQL",
          "SearchName": "test@xxxx:3306[test]",
          "OwnerIds": [
            12345
          ],
          "OwnerNickNames": [
            "test_user"
          ],
          "EnvType": "product"
        },
        "TableInfo": {
          "TableName": "test_tb"
        },
        "ColumnInfo": {
          "TableName": "test_tb",
          "ColumnName": "test_col"
        },
        "InstanceInfo": {
          "InstanceId": "12345",
          "SearchName": "xxxx:3306",
          "DbType": "MySQL",
          "EnvType": "product",
          "Host": "xxxx",
          "Port": 3306,
          "OwnerIds": [
            12345
          ],
          "OwnerNickName": [
            "test_owner"
          ],
          "DbaId": 0,
          "DbaNickName": "test_dba"
        },
        "RowInfo": {
          "DbId": 69256456,
          "Logic": false,
          "SchemaName": "testdb003",
          "TableName": "ods_qr_dms_vehicleorder_df",
          "ColumnName": "xrxs_xid",
          "MatchMode": "EQ",
          "RowGroupId": 123434
        },
        "RowValueInfo": {
          "RowValue": "test_value"
        }
      }
    ],
    "PermType": 7,
    "Seconds": 3600,
    "ApplyType": "DB"
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.