# Customize > Flujo interactivo guiado para desplegar modelos de Azure OpenAI con control total: versión, SKU (GlobalStandard/Standard/ProvisionedManaged), capacidad, política RAI y opciones avanzadas. Fuente: https://skillsagentes.com/skills/microsoft/azure-skills/customize Markdown: https://skillsagentes.com/skills/microsoft/azure-skills/customize.md Repositorio: https://github.com/microsoft/azure-skills Autor: microsoft Licencia: MIT Actualizado: el mes pasado Coste de contexto: 149 tok instalada, 2.2k tok al activarse, 7.6k tok con todos los archivos del bundle Bundle: 4 archivos, 30 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add microsoft/azure-skills --skill customize --agent claude-code # Cursor npx -y skills add microsoft/azure-skills --skill customize --agent cursor # Codex npx -y skills add microsoft/azure-skills --skill customize --agent codex # Gemini CLI npx -y skills add microsoft/azure-skills --skill customize --agent gemini # Windsurf npx -y skills add microsoft/azure-skills --skill customize --agent windsurf # Cline npx -y skills add microsoft/azure-skills --skill customize --agent cline ``` ## Qué hace - Flujo interactivo guiado para desplegar modelos de Azure OpenAI con control total sobre la configuración. - Va paso a paso por la versión del modelo, el SKU (GlobalStandard, Standard, ProvisionedManaged, DataZoneStandard), la capacidad y la política RAI de filtrado de contenido. - Cubre también las opciones avanzadas: cuota dinámica, procesamiento prioritario y spillover. ## Cuándo usarla - Se quiere un despliegue a medida: elegir versión, SKU, capacidad, filtro de contenido o throughput provisionado (PTU). ## Cuándo no - Para un despliegue rápido a la región óptima: eso es `preset`. ## Qué la activa - "despliega con una configuración concreta" - "quiero elegir el SKU y la capacidad" - "configura el filtro de contenido" - "despliegue PTU" ## Antes de instalar - Es un flujo interactivo: va pidiendo cada decisión de configuración al usuario. - Necesita en el PATH: az ## Archivos - EXAMPLES.md — 4 KB - SKILL.md — 9 KB - references/customize-guides.md — 3 KB - references/customize-workflow.md — 13 KB ## SKILL.md Reproducido tal cual desde microsoft/azure-skills bajo MIT. Esta sección es el documento original y está en inglés. # Customize Model Deployment Interactive guided workflow for deploying Azure OpenAI models with full customization control over version, SKU, capacity, content filtering, and advanced options. ## Quick Reference | Property | Description | |----------|-------------| | **Flow** | Interactive step-by-step guided deployment | | **Customization** | Version, SKU, Capacity, RAI Policy, Advanced Options | | **SKU Support** | GlobalStandard, Standard, ProvisionedManaged, DataZoneStandard | | **Best For** | Precise control over deployment configuration | | **Authentication** | Azure CLI (`az login`) | | **Tools** | Azure CLI, MCP tools (optional) | ## When to Use This Skill Use this skill when you need **precise control** over deployment configuration: - ✅ **Choose specific model version** (not just latest) - ✅ **Select deployment SKU** (GlobalStandard vs Standard vs PTU) - ✅ **Set exact capacity** within available range - ✅ **Configure content filtering** (RAI policy selection) - ✅ **Enable advanced features** (dynamic quota, priority processing, spillover) - ✅ **PTU deployments** (Provisioned Throughput Units) **Alternative:** Use `preset` for quick deployment to the best available region with automatic configuration. ### Comparison: customize vs preset | Feature | customize | preset | |---------|---------------------|----------------------------| | **Focus** | Full customization control | Optimal region selection | | **Version Selection** | User chooses from available | Uses latest automatically | | **SKU Selection** | User chooses (GlobalStandard/Standard/PTU) | GlobalStandard only | | **Capacity** | User specifies exact value | Auto-calculated (50% of available) | | **RAI Policy** | User selects from options | Default policy only | | **Region** | Current region first, falls back to all regions if no capacity | Checks capacity across all regions upfront | | **Use Case** | Precise deployment requirements | Quick deployment to best region | ## Prerequisites - Azure subscription with Cognitive Services Contributor or Owner role - Microsoft Foundry project resource ID (format: `/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.CognitiveServices/accounts/{account}/projects/{project}`) - Azure CLI installed and authenticated (`az login`) - Optional: Set `PROJECT_RESOURCE_ID` environment variable ## Workflow Overview ### Complete Flow (14 Phases) ``` 1. Verify Authentication 2. Get Project Resource ID 3. Verify Project Exists 4. Get Model Name (if not provided) 5. List Model Versions → User Selects 6. List SKUs for Version → User Selects 7. Get Capacity Range → User Configures 7b. If no capacity: Cross-Region Fallback → Query all regions → User selects region/project 8. List RAI Policies → User Selects 9. Configure Advanced Options (if applicable) 10. Configure Version Upgrade Policy 11. Generate Deployment Name 12. Review Configuration 13. Execute Deployment & Monitor ``` ### Fast Path (Defaults) If user accepts all defaults (latest version, GlobalStandard SKU, recommended capacity, default RAI policy, standard upgrade policy), deployment completes in ~5 interactions. --- ## Phase Summaries > ⚠️ **MUST READ:** Before executing any phase, load [references/customize-workflow.md](references/customize-workflow.md) for the full scripts and implementation details. The summaries below describe *what* each phase does — the reference file contains the *how* (CLI commands, quota patterns, capacity formulas, cross-region fallback logic). | Phase | Action | Key Details | |-------|--------|-------------| | **1. Verify Auth** | Check `az account show`; prompt `az login` if needed | Verify correct subscription is active | | **2. Get Project ID** | Read `PROJECT_RESOURCE_ID` env var or prompt user | ARM resource ID format required | | **3. Verify Project** | Parse resource ID, call `az cognitiveservices account show` | Extracts subscription, RG, account, project, region | | **4. Get Model** | List models via `az cognitiveservices account list-models` | User selects from available or enters custom name | | **5. Select Version** | Query versions for chosen model | Recommend latest; user picks from list | | **6. Select SKU** | Query model catalog + subscription quota, show only deployable SKUs | ⚠️ Never hardcode SKU lists — always query live data | | **7. Configure Capacity** | Query capacity API, validate min/max/step, user enters value | Cross-region fallback if no capacity in current region | | **8. Select RAI Policy** | Present content filter options | Default: `Microsoft.DefaultV2` | | **9. Advanced Options** | Dynamic quota (GlobalStandard), priority processing (PTU), spillover | SKU-dependent availability | | **10. Upgrade Policy** | Choose: OnceNewDefaultVersionAvailable / OnceCurrentVersionExpired / NoAutoUpgrade | Default: auto-upgrade on new default | | **11. Deployment Name** | Auto-generate unique name, allow custom override | Validates format: `^[\w.-]{2,64}$` | | **12. Review** | Display full config summary, confirm before proceeding | User approves or cancels | | **13. Deploy & Monitor** | `az cognitiveservices account deployment create`, poll status | Timeout after 5 min; show endpoint + portal link | --- ## Error Handling ### Common Issues and Resolutions | Error | Cause | Resolution | |-------|-------|------------| | **Model not found** | Invalid model name | List available models with `az cognitiveservices account list-models` | | **Version not available** | Version not supported for SKU | Select different version or SKU | | **Insufficient quota** | Capacity > available quota | Skill auto-searches all regions; fails only if no region has quota | | **SKU not supported** | SKU not available in region | Cross-region fallback searches other regions automatically | | **Capacity out of range** | Invalid capacity value | **PREVENTED**: Skill validates min/max/step at input (Phase 7) | | **Deployment name exists** | Name conflict | Auto-incremented name generation | | **Authentication failed** | Not logged in | Run `az login` | | **Permission denied** | Insufficient permissions | Assign Cognitive Services Contributor role | | **Capacity query fails** | API/permissions/network error | **DEPLOYMENT BLOCKED**: Will not proceed without valid quota data | ### Troubleshooting Commands ```bash # Check deployment status az cognitiveservices account deployment show --name --resource-group --deployment-name # List all deployments az cognitiveservices account deployment list --name --resource-group -o table # Check quota usage az cognitiveservices usage list --name --resource-group # Delete failed deployment az cognitiveservices account deployment delete --name --resource-group --deployment-name ``` --- ## Selection Guides & Advanced Topics > For SKU comparison tables, PTU sizing formulas, and advanced option details, load [references/customize-guides.md](references/customize-guides.md). **SKU selection:** GlobalStandard (production/HA) → Standard (dev/test) → ProvisionedManaged (high-volume/guaranteed throughput) → DataZoneStandard (data residency). **Capacity:** TPM-based SKUs range from 1K (dev) to 100K+ (large production). PTU-based use formula: `(Input TPM × 0.001) + (Output TPM × 0.002) + (Requests/min × 0.1)`. **Advanced options:** Dynamic quota (GlobalStandard only), priority processing (PTU only, extra cost), spillover (overflow to backup deployment). --- ## Related Skills - **preset** - Quick deployment to best region with automatic configuration - **microsoft-foundry** - Parent skill for all Microsoft Foundry operations - **[quota](../../../quota/quota.md)** — For quota viewing, increase requests, and troubleshooting quota errors, defer to this skill instead of duplicating guidance - **rbac** - Manage permissions and access control --- ## Notes - Set `PROJECT_RESOURCE_ID` environment variable to skip prompt - Not all SKUs available in all regions; capacity varies by subscription/region/model - Custom RAI policies can be configured in Azure Portal - Automatic version upgrades occur during maintenance windows - Use Azure Monitor and Application Insights for production deployments ## Dónde encaja - Categoría: [DevOps e infraestructura](https://skillsagentes.com/categorias/devops-infraestructura.md) — Despliegues, contenedores, IaC y flujos de gestión de incidentes. - Creador: [microsoft](https://skillsagentes.com/creators/microsoft.md) — 43 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Microsoft Foundry](https://skillsagentes.com/skills/microsoft/azure-skills/microsoft-foundry.md): Despliega, evalúa, ajusta y gestiona agentes de Foundry de punta a punta con azd: agentes hospedados, evaluación por lotes y continua, optimizador de prompts y fine-tuning (SFT/DPO/RFT). - [Azure Prepare](https://skillsagentes.com/skills/microsoft/azure-skills/azure-prepare.md): Prepara proyectos Azure basados en azd para desplegar: genera azure.yaml, la infraestructura (Bicep o Terraform) y los Dockerfiles del flujo del Azure Developer CLI. - [Azure Diagnostics](https://skillsagentes.com/skills/microsoft/azure-skills/azure-diagnostics.md): Depura incidencias de producción en Azure con AppLens, Azure Monitor, resource health y triaje seguro. Cubre App Service, Container Apps, Functions, AKS, VMs y mensajería. - [Azure Validate](https://skillsagentes.com/skills/microsoft/azure-skills/azure-validate.md): Validación previa al despliegue en Azure. Comprueba en profundidad la configuración, la infraestructura (Bicep o Terraform), los roles RBAC, los permisos de identidad administrada y los prerrequisitos. - [Deploy Model](https://skillsagentes.com/skills/microsoft/azure-skills/deploy-model.md): Skill unificado de despliegue de modelos de Azure OpenAI con enrutado por intención: despliegues rápidos con preset, despliegues personalizados y descubrimiento de capacidad entre regiones y proyectos. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)