azure-rbac

โดย Azure

ช่วยให้ผู้ใช้ค้นหาบทบาท Azure RBAC ที่เหมาะสมสำหรับข้อมูลประจำตัวที่มีสิทธิ์เข้าถึงน้อยที่สุด จากนั้นสร้างคำสั่ง CLI และโค้ด Bicep เพื่อกำหนดบทบาทดังกล่าว

npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-rbac

Use the 'azure__documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity. If no built-in role matches the desired permissions, use the 'azure__extension_cli_generate' tool to create a custom role definition with the desired permissions. Then use the 'azure__extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity. Finally, use the 'azure__bicepschema' and 'azure__get_azure_bestpractices' tools to provide a Bicep code snippet for adding the role assignment. If user is asking about role necessary to set access, refer to Prerequisites for Granting Roles down below:

Prerequisites for Granting Roles

To assign RBAC roles to identities, you need a role that includes the Microsoft.Authorization/roleAssignments/write permission. The most common roles with this permission are:

  • User Access Administrator (least privilege - recommended for role assignment only)
  • Owner (full access including role assignment)
  • Custom Role with Microsoft.Authorization/roleAssignments/write

Skills เพิ่มเติมจาก Azure

azure-ai
Azure
ใช้สำหรับ Azure AI: Search, Speech, OpenAI, Document Intelligence ช่วยในการค้นหา, การค้นหาแบบเวกเตอร์/ไฮบริด, การแปลงคำพูดเป็นข้อความ, การแปลงข้อความเป็นคำพูด, การถอดเสียง, OCR
appinsights-instrumentation
Azure
แนวทางสำหรับการติดตั้งเครื่องมือวัด (instrumentation) ให้กับเว็บแอปพลิเคชันด้วย Azure Application Insights ให้รูปแบบการส่งข้อมูลเทเลเมทรี การตั้งค่า SDK และข้อมูลอ้างอิงการกำหนดค่า
azure-aigateway
Azure
กำหนดค่า Azure API Management (APIM) เป็น AI Gateway เพื่อรักษาความปลอดภัย สังเกตการณ์ ควบคุมโมเดล AI, MCP servers, agents ช่วยในการจำกัดอัตราการใช้งาน, การแคชเชิงความหมาย, ความปลอดภัยของเนื้อหา, การปรับสมดุลโหลด
azure-compliance
Azure
ความสามารถในการตรวจสอบการปฏิบัติตามข้อกำหนดและความปลอดภัยของ Azure อย่างครอบคลุม รวมถึงการประเมินแนวทางปฏิบัติที่ดีที่สุด การตรวจสอบวันหมดอายุของ Key Vault และการตรวจสอบความถูกต้องของการกำหนดค่าทรัพยากร
azure-compute
Azure
แนะนำขนาด VM ของ Azure, VM Scale Sets (VMSS) และการกำหนดค่าตามความต้องการของเวิร์กโหลด ความต้องการด้านประสิทธิภาพ และข้อจำกัดด้านงบประมาณ
azure-cost-optimization
Azure
ระบุและวัดปริมาณการประหยัดต้นทุนในทุกการสมัครใช้งาน Azure โดยการวิเคราะห์ต้นทุนจริง เมตริกการใช้งาน และสร้างคำแนะนำการปรับแต่งที่สามารถดำเนินการได้
azure-deploy
Azure
ดำเนินการปรับใช้ไปยัง Azure ขั้นตอนสุดท้ายหลังจากการเตรียมการและการตรวจสอบ ทำงานคำสั่ง azd up, azd deploy หรือการจัดเตรียมโครงสร้างพื้นฐาน
azure-diagnostics
Azure
ดีบักและแก้ไขปัญหาการทำงานจริงบน Azure ครอบคลุมการวินิจฉัย Container Apps และ Function Apps การวิเคราะห์บันทึกด้วย KQL การตรวจสอบสถานะ และการแก้ไขปัญหาทั่วไป