# hosting.create

Canonical URL: https://developers.iagenify.com/ar/sdk/workflows/steps/hosting-create/
Language: ar

`type: "hosting.create"`

يُنشئ مضيفا ، موقعا ، تطبيقا ، او وظيفة ، ويحفظ عنوانا ؛ النشر خطوة منفصلة .

Status: kind and label required · no approval · certificate may wait

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `kind` | string | مطلوب | `site` · `app` · `function`. |
| `label` | string | مطلوب | الاسم الذي يقرأه الشخص |
| `slug` | string |  | الجزء الأول من العنوان مُستمد من المُلصق بطريقة أخرى. |

```javascript
{ id: "host", type: "hosting.create", config: { kind: "site", label: "{{input.name}}" } }
```

## المخرجات {#output}

```javascript
{{steps.host.output.host}}          // the slug
{{steps.host.output.url}}
{{steps.host.output.certificate}}   // "none" | "pending" | "active"
```

## عنوان غير جاهز بعد {#certificate}

> **A ريثما ريثما شهادة يعني العنوان رفض الاتصالات**
>
> فَهَلْ تَتَأَمَّلُ فِي ٱلْمَسِيحِيِّينَ ٱلْمُتَوَقِّعِينَ ؟

## إنشاء ليس نشر {#no-approval}

لا شيء على الإنترنت بعد، لذا لا حاجة للموافقة هنا. [hosting.deploy](/ar/sdk/workflows/steps/hosting-deploy) هي الخطوة التي تنشر، والتي تحتاج إلى منبع بشري.

## الخطة تقرر كم عدد {#plan}

خطة بدون مضيفة ترفض إنشاءها، تسمية الخطة. تستحق المعرفة قبل بناء سلسلة حولها.

- [hosting.deploy](/ar/sdk/workflows/steps/hosting-deploy): وضع شيء عليه
- [api.hosts](/ar/sdk/ref/hosts): من الشيفرة.
- [خطوات سير العمل](/ar/sdk/workflows/steps): الأنواع الثلاثة والعشرون.

```python
{"id": "host", "type": "hosting.create", "config": {"kind": "site", "label": "{{input.name}}"}}
```

```python
"{{steps.host.output.host}}"          # the slug
"{{steps.host.output.url}}"
"{{steps.host.output.certificate}}"   # "none" | "pending" | "active"
```
