{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-arc/json-schema/microsoft-azure-arc-hybrid-compute-private-link-scope-list-result-schema.json",
  "title": "HybridComputePrivateLinkScopeListResult",
  "description": "The response of a HybridComputePrivateLinkScope list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-arc-subscriptions-api-openapi.yml#/components/schemas/HybridComputePrivateLinkScopeListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The HybridComputePrivateLinkScope items on this page",
      "items": {
        "$ref": "#/$defs/HybridComputePrivateLinkScope"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "HybridComputePrivateLinkScope": {
      "type": "object",
      "description": "An Azure Arc PrivateLinkScope definition.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/HybridComputePrivateLinkScopeProperties",
          "description": "Properties that define a Azure Arc PrivateLinkScope resource."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "HybridComputePrivateLinkScopeProperties": {
      "type": "object",
      "description": "Properties that define a Azure Arc PrivateLinkScope resource.",
      "properties": {
        "publicNetworkAccess": {
          "type": "string",
          "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.",
          "default": "Disabled",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "PublicNetworkAccessType",
            "modelAsString": true,
            "values": [
              {
                "name": "Enabled",
                "value": "Enabled",
                "description": "Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints."
              },
              {
                "name": "Disabled",
                "value": "Disabled",
                "description": "Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link."
              }
            ]
          }
        },
        "provisioningState": {
          "type": "string",
          "description": "Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.",
          "readOnly": true
        },
        "privateLinkScopeId": {
          "type": "string",
          "description": "The Guid id of the private link scope.",
          "readOnly": true
        },
        "privateEndpointConnections": {
          "type": "array",
          "description": "The collection of associated Private Endpoint Connections.",
          "items": {
            "$ref": "#/$defs/PrivateEndpointConnectionDataModel"
          },
          "readOnly": true
        },
        "serviceExtensions": {
          "type": "array",
          "description": "Enable private link validation for an Azure Arc Extension.",
          "items": {
            "$ref": "#/$defs/ServiceExtension"
          }
        }
      }
    },
    "PrivateEndpointConnectionDataModel": {
      "type": "object",
      "description": "The Data Model for a Private Endpoint Connection associated with a Private Link Scope",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ARM Resource Id of the Private Endpoint.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The Name of the Private Endpoint.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Azure resource type",
          "readOnly": true
        },
        "properties": {
          "$ref": "#/$defs/PrivateEndpointConnectionProperties",
          "description": "The Private Endpoint Connection properties."
        }
      }
    },
    "PrivateEndpointConnectionProperties": {
      "type": "object",
      "description": "Properties of a private endpoint connection.",
      "properties": {
        "privateEndpoint": {
          "$ref": "#/$defs/PrivateEndpointProperty",
          "description": "Private endpoint which the connection belongs to."
        },
        "privateLinkServiceConnectionState": {
          "$ref": "#/$defs/PrivateLinkServiceConnectionStateProperty",
          "description": "Connection state of the private endpoint connection."
        },
        "provisioningState": {
          "type": "string",
          "description": "State of the private endpoint connection.",
          "readOnly": true
        },
        "groupIds": {
          "type": "array",
          "description": "List of group IDs.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        }
      }
    },
    "PrivateEndpointProperty": {
      "type": "object",
      "description": "Private endpoint which the connection belongs to.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource id of the private endpoint."
        }
      }
    },
    "PrivateLinkServiceConnectionStateProperty": {
      "type": "object",
      "description": "State of the private endpoint connection.",
      "properties": {
        "status": {
          "type": "string",
          "description": "The private link service connection status."
        },
        "description": {
          "type": "string",
          "description": "The private link service connection description."
        },
        "actionsRequired": {
          "type": "string",
          "description": "The actions required for private link service connection.",
          "readOnly": true
        }
      },
      "required": [
        "status",
        "description"
      ]
    },
    "ServiceExtension": {
      "type": "object",
      "description": "Enable private link validation for an Azure Arc Extension",
      "properties": {
        "serviceExtensionType": {
          "$ref": "#/$defs/ServiceExtensionType",
          "description": "The name of the Azure Arc Extension."
        },
        "serviceExtensionPublicNetworkAccess": {
          "$ref": "#/$defs/ServiceExtensionPublicNetworkAccess",
          "description": "The network access policy to determine if the specified Azure Arc Extension can use public Azure Arc Extension service endpoints."
        }
      }
    },
    "ServiceExtensionPublicNetworkAccess": {
      "type": "string",
      "description": "The network access policy to determine if the specified Azure Arc Extension can use public Azure Arc Extension service endpoints.",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "ServiceExtensionPublicNetworkAccess",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "Allows Azure Arc Extension agents to communicate with Azure Arc services over both public (internet) and private endpoints."
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Does not allow Azure Arc Extension agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link."
          }
        ]
      }
    },
    "ServiceExtensionType": {
      "type": "string"
    },
    "TrackedResource": {
      "type": "object",
      "title": "Tracked Resource",
      "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}