Mengkueri informasi tentang pipeline.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiflow:GetPipeline |
get |
*All Resource
|
None | None |
Sintaks permintaan
GET /api/v1/pipelines/{PipelineId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PipelineId |
string |
Yes |
ID pipeline. Anda dapat memanggil ListPipelineRuns untuk mendapatkan ID dari pekerjaan pipeline. |
pipeline-hynm2bv8wqhp5e**** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
63EDFF2F-4D51-46F0-9D65-2F8F393B**** |
| PipelineId |
string |
ID pipeline. |
pipeline-hynm2bv8wqhp5e**** |
| Provider |
string |
Nilai ini adalah ID pengguna untuk pipeline kustom. Nilai ini adalah PAI untuk pipeline yang disediakan oleh Platform for AI (PAI). |
132668941337**** |
| Identifier |
string |
Pengidentifikasi pipeline. |
SqlWrite |
| Version |
string |
Versi pipeline. |
v1 |
| Manifest |
string |
Definisi pipeline. |
apiVersion: **** |
| GmtCreateTime |
string |
Waktu ketika pipeline dibuat, dalam UTC. Waktu mengikuti standar ISO 8601. |
2021-01-21T17:12:35.232Z |
| GmtModifiedTime |
string |
Waktu ketika pipeline dimodifikasi, dalam UTC. Waktu mengikuti standar ISO 8601. |
2021-01-21T17:12:35.232Z |
| Uuid |
string |
UUID dari pipeline. UUID dihasilkan setiap kali pengguna memodifikasi pipeline. |
q8dp9hklueznhg**** |
| WorkspaceId |
string |
ID workspace. |
726** |
Deskripsi tambahan dari parameter Manifest
apiVersion: "core/v1"
metadata:
version: "v1"
# Penyedia pipeline.
provider: "132668**********"
identifier: "my***"
spec:
inputs:
parameters:
- name: "inputTableName"
value: "myDefault"
# Tipe data. Nilainya dapat berupa string, double, bool, integer, map, dan list.
type: "String"
desc: "Nama Tabel"
# Menentukan apakah parameter diperlukan. Nilai default: false.
required: false
outputs:
artifacts:
- name: "outputTable"
metadata:
# Tipe metadata. Nilainya dapat berupa DataSet, Model, ModelEvaluation, Any, DataStream, dan Raw. Dalam contoh ini, DataSet digunakan.
type:
DataSet:
locationType: "MaxComputeTable"
desc: "Port Output Tabel MaxCompute Sumber"
container:
image: "registry.***.com/***/***:v*"
command:
- "bash"
- "***.sh"
volumeMounts:
- name: "download-volume"
path: "/***"
initContainers:
- image: "registry.***.com/***/***:v*"
command:
- "***.sh"
args:
- "--***"
name: "initdownload"
volumeMounts:
- name: "download-volume"
path: "/downloadPath"
volumes:
- name: "download-volume"
emptyDir: {}
Contoh
Respons sukses
JSONformat
{
"RequestId": "63EDFF2F-4D51-46F0-9D65-2F8F393B****",
"PipelineId": "pipeline-hynm2bv8wqhp5e****",
"Provider": "132668941337****",
"Identifier": "SqlWrite",
"Version": "v1",
"Manifest": "apiVersion: ****",
"GmtCreateTime": "2021-01-21T17:12:35.232Z",
"GmtModifiedTime": "2021-01-21T17:12:35.232Z",
"Uuid": "q8dp9hklueznhg****",
"WorkspaceId": "726**"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.