---
name: microsoft-defender-for-cloud
description: "Microsoft Defender for Cloud API skill. Use when working with Microsoft Defender for Cloud for subscriptions. Covers 2 endpoints."
version: 1.0.0
generator: lapsh
---

# Microsoft Defender for Cloud
API version: 2015-06-01-preview

## Auth
OAuth2

## Base URL
https://management.azure.com

## Setup
1. Configure auth: OAuth2
2. GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations -- the location of the responsible asc of the specific subscription (home region). for each subscription there is only one responsible location. the location in the response should be used to read or write other resources in asc according to their id.
3. Explore available endpoints below

## Endpoints
2 endpoints across 1 group. See references/api-spec.lap for full details.

### Subscriptions
| Method | Path | Description |
|--------|------|-------------|
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations | The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID. |
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation} | Details of a specific location |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "List all locations?" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations
- "Get location details?" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}
- "How to authenticate?" -> See Auth section above

## Response Tips
- Check response schemas in references/api-spec.lap for field details

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
