API standartları ve çok dilli hazır SDK'lar
Bu ürünün OpenAPI'si (ResourceManager/2020-03-31), RPC imzalama yöntemini kullanır. Geliştiriciler için yaygın programlama dillerine yönelik SDK'ları kapsülledik. Geliştiriciler, bu ürünün OpenAPI'sini teknik ayrıntılarla uğraşmadan doğrudan çağırabilmek için SDK'yı indirebilir. Mevcut SDK ihtiyaçlarınızı karşılamıyorsa, kendi imzanızı oluşturmak üzere imzalama mekanizmasını kullanarak entegrasyon yapabilirsiniz. Kendi imzanızı oluşturma sürecinin ayrıntıları oldukça karmaşık olduğundan, bu işlem yaklaşık 5 iş günü sürebilir. Bu nedenle, DingTalk hizmet grubumuza (147535001692) katılmanızı ve uzman rehberliği altında imzalama entegrasyonu gerçekleştirmenizi öneririz.
API'yi kullanmadan önce, istemci araçları (SDK ve CLI gibi) aracılığıyla API'ye etkili bir şekilde erişebilmek için kimlik hesabınızı ve erişim anahtarınızı (AccessKey) hazırlamanız gerekir. Ayrıntılar için bkz. AccessKey Alma.
Özel imzalama senaryoları
İş senaryonuzun özel gereksinimleri varsa ve API'yi kendi imzanızı oluşturarak entegre etmeniz gerekiyorsa, profesyonel rehberlik almak ve verimli bir entegrasyon sağlamak için öncelikle teknik destek ekibimizle (DingTalk hizmet grubu: 147535001692) iletişime geçmenizi öneririz.
Hesap ve güvenlik hazırlığı
Alibaba Cloud hesapları, tüm kaynaklar üzerinde tam yönetici izinlerine sahiptir. Bir AccessKey ele geçirildiğinde, ilişkili tüm kaynaklar yetkisiz erişim riskiyle karşı karşıya kalır. Güvenliği sağlamak için, yalnızca API erişim izinlerine sahip bir RAM kullanıcısı oluşturmanız ve bunun AccessKey'ini yapılandırmanız; ayrıca en az ayrıcalık ilkesine (PoLP) dayalı olarak RAM ilkelerini yapılandırmanız önerilir. Alibaba Cloud hesabını yalnızca Alibaba Cloud hesabı izinlerinin açıkça gerekli olduğu belirli senaryolarda kullanın.
Kaynak grubu
|
API |
Başlık |
Açıklama |
| CreateResourceGroup | CreateResourceGroup | Creates a resource group. |
| DeleteResourceGroup | DeleteResourceGroup | Deletes a resource group. |
| UpdateResourceGroup | UpdateResourceGroup | Updates the basic information of a resource group. |
| ListResourceGroups | Query resource group list | Invoke ListResourceGroups to query the list of resource groups. |
| ListResources | ListResources | Queries resources that can be accessed by the current account in resource groups. |
| GetResourceGroup | GetResourceGroup | Queries the information of a resource group. |
| MoveResources | MoveResources | Moves resources from one resource group to another. You can move multiple resources that reside in different regions, are used by different Alibaba Cloud services, or belong to different resource groups. |
| EnableAutoGrouping | EnableAutoGrouping | Enables the Automatic Resource Transfer feature. After the feature is enabled, you can create, update, delete, and query transfer rules. |
| DisableAutoGrouping | DisableAutoGrouping | Disables the Automatic Resource Transfer feature. After the feature is disabled, existing custom transfer rules and existing transfer rules for associated resources are deleted. However, existing relationships between resources and resource groups are not affected. If you still want to use this feature, you can enable it again 1 minute later. |
| UpdateAutoGroupingConfig | UpdateAutoGroupingConfig | Updates the configuration of the Automatic Resource Transfer feature. You can update only the configuration of the Transfer Existing Associated Resources feature. |
| GetAutoGroupingStatus | GetAutoGroupingStatus | Queries the status of the Automatic Resource Transfer feature. |
| CreateAutoGroupingRule | CreateAutoGroupingRule | Creates a transfer rule. Custom transfer rules and transfer rules for associated resources are supported. |
| DeleteAutoGroupingRule | DeleteAutoGroupingRule | Deletes a transfer rule. |
| UpdateAutoGroupingRule | UpdateAutoGroupingRule | Updates a transfer rule. |
| ListAutoGroupingRules | ListAutoGroupingRules | Queries a list of transfer rules. |
| GetAutoGroupingRule | GetAutoGroupingRule | Queries the information about a transfer rule. |
| EnableAssociatedTransfer | EnableAssociatedTransfer | Enables the Transfer Associated Resources feature. |
| DisableAssociatedTransfer | DisableAssociatedTransfer | Disables the Transfer Associated Resources feature. |
| UpdateAssociatedTransferSetting | UpdateAssociatedTransferSetting | Updates the settings of the Transfer Associated Resources feature. |
| ListAssociatedTransferSetting | ListAssociatedTransferSetting | Queries the settings of the Transfer Associated Resources feature. |
| GetResourceGroupResourceCounts | GetResourceGroupResourceCounts | Queries the number of resources in a visible resource group. |
| ListAutoGroupingRemediations | ListAutoGroupingRemediations | Queries a list of automatic grouping remediation records. |
| GetResourceGroupAdminSetting | GetResourceGroupAdminSetting | Queries the configurations of a resource group administrator. |
| UpdateResourceGroupAdminSetting | UpdateResourceGroupAdminSetting | Updates the configurations of a resource group administrator. |
| LookupResourceGroupEvents | LookupResourceGroupEvents | Queries the events of resource groups. |
| EnableResourceGroupNotification | EnableResourceGroupNotification | Enables group event notification. |
| DisableResourceGroupNotification | DisableResourceGroupNotification | Disables group event notification. |
| GetResourceGroupNotificationSetting | GetResourceGroupNotificationSetting | Queries the notification settings of a resource group. |
| ListResourceGroupCapability | List resource group capabilities | List resource group capabilities. |
| ListResourceGroupsWithAuthDetails | ListResourceGroupsWithAuthDetails | Queries resource groups and their user authorization information. |
Rol
|
API |
Başlık |
Açıklama |
| CreateRole | CreateRole | Creates a RAM role. |
| DeleteRole | DeleteRole | Deletes a RAM role. |
| UpdateRole | UpdateRole | Updates the information about a Resource Access Management (RAM) role. |
| GetRole | GetRole | Queries the information about a RAM role. |
| ListRoles | ListRoles | Queries a list of RAM roles. |
Hizmet bağlantılı rol
|
API |
Başlık |
Açıklama |
| CreateServiceLinkedRole | CreateServiceLinkedRole | Creates a service-linked role. |
| DeleteServiceLinkedRole | DeleteServiceLinkedRole | Deletes a service-linked role. |
| GetServiceLinkedRoleDeletionStatus | GetServiceLinkedRoleDeletionStatus | Queries the status of the task that is used to delete a service-linked role. |
Erişim politikası
|
API |
Başlık |
Açıklama |
| CreatePolicy | CreatePolicy | Creates a permission policy. |
| DeletePolicy | DeletePolicy | Deletes a permission policy. |
| SetDefaultPolicyVersion | SetDefaultPolicyVersion | Sets a default version for a permission policy. |
| AttachPolicy | AttachPolicy | Attaches a permission policy to an object, which can be a RAM user, RAM user group, or RAM role. After you attach a permission policy to an object, the object has the operation permissions on the resources in a specific resource group or within a specific Alibaba Cloud account. |
| DetachPolicy | DetachPolicy | Detaches a permission policy from an object. After you detach a policy from an object, the object does not have the operation permissions on the current resource group or the resources within the current account. |
| ListPolicies | ListPolicies | Queries a list of permission policies. |
| GetPolicy | GetPolicy | Queries the information about a permission policy. |
| ListPolicyAttachments | ListPolicyAttachments | Queries policy attachment records. |
| CreatePolicyVersion | CreatePolicyVersion | Creates a version for a permission policy. |
| DeletePolicyVersion | DeletePolicyVersion | Deletes a version of a permission policy. |
| ListPolicyVersions | ListPolicyVersions | Queries a list of versions of a policy. |
| GetPolicyVersion | GetPolicyVersion | Queries the information about a version of a permission policy. |
Etiket
|
API |
Başlık |
Açıklama |
| TagResources | TagResources | Adds tags to resource groups or the members in a resource directory. |
| UntagResources | UntagResources | Removes tags from resource groups or the members in a resource directory. |
| ListTagResources | ListTagResources | Queries the tags that are added to resource groups or the members in a resource directory. |