Bir izin grubundaki izin kuralını değiştirir.
Operation description
Varsayılan izin grubundaki (DEFAULT_VPC_GROUP_NAME) kurallar değiştirilemez.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:ModifyAccessRule |
update |
*AccessGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AccessGroupName |
string |
Yes |
İzin grubunun adı. |
vpc-test |
| AccessRuleId |
string |
Yes |
İzin kuralı kimliği. |
1 |
| SourceCidrIp |
string |
No |
IP adresi veya CIDR bloğu. Değer, tek bir IP adresi veya bir CIDR bloğu olmalıdır. Not
SourceCidrIp veya Ipv6SourceCidrIp parametrelerinden birini belirtmeniz gerekir. Her iki parametreyi de boş bırakamazsınız ve her iki parametreyi aynı anda belirtemezsiniz. |
192.0.**.** |
| RWAccessType |
string |
No |
Yetkilendirilen nesnenin dosya sistemi üzerindeki okuma ve yazma izinleri. Geçerli değerler:
Valid values:
|
RDWR |
| UserAccessType |
string |
No |
Yetkilendirilen nesnenin sistem kullanıcısının dosya sistemi üzerindeki yetkisi. Geçerli değerler:
nobody kullanıcısı Linux'ta varsayılan bir kullanıcıdır. Bu kullanıcı sunucudaki yalnızca genel içeriğe erişebilir, düşük yetkilere sahiptir ve güvenlik düzeyi yüksektir. Valid values:
|
all_squash |
| Priority |
integer |
No |
İzin kuralının önceliği. Geçerli değerler: 1 ile 100 arası. Varsayılan değer: 1 (en yüksek öncelik). |
1 |
| FileSystemType |
string |
No |
Dosya sisteminin türü. Geçerli değerler:
Valid values:
|
standard |
| Ipv6SourceCidrIp |
string |
No |
Kaynak IPv6 CIDR bloğu. IPv6 adresleri ve CIDR blokları desteklenir. Not
|
fe80::3d4a:80fd:f05d:**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
6299428C-3861-435D-AE54-9B330A00**** |
Examples
Success response
JSON format
{
"RequestId": "6299428C-3861-435D-AE54-9B330A00****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam.Ipv6SourceCidrIp | IPv6 address verification failed. | |
| 400 | InvalidParam.SourceCidrIp | IPv4 address verification failed. | |
| 400 | InvalidParam.IPv4AndIPv6MutuallyExclusive | You cannot configure IPv4 and IPv6 at the same time. | |
| 400 | InvalidAccessGroup.NotsupportedIPv6 | The access group does not support IPv6. | |
| 400 | InvalidParam.IPAddressIsBlank | The IP address cannot be empty. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.