Tüm Ürünler
Search
Belge Merkezi

:ModifyLoginBaseConfig

Son Güncelleme:Oct 02, 2026

Tek bir varlık için oturum açma güvenlik ayarlarının temel yapılandırmasını değiştirir.

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

yundun-sas:ModifyLoginBaseConfig

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Type

string

Yes

Sunucu için olağandışı oturum açma algılama türü. Geçerli değerler:

  • login_common_location: olağan oturum açma konumu.

  • login_common_ip: olağan oturum açma IP adresi.

  • login_common_time: olağan oturum açma saati.

  • login_common_account: olağan oturum açma hesabı.

login_common_location

Config

string

Yes

Sunucu için olağandışı oturum açma algılama kuralının ayrıntılı yapılandırması. Bu parametre JSON biçimindedir ve aşağıdaki alanları içerir:

  • totalCount: toplam varlık sayısı.

  • uuidCount: kuralın etkili olduğu varlık sayısı.

  • id: olağandışı oturum açma algılama kuralının kimliği.

  • location: olağan oturum açma konumunun adı.

Not

Bu alan yalnızca Type parametresi login_common_location olarak ayarlandığında gereklidir.

  • ip: olağan oturum açma IP adresi.

Not

Bu alan yalnızca Type parametresi login_common_ip olarak ayarlandığında gereklidir.

  • endTime: olağan oturum açma zaman aralığının bitiş saati.

Not

Bu alan yalnızca Type parametresi login_common_time olarak ayarlandığında gereklidir.

  • startTime: olağan oturum açma zaman aralığının başlangıç saati.

Not

Bu alan yalnızca Type parametresi login_common_time olarak ayarlandığında gereklidir.

  • account: olağan oturum açma hesabı.

Not

Bu alan yalnızca Type parametresi login_common_account olarak ayarlandığında gereklidir.

{"totalCount":174,"uuidCount":4,"location":"黑山","id":0}

Target

string

Yes

Olağandışı oturum açma algılama kuralının etkili olduğu sunucuların yapılandırması. Bu parametre JSON biçimindedir ve aşağıdaki alanları içerir:

  • Target: eklenecek veya kaldırılacak sunucunun UUID'si.

  • targetType: kuralın etkili olduğu varlıkları ekleme modu. Geçerli değerler:
    • uuid: tek sunucu bazında ekleme.

    • groupId: sunucu grubu bazında ekleme.

  • flag: varlık üzerinde gerçekleştirilecek işlem. Geçerli değerler:
    • del: sunucuyu kuraldan kaldırma.

    • add: sunucuyu kurala ekleme.

[{"target":"inet-7c676676-06fa-442e-90fb-b802e5d6****","targetType":"uuid","flag":"add"}]

Response elements

Element

Type

Description

Example

object

Yanıt parametreleri.

RequestId

string

İstek için Alibaba Cloud tarafından oluşturulan benzersiz bir tanımlayıcı olan istek kimliği. Sorunları gidermek için bu kimliği kullanabilirsiniz.

AB96FDDF-ED29-52B1-9FAE-8203F2808F24

Code

string

Sonuç kodu. 200 değeri başarılı olduğunu gösterir. Başka herhangi bir değer başarısızlığı gösterir. Başarısızlığın nedenini belirlemek için bu alanı kullanabilirsiniz.

200

Message

string

Yanıt mesajı.

successful

Success

boolean

API çağrısının başarılı olup olmadığını gösterir. Geçerli değerler:

  • true: başarılı.

  • false: başarısız.

true

Examples

Success response

JSON format

{
  "RequestId": "AB96FDDF-ED29-52B1-9FAE-8203F2808F24",
  "Code": "200",
  "Message": "successful",
  "Success": true
}

Error codes

HTTP status code

Error code

Error message

Description

400 DataNotExists %s data not exist
500 ServerError ServerError
403 NoPermission caller has no permission

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.