azure-mgmt-fabric-dotnet 是什么?
此 Skill 使用 Azure.ResourceManager.Fabric 管理 Fabric capacities:创建、查询、扩缩 SKU、暂停/恢复和删除。它只管计算容量管理面,不操作 Fabric workspace、Lakehouse、Warehouse 或数据项目。
中文说明由本站依据来源整理;英文原文保留在页面下方。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
azure-mgmt-fabric-dotnet,然后按本页使用示例提供材料。
展开并复制给 Codex 的安装指令
安装并检查 azure-mgmt-fabric-dotnet
请在 Codex 的当前工作环境中安装并检查 azure-mgmt-fabric-dotnet 这个 Skill。
项目身份:microsoft/skills / azure-mgmt-fabric-dotnet
来源:https://github.com/microsoft/skills/blob/f03ec5392f7a0f3aca12af47477e92f1edf7b44c/.github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md
已定位的源文件:.github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 azure-mgmt-fabric-dotnet
请在 Claude Code 的当前工作环境中安装并检查 azure-mgmt-fabric-dotnet 这个 Skill。
项目身份:microsoft/skills / azure-mgmt-fabric-dotnet
来源:https://github.com/microsoft/skills/blob/f03ec5392f7a0f3aca12af47477e92f1edf7b44c/.github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md
已定位的源文件:.github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 azure-mgmt-fabric-dotnet
请在 Cursor Agent 的当前工作环境中安装并检查 azure-mgmt-fabric-dotnet 这个 Skill。
项目身份:microsoft/skills / azure-mgmt-fabric-dotnet
来源:https://github.com/microsoft/skills/blob/f03ec5392f7a0f3aca12af47477e92f1edf7b44c/.github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md
已定位的源文件:.github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 azure-mgmt-fabric-dotnet
请在 当前 Agent 的当前工作环境中安装并检查 azure-mgmt-fabric-dotnet 这个 Skill。
项目身份:microsoft/skills / azure-mgmt-fabric-dotnet
来源:https://github.com/microsoft/skills/blob/f03ec5392f7a0f3aca12af47477e92f1edf7b44c/.github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md
已定位的源文件:.github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。装好以后,具体怎么用?
准备哪些材料
- 安装 Azure.ResourceManager.Fabric 与 Azure.Identity,配置订阅/resource group 和管理权限。
- 先核对区域可用 SKU、容量管理员、预计用量和预算;容量运行会产生费用。
- 准备确定的目标资源名和变更窗口,注意缩容/扩容可能中断工作负载。
实际使用顺序
- 先列出现有容量、状态与 SKU,并通过 subscription API 检查目标 region 可用的 SKU。
- 新建容量前确认管理员 UPN/object ID、区域及SKU;创建操作是长时资源变更。
- 更新 SKU 前查看当前 provisioning/resource state,评估停机影响;变更后确认最终 state。
- 闲置时可 suspend,恢复工作时 resume;二者不同于 delete,暂停后资源仍存在且保留管理配置。
从一个具体任务开始
本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。
复制一个具体任务
请按此 Skill 为指定订阅生成只读容量盘点草案:列出每个 Fabric capacity 的名称、区域、SKU和状态,并描述如何查询目标 SKU可用性;不创建、缩放或暂停容量。得到只读盘点步骤;未访问 Azure 或变更容量。
使用条件与边界
- 容量管理 ARM SDK 不能管理 Fabric workspace、lakehouse、warehouse 内容。
- suspend/resume、缩放和删除会影响用户访问与计费;确认目标资源和工单后再执行。
- 源文 SKU 可用列表是时间敏感信息,不能据静态表断言目标订阅/区域可购买。
常见问题
暂停容量等于删除吗?
不等于。暂停使计算停用,资源仍保留;删除会移除 Azure 资源并影响现有关联。
SKU为什么创建失败?
查询订阅与区域的可用SKU,核对容量配额、管理员身份和当前状态,并检查 provisioning 错误。
来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
- 中文使用说明
- 已针对下方源文件版本整理用途、用法和常见问题
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料
.github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Azure Resource Manager SDK for Fabric in .NET. Use for MANAGEMENT PLANE operations: provisioning, scaling, suspending/resuming Microsoft Fabric capacities, checking name availability, and listing SKUs via Azure Resource Manager. Triggers: "Fabric capacity", "create capacity", "suspend capacity", "resume capacity", "Fabric SKU", "provision Fabric", "ARM Fabric", "FabricCapacityResource".
查看源文件章节 / Source sections
- 原文:Azure.ResourceManager.Fabric (.NET)
- 安装 / Installation
- 原文:Environment Variables
- 原文:Authentication
- 原文:Resource Hierarchy
- 原文:Core Workflows
- 原文:1. Create Fabric Capacity
- 原文:2. Get Fabric Capacity
- 原文:3. Update Capacity (Scale SKU or Change Admins)
- 原文:4. Suspend and Resume Capacity
- 原文:5. Delete Capacity
- 原文:6. List All Capacities
- 原文:7. Check Name Availability
- 原文:8. List Available SKUs
- 原文:SKU Reference
- 原文:Key Types Reference
- 原文:Provisioning and Resource States
- 原文:Provisioning States (`FabricProvisioningState`)
- 原文:Resource States (`FabricResourceState`)
- 原文:Best Practices
- 原文:Error Handling
- 原文:Common Pitfalls
- 原文:Related SDKs
- 原文:References
原文:Azure.ResourceManager.Fabric (.NET)
Management plane SDK for provisioning and managing Microsoft Fabric capacity resources via Azure Resource Manager. > **Management Plane Only** > This SDK manages Fabric *capacities* (compute resources). For working with Fabric workspaces, lakehouses, warehouses, and data items, use the Microsoft Fabric REST API or data plane SDKs.
安装 / Installation
```bash dotnet add package Azure.ResourceManager.Fabric dotnet add package Azure.Identity ``` **Current Version**: 1.0.0 (GA - September 2025) **API Version**: 2023-11-01 **Target Frameworks**: .NET 8.0, .NET Standard 2.0
原文:Environment Variables
```bash AZURE_SUBSCRIPTION_ID=<your-subscription-id> # Required: Azure subscription ID AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production AZURE_TENANT_ID=<tenant-id> # For service principal auth (optional) AZURE_CLIENT_ID=<client-id> # For service principal auth (optional) AZURE_CLIENT_SECRET=<client-secret> # For service principal auth (optional) ```
原文:Authentication
```csharp using Azure.Identity; using Azure.ResourceManager; using Azure.ResourceManager.Fabric; // Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=<specific_credential> var credential = new DefaultAzureCredential( DefaultAzureCredential.DefaultEnvironmentVariableName ); // Or use a specific credential directly in production: // See https://learn.microsoft.com/dotnet/api/overview/azure/identity-readme?view=azure-dotnet#credential-classes // var credential = new ManagedIdentityCredential(); var armClient = new ArmClient(credential); // Get subscription var subscription = await armClient.GetDefaultSubscriptionAsync(); ```
原文:Resource Hierarchy
``` ArmClient └── SubscriptionResource └── ResourceGroupResource └── FabricCapacityResource ```
原文:1. Create Fabric Capacity
```csharp using Azure.ResourceManager.Fabric; using Azure.ResourceManager.Fabric.Models; using Azure.Core; // Get resource group var resourceGroup = await subscription.GetResourceGroupAsync("my-resource-group"); // Define capacity configuration var administration = new FabricCapacityAdministration( new[] { "admin@contoso.com" } // Capacity administrators (UPNs or object IDs) ); var properties = new FabricCapacityProperties(administration); var sku = new FabricSku("F64", FabricSkuTier.Fabric); var capacityData = new FabricCapacityData( AzureLocation.WestUS2, properties, sku) { Tags = { ["Environment"] = "Production" } }; // Create capacity (long-running operation) var capacityCollection = resourceGroup.Value.GetFabricCapacities(); var operation = await capacityCollection.CreateOrUpdateAsync( WaitUntil.Completed, "my-fabric-capacity", capacityData); FabricCapacityResource capacity = operation.Value; Console.WriteLine($"Created capacity: {capacity.Data.Name}"); Console.WriteLine($"State: {capacity.Data.Properties.State}"); ```
文件 SHA256:88fcd541f96a973d546da7f0d06db97df5cc9b8e1a99a4790458a6ef2abbf74d
仓库许可证记录:MIT;skill-declaration-captured-not-interpreted,查看来源。
Azure Resource Manager SDK for Fabric in .NET. Use for MANAGEMENT PLANE operations: provisioning, scaling, suspending/resuming Microsoft Fabric capacities, checking name availability, and listing SKUs via Azure Resource Manager. Triggers: "Fabric capacity", "create capacity", "suspend capacity", "resume capacity", "Fabric SKU", "provision Fabric", "ARM Fabric", "FabricCapacityResource".
历史收录数据
| 来源仓库 | microsoft/skills |
|---|---|
| Skill源路径 | .github/plugins/azure-sdk-dotnet/skills/azure-mgmt-fabric-dotnet/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
