All Products
Search
Document Center

Identity as a Service:GetApplication

Last Updated:Jun 11, 2026

Mengambil detail aplikasi EIAM tertentu.

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:GetApplication

get

*Application

acs:eiam:{#regionId}:{#accountId}:instance/{#InstanceId}/application/{#ApplicationId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

ID instans.

idaas_ue2jvisn35ea5lmthk267xxxxx

ApplicationId

string

Yes

ID aplikasi.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The request ID.

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

Application

object

The information about the application.

ApiInvokeStatus

string

The status of the Developer API feature for the application. Valid values:

  • enabled

  • disabled

disabled

ApplicationVisibility

array

The visibility of the application.

string

The visibility of the application.

[web]

ApplicationId

string

The application ID.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

ApplicationName

string

The application name.

SAML 应用

ApplicationSourceType

string

The source from which the application was created. Valid values:

  • urn:alibaba:idaas:app:source:template: The application was created from a template.

  • urn:alibaba:idaas:app:source:standard: The application was created based on a standard protocol.

urn:alibaba:idaas:app:source:template

ApplicationTemplateId

string

The ID of the application template that is associated with the application. This parameter is returned only if the application was created from a template.

apt_rpa_tdsxxx

AuthorizationType

string

The authorization type for application access. Valid values:

  • authorize_required: Explicit authorization is required for access.

  • default_all: All members have access by default.

authorize_required

ClientId

string

The client ID of the application.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

CreateTime

integer

The time when the application was created. This value is a UNIX timestamp. Unit: milliseconds.

1649830226000

Description

string

The description of the application.

某个应用,测试环境使用

Features

string

The features that the application supports. This parameter is returned as a JSON array string. Valid values:

  • sso: single sign-on (SSO).

  • provision: account synchronization.

  • api_invoke: API calling.

["sso", "provision"]

InstanceId

string

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

LogoUrl

string

The URL of the application icon.

https://img.alicdn.com/imgextra/i4/O1CN01lvYwpv1aGowQXDML9_!!6000000003303-0-tps-580-580.jpg

ManagedServiceCode

string

The service code of the cloud product that hosts the application template.

rpa

ServiceManaged

boolean

Indicates whether the application template is hosted by a cloud service.

true

SsoType

string

The single sign-on (SSO) protocol. Valid values:

  • saml2: SAML 2.0.

  • oidc: OpenID Connect.

  • oauth2/m2m: OAuth 2.0.

  • oidc+oauth2/m2m: OpenID Connect and OAuth 2.0.

saml2

Status

string

The application status. Valid values:

  • enabled

  • disabled

enabled

UpdateTime

integer

The time when the application was last updated. This value is a UNIX timestamp. Unit: milliseconds.

1649830226000

M2MClientStatus

string

The status of the M2M client.

enabled

ResourceServerStatus

string

The status of the resource server.

enabled

ResourceServerIdentifier

string

The unique identifier of the resource server. This corresponds to the audience of the resource server.

https://www.example.com

CustomSubjectStatus

string

Indicates whether to customize the Subject field in the token. If this feature is enabled, the issued access token changes from <clientId> to <clientId>:<client.activeSubjectUrn>. The client.activeSubjectUrn is set in the attribute mapping of the application's federated identity provider.

enabled

ApplicationCreationType

string

The application creation type.

Valid values:

  • user_custom :

    A user created the application.

  • system_init :

    The system created the application.

user_custom

ResourceServerSourceType

string

The source type of the resource server.

Valid values:

  • urn:cloud:idaas:resourceserver:source:custom :

    custom

  • urn:cloud:idaas:resourceserver:source:system :

    system

urn:cloud:idaas:resourceserver:source:custom

ApplicationIdentityType

string

The identity type of the application. Valid values:

  • application: application.

  • agent: agent.

Valid values:

  • agent :

    agent

  • application :

    application

application

CustomFields

array<object>

object

FieldName

string

FieldValue

string

ApplicationOwner

object

UserIds

array

string

GroupIds

array

string

SmartConfigCapabilities

array

string

Contoh

Respons sukses

JSONformat

{
  "RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
  "Application": {
    "ApiInvokeStatus": "disabled",
    "ApplicationVisibility": [
      "[web]"
    ],
    "ApplicationId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
    "ApplicationName": "SAML 应用",
    "ApplicationSourceType": "urn:alibaba:idaas:app:source:template",
    "ApplicationTemplateId": "apt_rpa_tdsxxx",
    "AuthorizationType": "authorize_required",
    "ClientId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
    "CreateTime": 1649830226000,
    "Description": "某个应用,测试环境使用",
    "Features": "[\"sso\", \"provision\"]",
    "InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
    "LogoUrl": "https://img.alicdn.com/imgextra/i4/O1CN01lvYwpv1aGowQXDML9_!!6000000003303-0-tps-580-580.jpg",
    "ManagedServiceCode": "rpa",
    "ServiceManaged": true,
    "SsoType": "saml2",
    "Status": "enabled",
    "UpdateTime": 1649830226000,
    "M2MClientStatus": "enabled",
    "ResourceServerStatus": "enabled",
    "ResourceServerIdentifier": "https://www.example.com",
    "CustomSubjectStatus": "enabled",
    "ApplicationCreationType": "user_custom",
    "ResourceServerSourceType": "urn:cloud:idaas:resourceserver:source:custom",
    "ApplicationIdentityType": "application",
    "CustomFields": [
      {
        "FieldName": "",
        "FieldValue": ""
      }
    ],
    "ApplicationOwner": {
      "UserIds": [
        ""
      ],
      "GroupIds": [
        ""
      ]
    },
    "SmartConfigCapabilities": [
      ""
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.