{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure AccessControlClient AccessConnector ManagementLocks API",
    "version": "2020-08-01-preview"
  },
  "items": [
    {
      "info": {
        "name": "ManagementLocks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Authorization Locks Lockname",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the locked resource group."
              },
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of the lock to get."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "Gets a management lock at the resource group level."
        },
        {
          "info": {
            "name": "Microsoft Azure Creates Or Updates A Management Lock At The Resource Group Level",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group to lock."
              },
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Microsoft Azure Deletes A Management Lock At The Resource Group Level",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group containing the lock."
              },
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of lock to delete."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Scope Providers Microsoft Authorization Locks Lockname",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/:scope/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "scope",
                "value": "",
                "type": "path",
                "description": "The scope for the lock. "
              },
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of lock."
              }
            ]
          },
          "docs": "Get a management lock by scope."
        },
        {
          "info": {
            "name": "Microsoft Azure Put Scope Providers Microsoft Authorization Locks Lockname",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/:scope/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "scope",
                "value": "",
                "type": "path",
                "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."
              },
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of lock."
              }
            ]
          },
          "docs": "Create or update a management lock by scope."
        },
        {
          "info": {
            "name": "Microsoft Azure Delete Scope Providers Microsoft Authorization Locks Lockname",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/:scope/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "scope",
                "value": "",
                "type": "path",
                "description": "The scope for the lock. "
              },
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of lock."
              }
            ]
          },
          "docs": "Delete a management lock by scope."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Resourceprovidernamespace Parentresourcepath Resourcetype Resourcename Providers Microsoft Authorization Locks Lockname",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/:resourceProviderNamespace/:parentResourcePath/:resourceType/:resourceName/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group. "
              },
              {
                "name": "resourceProviderNamespace",
                "value": "",
                "type": "path",
                "description": "The namespace of the resource provider."
              },
              {
                "name": "parentResourcePath",
                "value": "",
                "type": "path",
                "description": "An extra path parameter needed in some services, like SQL Databases."
              },
              {
                "name": "resourceType",
                "value": "",
                "type": "path",
                "description": "The type of the resource."
              },
              {
                "name": "resourceName",
                "value": "",
                "type": "path",
                "description": "The name of the resource."
              },
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of lock."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "Get the management lock of a resource or any level below resource."
        },
        {
          "info": {
            "name": "Microsoft Azure Creates Or Updates A Management Lock At The Resource Level Or Any Level Below The Resource",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/:resourceProviderNamespace/:parentResourcePath/:resourceType/:resourceName/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group containing the resource to lock. "
              },
              {
                "name": "resourceProviderNamespace",
                "value": "",
                "type": "path",
                "description": "The resource provider namespace of the resource to lock."
              },
              {
                "name": "parentResourcePath",
                "value": "",
                "type": "path",
                "description": "The parent resource identity."
              },
              {
                "name": "resourceType",
                "value": "",
                "type": "path",
                "description": "The resource type of the resource to lock."
              },
              {
                "name": "resourceName",
                "value": "",
                "type": "path",
                "description": "The name of the resource to lock."
              },
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Microsoft Azure Deletes The Management Lock Of A Resource Or Any Level Below The Resource",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/:resourceProviderNamespace/:parentResourcePath/:resourceType/:resourceName/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group containing the resource with the lock to delete. "
              },
              {
                "name": "resourceProviderNamespace",
                "value": "",
                "type": "path",
                "description": "The resource provider namespace of the resource with the lock to delete."
              },
              {
                "name": "parentResourcePath",
                "value": "",
                "type": "path",
                "description": "The parent resource identity."
              },
              {
                "name": "resourceType",
                "value": "",
                "type": "path",
                "description": "The resource type of the resource with the lock to delete."
              },
              {
                "name": "resourceName",
                "value": "",
                "type": "path",
                "description": "The name of the resource with the lock to delete."
              },
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of the lock to delete."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Authorization Locks Lockname",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of the lock to get."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "Gets a management lock at the subscription level."
        },
        {
          "info": {
            "name": "Microsoft Azure Creates Or Updates A Management Lock At The Subscription Level",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Microsoft Azure Deletes The Management Lock At The Subscription Level",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/providers/Microsoft.Authorization/locks/:lockName",
            "params": [
              {
                "name": "lockName",
                "value": "",
                "type": "path",
                "description": "The name of lock to delete."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Authorization Locks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Authorization/locks",
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group containing the locks to get."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "The filter to apply on the operation."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "Gets all the management locks for a resource group."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Resourceprovidernamespace Parentresourcepath Resourcetype Resourcename Providers Microsoft Authorization Locks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/:resourceProviderNamespace/:parentResourcePath/:resourceType/:resourceName/providers/Microsoft.Authorization/locks",
            "params": [
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group containing the locked resource. The name is case insensitive."
              },
              {
                "name": "resourceProviderNamespace",
                "value": "",
                "type": "path",
                "description": "The namespace of the resource provider."
              },
              {
                "name": "parentResourcePath",
                "value": "",
                "type": "path",
                "description": "The parent resource identity."
              },
              {
                "name": "resourceType",
                "value": "",
                "type": "path",
                "description": "The resource type of the locked resource."
              },
              {
                "name": "resourceName",
                "value": "",
                "type": "path",
                "description": "The name of the locked resource."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "The filter to apply on the operation."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "Gets all the management locks for a resource or any level below resource."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Authorization Locks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriptions/:subscriptionId/providers/Microsoft.Authorization/locks",
            "params": [
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "The filter to apply on the operation."
              },
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              }
            ]
          },
          "docs": "Gets all the management locks for a subscription."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Scope Providers Microsoft Authorization Locks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/:scope/providers/Microsoft.Authorization/locks",
            "params": [
              {
                "name": "scope",
                "value": "",
                "type": "path",
                "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."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "The filter to apply on the operation."
              }
            ]
          },
          "docs": "Gets all the management locks for a scope."
        }
      ]
    }
  ],
  "bundled": true
}