Method: nodes.deployments.devices.create
طلب HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/deployments/*}/devices
يستخدم عنوان URL بنية gRPC Transcoding.
معلّمات المسار
المَعلمات |
parent |
string
مطلوبة. هو اسم المورد الرئيسي.
|
نص الطلب
يحتوي نص الطلب على مثال Device
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال Device
تم إنشاؤه حديثًا.
نطاقات الأذونات
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/sasportal
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2022-11-02 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2022-11-02 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Creates a device under a node or customer."],["Sends a POST request to `https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/deployments/*}/devices`."],["Requires the `parent` path parameter specifying the name of the parent resource."],["The request body should contain an instance of the Device object, and a successful response will return the newly created Device instance."],["Needs authorization with the `https://www.googleapis.com/auth/sasportal` scope."]]],["This describes the process of creating a device. Key actions include sending a `POST` request to a specific URL (`https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/deployments/*}/devices`) which uses gRPC Transcoding. The `parent` path parameter is required, indicating the parent resource. The request body must contain a `Device` instance, and upon success, the response body returns the newly created `Device` instance. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]