{
  "opencollection": "1.0.0",
  "info": {
    "name": "Azure Monitor Private Link Scopes API",
    "version": "2021-07-01-preview"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Private Link Scopes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Azure Monitor List private link scopes in a subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/providers/microsoft.insights/privateLinkScopes",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Gets a list of all Azure Monitor Private Link Scopes within a subscription."
        },
        {
          "info": {
            "name": "Azure Monitor List private link scopes in a resource group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Gets a list of Azure Monitor Private Link Scopes within a resource group."
        },
        {
          "info": {
            "name": "Azure Monitor Get a private link scope",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes/:scopeName",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "scopeName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Monitor Private Link Scope resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Returns an Azure Monitor Private Link Scope."
        },
        {
          "info": {
            "name": "Azure Monitor Create or update a private link scope",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes/:scopeName",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "scopeName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Monitor Private Link Scope resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates or updates an Azure Monitor Private Link Scope. A Private Link Scope groups Azure Monitor resources together for secure access via private endpoints."
        },
        {
          "info": {
            "name": "Azure Monitor Update tags on a private link scope",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes/:scopeName",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "scopeName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Monitor Private Link Scope resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing Private Link Scope's tags. Use this method to update tags only."
        },
        {
          "info": {
            "name": "Azure Monitor Delete a private link scope",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes/:scopeName",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "scopeName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Monitor Private Link Scope resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Deletes an Azure Monitor Private Link Scope."
        }
      ]
    },
    {
      "info": {
        "name": "Scoped Resources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Azure Monitor List scoped resources in a private link scope",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes/:scopeName/scopedResources",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "scopeName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Monitor Private Link Scope resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Gets all private endpoint connections on a private link scope."
        },
        {
          "info": {
            "name": "Azure Monitor Get a scoped resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes/:scopeName/scopedResources/:name",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "scopeName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Monitor Private Link Scope resource."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the scoped resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Gets a scoped resource in a private link scope."
        },
        {
          "info": {
            "name": "Azure Monitor Create or update a scoped resource",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes/:scopeName/scopedResources/:name",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "scopeName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Monitor Private Link Scope resource."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the scoped resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Approve or reject a scoped resource in a private link scope."
        },
        {
          "info": {
            "name": "Azure Monitor Delete a scoped resource",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes/:scopeName/scopedResources/:name",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "scopeName",
                "value": "",
                "type": "path",
                "description": "The name of the Azure Monitor Private Link Scope resource."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the scoped resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Deletes a scoped resource from a private link scope."
        }
      ]
    }
  ],
  "bundled": true
}