{"files":{"SKILL.md":"---\nname: blueprintclient\ndescription: \"BlueprintClient API skill. Use when working with BlueprintClient for {resourceScope}. Covers 5 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# BlueprintClient\nAPI version: 2018-11-01-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName} -- get a blueprint assignment.\n3. POST /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}/whoIsBlueprint -- create first whoIsBlueprint\n\n## Endpoints\n5 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### {resourceScope}\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName} | Create or update a blueprint assignment. |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName} | Get a blueprint assignment. |\n| DELETE | /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName} | Delete a blueprint assignment. |\n| POST | /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}/whoIsBlueprint | Get Blueprints service SPN objectId |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments | List blueprint assignments within a subscription or a management group. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Update a blueprintAssignment?\" -> PUT /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}\n- \"Get blueprintAssignment details?\" -> GET /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}\n- \"Delete a blueprintAssignment?\" -> DELETE /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}\n- \"Create a whoIsBlueprint?\" -> POST /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}/whoIsBlueprint\n- \"List all blueprintAssignments?\" -> GET /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api BlueprintClient\n@base https://management.azure.com\n@version 2018-11-01-preview\n@auth OAuth2\n@endpoints 5\n@toc {resourceScope}(5)\n\n@endpoint PUT /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}\n@desc Create or update a blueprint assignment.\n@required {api-version: any # Client API Version., resourceScope: any # The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}')., assignmentName: any # Name of the blueprint assignment., assignment: map # Blueprint assignment object to save.}\n@returns(201) Created -- blueprint assignment saved.\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}\n@desc Get a blueprint assignment.\n@required {api-version: any # Client API Version., resourceScope: any # The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}')., assignmentName: any # Name of the blueprint assignment.}\n@returns(200) OK -- blueprint assignment retrieved.\n\n@endpoint DELETE /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}\n@desc Delete a blueprint assignment.\n@required {api-version: any # Client API Version., resourceScope: any # The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}')., assignmentName: any # Name of the blueprint assignment.}\n@optional {deleteBehavior: any # When deleteBehavior=all, the resources that were created by the blueprint assignment will be deleted.}\n@returns(202) OK -- blueprint assignment deleted.\n@returns(204) No Content\n\n@endpoint POST /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}/whoIsBlueprint\n@desc Get Blueprints service SPN objectId\n@required {api-version: any # Client API Version., resourceScope: any # The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}')., assignmentName: any # Name of the blueprint assignment.}\n@returns(200) Blueprints service SPN objectId\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments\n@desc List blueprint assignments within a subscription or a management group.\n@required {api-version: any # Client API Version., resourceScope: any # The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').}\n@returns(200) OK -- all blueprint assignments retrieved.\n\n@end\n"}}