אם רוצים ליצור משאב באמצעות ספק מסוג Google Cloud, משתמשים בתחביר הבא בהגדרות:
resources: - name: example-resource type: gcp-types/[PROVIDER]:[RESOURCE] properties: ...
כאשר [PROVIDER] הוא שירות, כמו compute-v1, ו-[RESOURCE] הוא המשאב שרוצים ליצור, כמו instances. Google Cloud
לדוגמה, אם רוצים ליצור כתובת IP שמורה באמצעות Compute Engine v1 API, משתמשים בתחביר הבא:
type: gcp-types/compute-v1:addresses
בהמשך מופיעה רשימה של ספקי סוגים שנתמכים בפריסות. Google Cloud כדי לזרז את יצירת הפריסות, כדאי להשתמש בתבניות מוכנות לייצור מפרויקט Cloud Foundation Toolkit במאגר GitHub של Deployment Manager.
בהתאם לשירות ולשלב ההשקה שלו, יכול להיות שתוכלו ליצור סוגים נוספים של משאבים בפריסות שלכם. כדי לראות רשימה מלאה של סוגי משאבים, כולל משאבים שנמצאים בשלב אלפא, מריצים את הפקודה הבאה:
gcloud beta deployment-manager types list --project gcp-types
אפשר גם ליצור ספקי סוגים משלכם, למשל עבור ממשקי API של צד שלישי. סקירה כללית על יצירת ספק סוגים זמינה במאמר בנושא שילוב עם Deployment Manager.
| שירות | ספק סוג | |
|---|---|---|
| App Engine | gcp-types/appengine-v1 | קטעי מידע על משאבים |
| Access Context Manager | gcp-types/accesscontextmanager-v1beta | קטעי מידע על משאבים |
| BigQuery | gcp-types/bigquery-v2 | קטעי מידע על משאבים |
| Bigtable | gcp-types/bigtableadmin-v2 | קטעי מידע על משאבים |
| פונקציות Cloud Run | gcp-types/cloudfunctions-v1 |
קטעי מידע על משאבים |
| Cloud Key Management Service | gcp-types/cloudkms-v1 | קטעי מידע על משאבים |
| מנהל המשאבים (גרסה 1) | gcp-types/cloudresourcemanager-v1 | קטעי מידע על משאבים |
| מנהל המשאבים (גרסה 2) | gcp-types/cloudresourcemanager-v2 | קטעי מידע על משאבים |
| Compute Engine (אלפא) | gcp-types/compute-alpha | קטעי מידע על משאבים |
| Compute Engine (בטא) | gcp-types/compute-beta | קטעי מידע על משאבים |
| Compute Engine | gcp-types/compute-v1 | קטעי מידע על משאבים |
| Google Kubernetes Engine | gcp-types/container-v1 |
קטעי מידע על משאבים |
| Google Kubernetes Engine (v1 Beta 1) | gcp-types/container-v1beta1 | קטעי מידע על משאבים |
| Managed Service for Apache Spark | gcp-types/dataproc-v1 | קטעי מידע על משאבים |
| Cloud DNS | gcp-types/dns-v1 | קטעי מידע על משאבים |
| Filestore | gcp-types/file-v1beta1 | קטעי מידע על משאבים |
| ניהול זהויות והרשאות גישה | gcp-types/iam-v1 | קטעי מידע על משאבים |
| Cloud Logging | gcp-types/logging-v2 | קטעי מידע על משאבים |
| Cloud Monitoring | gcp-types/monitoring-v3 | קטעי מידע על משאבים |
| Pub/Sub | gcp-types/pubsub-v1 | קטעי מידע על משאבים |
| Memorystore | gcp-types/redis-v1 | קטעי מידע על משאבים |
| Memorystore (גרסה 1 בטא 1) | gcp-types/redis-v1beta1 | קטעי מידע על משאבים |
| Cloud Runtime Configuration API | gcp-types/runtimeconfig-v1beta1 | קטעי מידע על משאבים |
| ניהול השירות | gcp-types/servicemanagement-v1 | קטעי מידע על משאבים |
| Spanner | gcp-types/spanner-v1 | קטעי מידע על משאבים |
| Cloud SQL (גרסה 1 בטא 4) | gcp-types/sqladmin-v1beta4 | קטעי מידע על משאבים |
| Cloud Storage | gcp-types/storage-v1 | קטעי מידע על משאבים |