Microsoft Azure ManagementLocks API

The ManagementLocks API from Microsoft Azure — 8 operation(s) for managementlocks.

GitHub OpenAPI

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName} Lock a resource group against changes or deletion · Creates or updates a management lock at the resource group level #
Ask an LLM
“How do I stop anyone from deleting a whole resource group in Azure?”
“Do resources inside a resource group inherit a lock I place on the group?”
Tell an agent
Create lock {lock} on resource group {group} in subscription {subscription} with settings {properties}.
Make resource group {group} read-only by adding lock {lock}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName} Remove a lock from a resource group · Deletes a management lock at the resource group level #
Ask an LLM
“Can I remove the delete protection from a resource group?”
“Who is permitted to delete a resource group management lock?”
Tell an agent destructive · confirm first
Delete lock {lock} from resource group {group} in subscription {subscription}.
Unlock resource group {group} by removing {lock}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName} Get a lock on a resource group · Management locks get at resource group level #
Ask an LLM
“What does a specific management lock on my resource group look like, read-only or can-not-delete?”
“Can I look up one resource group lock by its name?”
Tell an agent
Get lock {lock} on resource group {group} in subscription {subscription}.
Show the level and notes of resource group lock {lock} on {group}.
PUT /{scope}/providers/Microsoft.Authorization/locks/{lockName} Create or update a lock at any scope · Management locks create or update by scope #
Ask an LLM
“Can I place a lock on any scope by passing its full resource path?”
“What goes in the properties when I set a lock by scope?”
Tell an agent
Put lock {lock} at scope {scope} with properties {properties}.
Change the level of the existing lock {lock} at scope path {scope}.
DELETE /{scope}/providers/Microsoft.Authorization/locks/{lockName} Delete a lock at any scope · Management locks delete by scope #
Ask an LLM
“Can I delete a lock by its scope path without knowing which level it sits at?”
“What removes a lock identified by scope and name?”
Tell an agent destructive · confirm first
Delete the lock {lock} at scope {scope}.
Remove whatever lock is called {lock} on the scope path {scope}.
GET /{scope}/providers/Microsoft.Authorization/locks/{lockName} Get a lock at any scope · Management locks get by scope #
Ask an LLM
“Can I fetch a lock using a full scope path instead of naming the subscription and group separately?”
“What lock is set at a given Azure scope under a particular name?”
Tell an agent
Get the lock named {lock} at scope {scope}.
Read the lock {lock} applied at the scope path {scope}.
PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName} Lock a specific resource · Creates or updates a management lock at the resource level or any level below… #
Ask an LLM
“How can I protect one individual resource from accidental deletion?”
“Do child resources inherit a lock I put on a single parent resource?”
Tell an agent
Lock {type} {resource} as {lock} (parent {parent}, namespace {namespace}) in group {group}, sub {subscription}: {properties}.
Add a can-not-delete lock {lock} to resource {resource} in group {group}.
DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName} Remove a lock from a specific resource · Deletes the management lock of a resource or any level below the resource #
Ask an LLM
“Can I take a lock off one resource while leaving group-level locks alone?”
“Why can't I remove a lock from a single resource without Owner or User Access Administrator?”
Tell an agent destructive · confirm first
Delete lock {lock} from {type} {resource} (parent {parent}, namespace {namespace}) in group {group}, sub {subscription}.
Unlock the individual resource {resource} by removing lock {lock}.
GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName} Get a lock on a specific resource · Management locks get at resource level #
Ask an LLM
“What lock is protecting a single resource such as one storage account or VM?”
“Can I read a lock set on a resource or on something nested below it?”
Tell an agent
Get lock {lock} on {type} {resource} (parent {parent}, namespace {namespace}) in group {group}, subscription {subscription}.
Show the resource-level lock {lock} on {resource} in resource group {group}.
PUT /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName} Lock an entire subscription · Creates or updates a management lock at the subscription level #
Ask an LLM
“How do I make every resource in a subscription read-only with one lock?”
“Will a subscription-level lock apply to all resource groups under it?”
Tell an agent
Create subscription-wide lock {lock} on subscription {subscription} with properties {properties}.
Protect everything in subscription {subscription} from deletion using lock {lock}.
DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName} Remove a subscription-wide lock · Deletes the management lock at the subscription level #
Ask an LLM
“Can I lift a lock that covers my entire subscription?”
“What permissions do I need to delete a subscription-level lock?”
Tell an agent destructive · confirm first
Delete subscription-level lock {lock} from subscription {subscription}.
Lift the subscription-wide lock {lock}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName} Get a subscription-wide lock · Management locks get at subscription level #
Ask an LLM
“Is there a lock applied across my whole Azure subscription, and what does it say?”
“Can I read one subscription-level lock by name?”
Tell an agent
Get the subscription-level lock {lock} in subscription {subscription}.
Show details of subscription lock {lock}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks List all locks on a resource group · Management locks list at resource group level #
Ask an LLM
“Which management locks are currently set on my resource group?”
“Can I filter the locks on a resource group?”
Tell an agent
List every lock on resource group {group} in subscription {subscription}.
Show resource group {group} locks matching filter {filter}.
GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks List all locks on a specific resource · Management locks list at resource level #
Ask an LLM
“What locks apply to one resource and the things nested under it?”
“Why can't I delete this resource, is something locking it?”
Tell an agent
List locks on {type} {resource} (parent {parent}, namespace {namespace}) in group {group}, subscription {subscription}.
Find all locks blocking changes to resource {resource} in group {group}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks List all locks in a subscription · Management locks list at subscription level #
Ask an LLM
“What management locks exist anywhere in my subscription?”
“Can I get an inventory of every lock across my Azure subscription?”
Tell an agent
List all management locks in subscription {subscription}.
Inventory subscription {subscription} locks that match {filter}.
GET /{scope}/providers/Microsoft.Authorization/locks List locks at any scope · Management locks list by scope #
Ask an LLM
“Can I list the locks for an arbitrary scope path like a management group or resource?”
“Which locks sit at a scope I give as a full resource path?”
Tell an agent
List the locks at scope {scope}.
Enumerate locks under the scope path {scope} filtered by {filter}.

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/rest/api/azure/
📖
Documentation
https://learn.microsoft.com/en-us/azure/role-based-access-control/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/action-groups?view=rest-monitor-2021-09-01
📖
Documentation
https://learn.microsoft.com/en-us/entra/identity/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/activity-log-alerts?view=rest-monitor-2020-10-01
📖
Documentation
https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/whatis-azure-ad-connect
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types
📖
Documentation
https://azuremarketplace.microsoft.com/en-us/marketplace/apps/robomq.adptoad?tab=overview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.advisor-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.agfoodplatform-readme?view=azure-dotnet-preview
📖
Documentation
https://azure.microsoft.com/en-us/products/data-manager-for-agriculture
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/translator/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-health-insights/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/analysis-services/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/analytics.purview.datamap-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/anomaly-detector/
📖
Documentation
https://learn.microsoft.com/en-us/azure/api-center/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/scom-manage-instance/overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/api-management/
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/apimanagement/
📖
Documentation
https://learn.microsoft.com/en-us/microsoft-365-app-certification/docs/acat-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-app-configuration/
📖
Documentation
https://learn.microsoft.com/en-us/azure/app-service/
📖
Documentation
https://learn.microsoft.com/en-us/azure/app-service/environment/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/app-service-plans?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/
📖
Documentation
https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview
📖
Documentation
https://learn.microsoft.com/en-us/cli/azure/monitor/app-insights/component/linked-storage?view=azure-cli-latest
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.applicationinsights-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-arc/
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/resource-graph/
📖
Documentation
https://learn.microsoft.com/en-us/azure/devops/artifacts/?view=azure-devops
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/security.attestation-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/attestation/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.authorization-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-cognitiveservices-search-autosuggest/azure.cognitiveservices.search.autosuggest.autosuggestclient?view=azure-python-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/automanage/
📖
Documentation
https://learn.microsoft.com/en-us/azure/automation/
📖
Documentation
https://learn.microsoft.com/en-us/azure/backup/
📖
Documentation
https://learn.microsoft.com/en-us/azure/baremetal-infrastructure/
📖
Documentation
https://learn.microsoft.com/en-us/azure/batch/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/translator/document-translation/quickstarts/client-library-sdks
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/batch-synthesis
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.billingbenefits-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/cost-management-billing/
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/blobs/
📖
Documentation
https://learn.microsoft.com/en-us/archive/msdn-magazine/2018/june/blockchain-introducing-azure-blockchain-workbench
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/blueprints/
📖
Documentation
https://learn.microsoft.com/en-us/azure/bot-service/?view=azure-bot-service-4.0
📖
Documentation
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
📖
Documentation
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/scenarios/cloud-scale-analytics/govern-metadata-standards
📖
Documentation
https://learn.microsoft.com/en-us/azure/carbon-optimization/view-emissions
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.cdn-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/web-application-firewall/
📖
Documentation
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates-for-clients
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.changeanalysis-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-changes-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/azure/chaos-studio/
📖
Documentation
https://learn.microsoft.com/en-us/azure/cloud-shell/overview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.trustedsigning-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.cognitiveservices-readme?view=azure-dotnet
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/cognitiveservices/
📖
Documentation
https://learn.microsoft.com/en-us/python/api/overview/azure/commerce?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-types
📖
Documentation
https://learn.microsoft.com/en-us/azure/search/search-blob-metadata-properties
📖
Documentation
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/considerations/fundamental-concepts
📖
Documentation
https://learn.microsoft.com/en-us/azure/sentinel/entities-reference
📖
Documentation
https://learn.microsoft.com/en-us/dynamics365/field-service/configure-incident-types
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/parameter-files
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/tables/table-storage-design-modeling
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.operationalinsights-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/share-gallery-community
📖
Documentation
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/compute
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-connectivity-configuration
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.appcontainers-readme?view=azure-dotnet
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/containerapps/
📖
Documentation
https://learn.microsoft.com/en-us/azure/container-apps/revisions-manage
📖
Documentation
https://learn.microsoft.com/en-us/azure/containers/
📖
Documentation
https://learn.microsoft.com/en-us/azure/templates/microsoft.containerservice/fleets
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/content-moderator/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/content-safety/
📖
Documentation
https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.search.customimagesearch.customimagesearchclient?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/search.documents-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/custom-vision-service/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/speech/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/storageservices/data-lake-storage-gen2
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/data-manager-for-agri/
📖
Documentation
https://learn.microsoft.com/en-us/azure/dms/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/control-plane-and-data-plane
📖
Documentation
https://learn.microsoft.com/en-us/azure/defender-for-cloud/data-sensitivity-settings
📖
Documentation
https://learn.microsoft.com/en-us/azure/databox/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/sql/database-threat-detection-policies/get?view=rest-sql-2014-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/external-attack-surface-management/
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/files/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/web-apps/delete?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-script-template
📖
Documentation
https://learn.microsoft.com/en-us/azure/deployment-environments/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/deployment-stacks
📖
Documentation
https://learn.microsoft.com/en-us/azure/iot-dps/
📖
Documentation
https://learn.microsoft.com/en-us/azure/api-management/diagnostic-logs-reference
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/?view=doc-intel-4.0.0
📖
Documentation
https://learn.microsoft.com/en-us/azure/iot-edge/?view=iotedge-1.5
📖
Documentation
https://learn.microsoft.com/en-us/shows/azure-cosmos-db-conf-2022/creating-enterprise-knowledge-graphs-from-unstructured-data
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.experiment.experiment?view=azure-ml-py
📖
Documentation
https://learn.microsoft.com/en-us/azure/expressroute/cross-connections-api-development
📖
Documentation
https://learn.microsoft.com/en-us/fabric/admin/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/ai.vision.face-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.resourcemanager.fluent.featureclient?view=azure-dotnet-legacy
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/ai.formrecognizer-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/azure-compute-gallery
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/diagnostic-settings?view=rest-monitor-2021-05-01-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/guestdiagnosticsettingsassociation
📖
Documentation
https://learn.microsoft.com/en-us/azure/hdinsight-aks/
📖
Documentation
https://docs.citusdata.com/en/v9.2/portals/citus_cloud.html
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.search.imagesearch.imagesearchclient?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/integration-environments/create-integration-environment
📖
Documentation
https://learn.microsoft.com/en-us/azure/hdinsight/kafka/rest-proxy
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/kube-environments/create-or-update?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.kusto-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-large-instances/what-is-azure-large-instances
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/app/live-stream
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/azure.search.documents.searchclient?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/log-analytics-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/log-analytics-tutorial
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/query-packs
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.logic-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/luis/client-libraries-rest-api
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/managed-applications/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-managed-lustre/
📖
Documentation
https://learn.microsoft.com/en-us/azure/synapse-analytics/security/synapse-workspace-managed-private-endpoints
📖
Documentation
https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-links-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.resourcemanager.managementlockclient?view=azure-dotnet-legacy
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/how-to-create-data-registries
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/how-to-use-feedback-tool
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/maps/render/get-map-tileset?view=rest-maps-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/maps/timezone?view=rest-maps-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/how-to-creator-wayfinding
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/how-to-request-weather-data
📖
Documentation
https://learn.microsoft.com/en-us/partner-center/marketplace-offers/create-new-saas-offer
📖
Documentation
https://learn.microsoft.com/sr-cyrl-rs/azure/media-services/latest/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.media-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/language-service/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/ai.language.conversations-readme?view=azure-dotnet
📖
Documentation
https://azure.microsoft.com/en-us/products/ai-services/question-answering
📖
Documentation
https://learn.microsoft.com/en-us/azure/defender-for-cloud/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/application-insights/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/marketplacecatalog/dataplane/reviews/get?view=rest-marketplacecatalog-dataplane-2023-01-01-preview&tabs=HTTP
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-netapp-files/
📖
Documentation
https://learn.microsoft.com/en-us/azure/playwright-testing/how-to-manage-authentication
📖
Documentation
https://azure.microsoft.com/en-us/products/ai-services/ai-document-intelligence
📖
Documentation
https://learn.microsoft.com/en-us/azure/defender-for-cloud/azure-devops-extension
📖
Documentation
https://learn.microsoft.com/en-us/azure/sentinel/upload-indicators-api
📖
Documentation
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/serial-console-windows
📖
Documentation
https://learn.microsoft.com/en-us/azure/templates/microsoft.servicelinker/linkers
📖
Documentation
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-standby-pool-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/file-sync/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/mobilepacketcore/
📖
Documentation
https://azure.microsoft.com/en-us/products/azure-network-function-manager
📖
Documentation
https://learn.microsoft.com/en-us/azure/network-watcher/traffic-analytics
📖
Documentation
https://learn.microsoft.com/en-us/azure/service-health/resource-health-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/security/
📖
Documentation
https://learn.microsoft.com/en-us/azure/migrate/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/migrate/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-endpoint-overview
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/data-collection-rule-associations?view=rest-monitor-2023-03-11
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/data-collection-rules?view=rest-monitor-2023-03-11
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-mgmt-monitor/azure.mgmt.monitor.monitormanagementclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/batch/monitor-batch
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/metrics?view=rest-monitor-2023-10-01
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/metric-definitions?view=rest-monitor-2023-10-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/monitor-resource-manager
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.sql-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network-manager/
📖
Documentation
https://learn.microsoft.com/en-us/azure/networking/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-network-groups
📖
Documentation
https://learn.microsoft.com/en-us/azure/private-link/network-security-perimeter-concepts
📖
Documentation
https://docs.newrelic.com/docs/infrastructure/microsoft-azure-integrations/get-started/introduction-azure-monitoring-integrations/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.search.newssearch.newssearchclient?view=azure-dotnet
📖
Documentation
https://docs.nginx.com/nginx/deployment-guides/microsoft-azure/
📖
Documentation
https://learn.microsoft.com/en-us/azure/notification-hubs/
📖
Documentation
https://azure.microsoft.com/en-us/products/spring-apps
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/openai/
📖
APIReference
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/ai-services/openai/overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-oep-readme?view=azure-node-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/orbital/
📖
Documentation
https://docs.paloaltonetworks.com/cloud-ngfw/azure
📖
Documentation
https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.peering-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/personalizer/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-playwrighttesting-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/policy/
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/policy/concepts/event-overview
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/policy/
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure-basics
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/policy/overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-portal/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.postgresql-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-powerbiembedded-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-powerbidedicated-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/power-platform/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/custom-vision-service/use-prediction-api
📖
Documentation
https://learn.microsoft.com/en-us/azure/private-link/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.privatedns-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview
📖
Documentation
https://learn.microsoft.com/en-us/power-bi/enterprise/service-security-private-links-on-premises
📖
Documentation
https://azure.microsoft.com/en-us/products/programmable-connectivity
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.providerhub-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/purview/
📖
Documentation
https://learn.microsoft.com/en-us/purview/legacy/concept-policies-devops
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.purview-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/purview/legacy/tutorial-metadata-policy-collections-apis
📖
Documentation
https://learn.microsoft.com/en-us/purview/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/analytics.purview.sharing-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/purview/legacy/concept-workflow
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/qnamaker/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.knowledge.qnamaker.runtime?view=azure-dotnet-legacy
📖
Documentation
https://learn.microsoft.com/en-us/azure/quantum/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.quantum-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/queues/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/quota/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/recovery-services?view=azure-dotnet
📖
Documentation
https://docs.openshift.com/aro/4/welcome/index.html
📖
Documentation
https://learn.microsoft.com/en-us/azure/openshift/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.redisenterprise-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/relay/
📖
Documentation
https://learn.microsoft.com/en-us/mem/intune/fundamentals/remediations
📖
Documentation
https://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-apis
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/resource-health-metadata/list?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/resources/
📖
Documentation
https://learn.microsoft.com/en-us/azure/resource-mover/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/run-command
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/scheduled-query-rules?view=rest-monitor-2021-08-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/scheduler/
📖
Documentation
https://learn.microsoft.com/en-us/azure/event-hubs/schema-registry-overview
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/networkmanager/scope-connections/create-or-update?view=rest-networkmanager-2023-11-01
📖
Documentation
https://github.com/Azure/service-fabric-issues/issues/1021
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-search-documents/azure.search.documents.indexes.searchindexclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-mgmt-search/azure.mgmt.search.searchmanagementclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/search/
📖
Documentation
https://learn.microsoft.com/en-us/azure/compliance/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.securityinsights-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/service-bus-messaging/
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/servicebus/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/servicefabric/sfclient-index
📖
Documentation
https://learn.microsoft.com/en-us/azure/service-fabric/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/share-gallery-direct
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-signalr/
📖
Documentation
https://learn.microsoft.com/en-us/azure/site-recovery/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/site-recovery/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/snapshot-copy-managed-disk
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-synapse-spark/azure.synapse.spark.sparkclient?view=azure-python-preview
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/speakerrecognition/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/rest-speech-to-text
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.language.spellcheck.spellcheckclient?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure-sphere/?view=azure-sphere-integrated
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/sql/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/automated-backups-overview?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/dynamic-data-masking-overview?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/disaster-recovery-guidance?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/database-import-export-private-link?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/replication-to-sql-database?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/firewall-configure?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.sqlvirtualmachine-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure-stack/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/static-sites/get-static-site?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/storsimple/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-storsimple8000series-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.storageactions-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.storagecache-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/import-export/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.storage-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage-mover/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.storagepool-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/stream-analytics/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-subscriptions-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/landing-zone/design-area/resource-org-subscriptions
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-mgmt-synapse/azure.mgmt.synapse.synapsemanagementclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/connect-overview
📖
Documentation
https://learn.microsoft.com/en-us/microsoft-365/syntex/
📖
Documentation
https://learn.microsoft.com/en-us/system-center/vmm/?view=sc-vmm-2025
📖
Documentation
https://learn.microsoft.com/en-us/azure/data-factory/control-flow-get-metadata-activity
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/chaosstudio/target-types/list?view=rest-chaosstudio-2024-01-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-specs
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-create-activity-log-alert-rule
📖
Documentation
https://learn.microsoft.com/en-us/microsoft-365/test-base/overview?view=o365-worldwide
📖
Documentation
https://learn.microsoft.com/en-us/python/api/overview/azure/ai-textanalytics-readme?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/time-series-insights/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/top-level-domains/list?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/expressroute/traffic-collector
📖
Documentation
https://learn.microsoft.com/en-us/azure/traffic-manager/
📖
Documentation
https://learn.microsoft.com/en-us/azure/update-manager/overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/update-manager/manage-vms-programmatically
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/consumption/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-video-indexer/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/@azure/video-analyzer-edge/?view=azure-node-legacy
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-wan/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-visualstudio-readme?view=azure-node-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-vmware/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/avs/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network/
📖
Documentation
https://learn.microsoft.com/en-us/azure/communications-gateway/provisioning-platform
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/voiceservices/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-web-pubsub/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/webpubsub/
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-mgmt-web/azure.mgmt.web.websitemanagementclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/lifecycle/faq/extended-security-updates
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-overview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.workloads-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/containerregistry/
📖
GettingStarted
https://azure.microsoft.com/en-us/products/container-registry
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/aks/
📖
GettingStarted
https://azure.microsoft.com/en-us/products/kubernetes-service
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/cosmos-db/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/cosmos-db-resource-provider/
📖
GettingStarted
https://azure.microsoft.com/en-us/products/cosmos-db
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/resources/
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/manage-resources-rest
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/cognitiveservices/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/keyvault/
📖
GettingStarted
https://azure.microsoft.com/en-us/products/key-vault

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-managementlocks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-managementlocks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ManagementLockClient Management Locks API
  version: '2020-05-01'
  description: Azure resources can be locked to prevent other users in your organization from deleting or modifying resources.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ManagementLocks
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}:
    put:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_CreateOrUpdateAtResourceGroupLevel
      summary: Creates or updates a management lock at the resource group level
      description: When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the resource group to lock.
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - name: lockName
        in: path
        required: true
        description: The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \, ?, /, or any control characters.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: OK - Returns information about the lock.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        '201':
          description: Created - Returns information about the lock.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManagementLockObject'
        description: The management lock parameters.
        required: true
    delete:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_DeleteAtResourceGroupLevel
      summary: Deletes a management lock at the resource group level
      description: To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the resource group containing the lock.
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - name: lockName
        in: path
        required: true
        description: The name of lock to delete.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '204':
          description: NoContent
        '200':
          description: OK
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    get:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_GetAtResourceGroupLevel
      description: Gets a management lock at the resource group level.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the locked resource group.
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - name: lockName
        in: path
        required: true
        description: The name of the lock to get.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: OK - Returns information about the lock.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Management locks get at resource group level
      x-summary-source: derived
  /{scope}/providers/Microsoft.Authorization/locks/{lockName}:
    put:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_CreateOrUpdateByScope
      description: Create or update a management lock by scope.
      parameters:
      - name: scope
        in: path
        required: true
        description: The scope for the lock. When providing a scope for the assignment, use '/subscriptions/{subscriptionId}' for subscriptions, '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}' for resources.
        schema:
          type: string
      - name: lockName
        in: path
        required: true
        description: The name of lock.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManagementLockObject'
        description: Create or update management lock parameters.
        required: true
      summary: Management locks create or update by scope
      x-summary-source: derived
    delete:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_DeleteByScope
      description: Delete a management lock by scope.
      parameters:
      - name: scope
        in: path
        required: true
        description: 'The scope for the lock. '
        schema:
          type: string
      - name: lockName
        in: path
        required: true
        description: The name of lock.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '204':
          description: NoContent
        '200':
          description: OK
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Management locks delete by scope
      x-summary-source: derived
    get:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_GetByScope
      description: Get a management lock by scope.
      parameters:
      - name: scope
        in: path
        required: true
        description: 'The scope for the lock. '
        schema:
          type: string
      - name: lockName
        in: path
        required: true
        description: The name of lock.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Management locks get by scope
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}
  : put:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_CreateOrUpdateAtResourceLevel
      summary: Creates or updates a management lock at the resource level or any level below…
      description: When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: 'The name of the resource group containing the resource to lock. '
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - name: resourceProviderNamespace
        in: path
        required: true
        description: The resource provider namespace of the resource to lock.
        schema:
          type: string
      - name: parentResourcePath
        in: path
        required: true
        description: The parent resource identity.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: resourceType
        in: path
        required: true
        description: The resource type of the resource to lock.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: resourceName
        in: path
        required: true
        description: The name of the resource to lock.
        schema:
          type: string
      - name: lockName
        in: path
        required: true
        description: The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \, ?, /, or any control characters.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: OK - Returns information about the lock.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        '201':
          description: Created - Returns information about the lock.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManagementLockObject'
        description: Parameters for creating or updating a  management lock.
        required: true
    delete:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_DeleteAtResourceLevel
      summary: Deletes the management lock of a resource or any level below the resource
      description: To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: 'The name of the resource group containing the resource with the lock to delete. '
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - name: resourceProviderNamespace
        in: path
        required: true
        description: The resource provider namespace of the resource with the lock to delete.
        schema:
          type: string
      - name: parentResourcePath
        in: path
        required: true
        description: The parent resource identity.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: resourceType
        in: path
        required: true
        description: The resource type of the resource with the lock to delete.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: resourceName
        in: path
        required: true
        description: The name of the resource with the lock to delete.
        schema:
          type: string
      - name: lockName
        in: path
        required: true
        description: The name of the lock to delete.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '204':
          description: NoContent
        '200':
          description: OK
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    get:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_GetAtResourceLevel
      description: Get the management lock of a resource or any level below resource.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: 'The name of the resource group. '
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - name: resourceProviderNamespace
        in: path
        required: true
        description: The namespace of the resource provider.
        schema:
          type: string
      - name: parentResourcePath
        in: path
        required: true
        description: An extra path parameter needed in some services, like SQL Databases.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: resourceType
        in: path
        required: true
        description: The type of the resource.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: resourceName
        in: path
        required: true
        description: The name of the resource.
        schema:
          type: string
      - name: lockName
        in: path
        required: true
        description: The name of lock.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Management locks get at resource level
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}:
    put:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_CreateOrUpdateAtSubscriptionLevel
      summary: Creates or updates a management lock at the subscription level
      description: When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
      parameters:
      - name: lockName
        in: path
        required: true
        description: The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \, ?, /, or any control characters.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '201':
          description: Created - Returns information about the lock.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        '200':
          description: OK - Returns information about the lock.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManagementLockObject'
        description: The management lock parameters.
        required: true
    delete:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_DeleteAtSubscriptionLevel
      summary: Deletes the management lock at the subscription level
      description: To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
      parameters:
      - name: lockName
        in: path
        required: true
        description: The name of lock to delete.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '204':
          description: NoContent
        '200':
          description: OK
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    get:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_GetAtSubscriptionLevel
      description: Gets a management lock at the subscription level.
      parameters:
      - name: lockName
        in: path
        required: true
        description: The name of the lock to get.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: OK - Returns information about the lock.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockObject'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Management locks get at subscription level
      x-summary-source: derived
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks:
    get:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_ListAtResourceGroupLevel
      description: Gets all the management locks for a resource group.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the resource group containing the locks to get.
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - name: $filter
        in: query
        required: false
        description: The filter to apply on the operation.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: OK - Returns an array of resource locks.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/ManagementLockObject'
      summary: Management locks list at resource group level
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks
  : get:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_ListAtResourceLevel
      description: Gets all the management locks for a resource or any level below resource.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the resource group containing the locked resource. The name is case insensitive.
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - name: resourceProviderNamespace
        in: path
        required: true
        description: The namespace of the resource provider.
        schema:
          type: string
      - name: parentResourcePath
        in: path
        required: true
        description: The parent resource identity.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: resourceType
        in: path
        required: true
        description: The resource type of the locked resource.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: resourceName
        in: path
        required: true
        description: The name of the locked resource.
        schema:
          type: string
      - name: $filter
        in: query
        required: false
        description: The filter to apply on the operation.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: OK - Returns an array of resource locks.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/ManagementLockObject'
      summary: Management locks list at resource level
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks:
    get:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_ListAtSubscriptionLevel
      description: Gets all the management locks for a subscription.
      parameters:
      - name: $filter
        in: query
        required: false
        description: The filter to apply on the operation.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: OK - Returns an array of resource locks.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/ManagementLockObject'
      summary: Management locks list at subscription level
      x-summary-source: derived
  /{scope}/providers/Microsoft.Authorization/locks:
    get:
      tags:
      - ManagementLocks
      operationId: ManagementLocks_ListByScope
      description: Gets all the management locks for a scope.
      parameters:
      - name: scope
        in: path
        required: true
        description: The scope for the lock. When providing a scope for the assignment, use '/subscriptions/{subscriptionId}' for subscriptions, '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}' for resources.
        schema:
          type: string
      - name: $filter
        in: query
        required: false
        description: The filter to apply on the operation.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK - Returns an array of resource locks.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementLockListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/ManagementLockObject'
      summary: Management locks list by scope
      x-summary-source: derived
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: The ID of the target subscription.
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to use for this operation.
      schema:
        type: string
        minLength: 1
  schemas:
    ManagementLockOwner:
      properties:
        applicationId:
          type: string
          description: The application ID of the lock owner.
      description: Lock owner properties.
    ErrorResponse:
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      type: object
      properties:
        error:
          description: The error object.
          $ref: '#/components/schemas/ErrorDetail'
    ManagementLockListResult:
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/ManagementLockObject'
          description: The list of locks.
        nextLink:
          type: string
          description: The URL to use for getting the next set of results.
      description: The list of locks.
    ManagementLockProperties:
      properties:
        level:
          type: string
          description: 'The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can''t modify or delete it.'
          enum:
          - NotSpecified
          - CanNotDelete
          - ReadOnly
          x-ms-enum:
            name: LockLevel
            modelAsString: true
        notes:
          type: string
          description: Notes about the lock. Maximum of 512 characters.
        owners:
          type: array
          items:
            $ref: '#/components/schemas/ManagementLockOwner'
          x-ms-identifiers:
          - applicationId
          description: The owners of the lock.
      required:
      - level
      description: The lock properties.
    ManagementLockObject:
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/ManagementLockProperties'
          description: The properties of the lock.
        id:
          readOnly: true
          type: string
          description: The resource ID of the lock.
        type:
          readOnly: true
          type: string
          description: The resource type of the lock - Microsoft.Authorization/locks.
        name:
          readOnly: true
          type: string
          description: The name of the lock.
        systemData:
          $ref: '#/components/schemas/systemData'
          readOnly: true
      required:
      - properties
      description: The lock information.
      x-ms-azure-resource: true
    systemData:
      description: Metadata pertaining to creation and last modification of the resource.
      type: object
      readOnly: true
      properties:
        createdBy:
          type: string
          description: The identity that created the resource.
        createdByType:
          type: string
          description: The type of identity that created the resource.
          enum:
          - User
          - Application
          - ManagedIdentity
          - Key
          x-ms-enum:
            name: createdByType
            modelAsString: true
        createdAt:
          type: string
          format: date-time
          description: The timestamp of resource creation (UTC).
        lastModifiedBy:
          type: string
          description: The identity that last modified the resource.
        lastModifiedByType:
          type: string
          description: The type of identity that last modified the resource.
          enum:
          - User
          - Application
          - ManagedIdentity
          - Key
          x-ms-enum:
            name: createdByType
            modelAsString: true
        lastModifiedAt:
          type: string
          format: date-time
          description: The timestamp of resource last modification (UTC)
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow