Tüm Ürünler
Search
Belge Merkezi

:GetGovernanceServiceStatus

Son Güncelleme:Nov 04, 2026

AI Cloud Governance Center hizmetinin etkinleştirme durumunu sorgular.

Operation description

AI Cloud Governance Center hizmetinin durumunu bölge kimliğine göre sorgular. Hem etkinleştirme hem de devre dışı bırakma işlemleri eşzamansız olarak yürütülür. Çağrı yapan taraf, nihai bir duruma ulaşılana kadar API'yi yoklamalıdır. Sorgu başarılıysa ve ServiceStatus EnableFailed veya DisableFailed ise, hata nedeni FailureCode ve FailureMessage alanlarında döndürülür; bu durum yine de başarılı bir sorgu olarak kabul edilir. Enabling ve Disabling, devam eden durumlardır. Etkinleştirme telafisi tamamlanmamışsa veya bir hatadan sonra telafi işlemi devam ediyorsa durum Enabling olarak kalır. Hata yanıtları yalnızca eksik veya geçersiz bölgeler, bölge ve uç nokta uyuşmazlıkları veya izin eksikliği gibi istek sorunları için döndürülür. Alt hizmetlerin iş mantığı hataları, sorgu isteği hatalarına dönüştürülmemelidir. Mevcut etkinleştirme kayıtları orijinal uyumluluk kriterlerini korur. Bu API tarafından başlatılan yeni etkinleştirme istekleri için durum, yalnızca hem AI Cloud Governance Center hem de yönetişim olgunluk kontrolü başarıyla etkinleştirildikten sonra Enabled olarak döndürülür.

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

governance:GetGovernanceServiceStatus

get

*All resources.

*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

Bölge kimliği.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

RequestId

string

İstek kimliği.

60D54503-F1F6-51B6-B6FA-A70CBDA2A68C

ServiceStatus

string

Cloud Governance Center hizmetinin durumu.

Valid values:

  • Enabled
  • Disabled
  • EnableFailed
  • DisableFailed
  • Enabling
  • Disabling

Enabled

FailureCode

string

Etkinleştirme veya devre dışı bırakma hatasının nedenini tanımlayan kod. ServiceStatus EnableFailed veya DisableFailed olduğunda döndürülür; aksi takdirde bu parametre boştur veya atlanır.

Governance.DisableFailed

FailureMessage

string

Etkinleştirme veya devre dışı bırakma hatasının açıklaması ve önerilen eylem. ServiceStatus EnableFailed veya DisableFailed olduğunda döndürülür; aksi takdirde bu parametre boştur veya atlanır.

The service could not be disabled. Query the service status before retrying. If the problem persists, submit a ticket.

Examples

Success response

JSON format

{
  "RequestId": "60D54503-F1F6-51B6-B6FA-A70CBDA2A68C",
  "ServiceStatus": "Enabled",
  "FailureCode": "Governance.DisableFailed",
  "FailureMessage": "The service could not be disabled. Query the service status before retrying. If the problem persists, submit a ticket."
}

Error codes

HTTP status code

Error code

Error message

Description

400 MissingParameter.RegionId The required parameter RegionId is missing. Gerekli RegionId parametresi eksik. İstekte bir bölge kimliği belirtin.
400 InvalidParameter.RegionId The specified RegionId is invalid. Belirtilen RegionId geçersiz. Geçerli bir bölge kimliği belirtin.
500 InternalError A system error occurred. Bir sistem hatası oluştu.
403 InvalidRegion.NotMatch The specified region is invalid. Please switch to the region where the service is activated. İstenen bölge, hizmet bölgesiyle eşleşmiyor. Doğru bölgeye geçiş yapın ve yeniden deneyin.
403 NoPermission You are not authorized to perform this operation. Action: %s. Resource: %s. Mevcut hesap bu işlemi gerçekleştirme izinlerine sahip değil.
404 InvalidUser.NotFound The specified user does not exist. Kullanıcı mevcut değil.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.