diff --git a/specification/monitor/resource-manager/Microsoft.Monitor/stable/2023-04-03/monitoringAccounts_API.json b/specification/monitor/resource-manager/Microsoft.Monitor/stable/2023-04-03/monitoringAccounts_API.json index 14e6cc639723..b8fb50f85a73 100644 --- a/specification/monitor/resource-manager/Microsoft.Monitor/stable/2023-04-03/monitoringAccounts_API.json +++ b/specification/monitor/resource-manager/Microsoft.Monitor/stable/2023-04-03/monitoringAccounts_API.json @@ -382,161 +382,6 @@ } } }, - "PrivateEndpointConnection": { - "description": "Private endpoint connection denoting the underlying private endpoint, its connection status, and its properties", - "type": "object", - "properties": { - "id": { - "description": "Fully qualified resource ID", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "name": { - "description": "The name of the resource", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "type": { - "description": "The type of the resource", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "properties": { - "description": "The properties of the private endpoint connection", - "allOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - } - ], - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - } - }, - "PrivateEndpointConnectionProperties": { - "description": "The properties of the private endpoint connection", - "type": "object", - "properties": { - "provisioningState": { - "description": "Gets provisioning state of the private endpoint connection", - "enum": [ - "Creating", - "Succeeded", - "Deleting", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "x-ms-mutability": [ - "read" - ] - }, - "privateEndpoint": { - "description": "Gets or sets the private endpoint which the connection belongs to", - "allOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - } - ], - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "groupIds": { - "description": "The private link resource group ids", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "privateLinkServiceConnectionState": { - "description": "Gets or sets connection state of the private endpoint connection", - "allOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - } - ], - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - } - }, - "PrivateEndpoint": { - "description": "The private endpoint which the connection belongs to", - "type": "object", - "properties": { - "id": { - "description": "ARM resource ID", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - } - }, - "PrivateLinkServiceConnectionState": { - "description": "The connection state of the private endpoint connection", - "type": "object", - "properties": { - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service", - "enum": [ - "Approved", - "Rejected", - "Removed" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "Status", - "modelAsString": true - }, - "x-ms-mutability": [ - "read" - ] - }, - "description": { - "description": "The reason for approval/rejection of the connection", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - } - }, "AzureMonitorWorkspace": { "description": "Properties of an Azure Monitor workspace", "type": "object", @@ -596,7 +441,7 @@ "description": "List of private endpoint connections", "type": "array", "items": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" }, "readOnly": true, "x-ms-mutability": [