Mengkueri direktori ekspor layanan protokol.
Deskripsi operasi
Operasi ini hanya berlaku untuk sistem file Cloud Parallel File Storage (CPFS).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeProtocolMountTarget |
list |
*FileSystem
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
Token yang digunakan untuk memulai permintaan berikutnya ketika respons terpotong. Anda dapat menggunakan token ini untuk mengambil sisa hasil dari titik pemotongan. |
aBcdg== |
| MaxResults |
integer |
No |
Jumlah maksimum hasil yang dikembalikan per kueri.
|
20 |
| FileSystemId |
string |
Yes |
ID sistem file. |
cpfs-099394bd928c**** |
| Filters |
array<object> |
No |
Kunci filter untuk mengkueri direktori ekspor layanan protokol. |
|
|
object |
No |
Kunci filter untuk mengkueri direktori ekspor layanan protokol. |
||
| Key |
string |
No |
Nama kunci filter.
|
ExportIds |
| Value |
string |
No |
Nilai kunci filter. Karakter wildcard tidak didukung.
|
exp-19abf5beab8d****, exp-19acf6beaf7d**** |
| ClientToken |
string |
No |
Memastikan idempotensi permintaan. Hasilkan nilai parameter unik dari klien Anda untuk memastikan nilai tersebut unik di antara berbagai permintaan. ClientToken hanya mendukung karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi lebih lanjut, lihat Cara memastikan idempotensi. Catatan
Jika Anda tidak menentukan parameter ini, sistem akan menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dapat berbeda untuk setiap permintaan API. |
123e4567-e89b-12d3-a456-42665544**** |
| ProtocolServiceIds |
string |
No |
Daftar ID layanan protokol. |
ptc-123xxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0**** |
| NextToken |
string |
Penanda yang digunakan untuk mengambil sisa direktori ekspor dalam kueri berikutnya. |
aBcdeg== |
| ProtocolMountTargets |
array<object> |
Koleksi direktori ekspor layanan protokol. |
|
|
object |
Direktori ekspor layanan protokol. |
||
| ExportId |
string |
ID direktori ekspor layanan protokol. |
exp-19abf5beab8d**** |
| ProtocolMountTargetDomain |
string |
Nama domain direktori ekspor layanan protokol. |
cpfs-123****.cn-hangzhou.cpfs.aliyuncs.com |
| ProtocolType |
string |
Jenis protokol yang didukung oleh layanan protokol. |
NFS |
| VpcId |
string |
ID VPC direktori ekspor layanan protokol. |
vpc-2vct297b8157bth9z**** |
| VSwitchId |
string |
ID vSwitch direktori ekspor layanan protokol. |
vsw-2vc3c2lybvdllxyq4**** |
| FsetId |
string |
ID fileset direktori ekspor layanan protokol. |
fset-1902718ea0ae**** |
| Path |
string |
Direktori yang diekspor dari layanan protokol. |
/path/ |
| AccessGroupName |
string |
Grup izin yang terkait dengan direktori ekspor layanan protokol. |
DEFAULT_VPC_GROUP_NAME |
| CreateTime |
string |
Waktu pembuatan direktori ekspor layanan protokol. Waktu mengikuti standar ISO 8601 dalam format yyyy-MM-ddTHH:mm:ssZ. |
2018-12-12T07:28:38Z |
| Status |
string |
Status mount target. |
CREATING |
| ProtocolServiceId |
string |
ID layanan protokol. |
ptc-123**** |
| Description |
string |
Deskripsi direktori ekspor layanan protokol. |
此协议服务导出目录的描述。 |
| VSwitchIds |
array |
Daftar ID vSwitch redundan zona. |
|
|
string |
Daftar ID vSwitch redundan zona. |
vsw-123xxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0****",
"NextToken": "aBcdeg==",
"ProtocolMountTargets": [
{
"ExportId": "exp-19abf5beab8d****",
"ProtocolMountTargetDomain": "cpfs-123****.cn-hangzhou.cpfs.aliyuncs.com",
"ProtocolType": "NFS",
"VpcId": "vpc-2vct297b8157bth9z****",
"VSwitchId": "vsw-2vc3c2lybvdllxyq4****",
"FsetId": "fset-1902718ea0ae****",
"Path": "/path/",
"AccessGroupName": "DEFAULT_VPC_GROUP_NAME",
"CreateTime": "2018-12-12T07:28:38Z",
"Status": "CREATING",
"ProtocolServiceId": "ptc-123****",
"Description": "此协议服务导出目录的描述。",
"VSwitchIds": [
"vsw-123xxx"
]
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingFileSystemId | FileSystemId is mandatory for this action. | Parameter FileSystemId tidak ditentukan. |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | Sistem file yang ditentukan tidak ada. |
| 404 | InvalidParameter.InvalidNextToken | The specified NextToken is invaild. | |
| 404 | InvalidParameter.InvalidMaxResults | The specified MaxResults is invalid. | MaxResults yang ditentukan tidak valid. |
| 404 | InvalidFilterValue | The specified Filter.N.Value is invalid. | Parameter Filter.N.Value yang ditentukan tidak valid. |
| 404 | InvalidFilterParam | The specified Filter.N.Key is invalid. | Parameter Filter.N.Key yang ditentukan tidak valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.