All Products
Search
Document Center

Identity as a Service:GetApplicationTemplate

Last Updated:Jun 10, 2026

Mengambil detail templat aplikasi.

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

eiam:GetApplicationTemplate

get

*ApplicationTemplate

acs:eiam:{#regionId}:{#accountId}:applicationtemplate/{#ApplicationTemplateId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

ApplicationTemplateId

string

Yes

ID templat aplikasi.

apt_ramuser_xxxx

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The request ID.

0441BD79-92F3-53AA-8657-F8CE4A2B912A

ApplicationTemplate

object

The details of the application template.

ApplicationTemplateId

string

The ID of the application template.

apt_ramintlrole_ixxxxx

ApplicationTemplateName

string

The name of the application template.

Alibaba Cloud

Description

string

The description of the application template.

Alibaba Cloud SSO

LogoUrl

string

The URL of the logo for the application template.

https://example.com/imgextra/i4/O1CN01xTLxLb1WtyKksHW1H_!!6000000002847-2-tps-xxx-xxx.png

HelpDocumentUrl

string

The URL of the help document for the application template.

https://example.com/document_detail/409xxx.html

CreateTime

integer

The time when the application template was created.

1730341123000

UpdateTime

integer

The time when the application template was last updated.

1730341124000

SaleInfo

object

The sales information about the application template.

AlwaysFree

boolean

Indicates whether the application template is permanently free.

true

ServiceManaged

boolean

Indicates whether the application template is managed by an Alibaba Cloud service.

true

ManagedServiceCode

string

The service code of the Alibaba Cloud service that manages the application template.

bastionhost

ServiceConsoleUrl

string

The URL of the console for the Alibaba Cloud service that manages the application template.

https://example.com/?p=bastion

SsoTypes

array

The supported Single Sign-On (SSO) protocols.

string

The SSO protocol type.

Valid values:

  • saml2 :

    saml2

  • oidc :

    oidc

saml2

Contoh

Respons sukses

JSONformat

{
  "RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
  "ApplicationTemplate": {
    "ApplicationTemplateId": "apt_ramintlrole_ixxxxx",
    "ApplicationTemplateName": "Alibaba Cloud ",
    "Description": "Alibaba Cloud SSO",
    "LogoUrl": "https://example.com/imgextra/i4/O1CN01xTLxLb1WtyKksHW1H_!!6000000002847-2-tps-xxx-xxx.png",
    "HelpDocumentUrl": "https://example.com/document_detail/409xxx.html",
    "CreateTime": 1730341123000,
    "UpdateTime": 1730341124000,
    "SaleInfo": {
      "AlwaysFree": true
    },
    "ServiceManaged": true,
    "ManagedServiceCode": "bastionhost",
    "ServiceConsoleUrl": "https://example.com/?p=bastion",
    "SsoTypes": [
      "saml2"
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.