def by_cloud_pc_on_premises_connection_id(self,cloud_pc_on_premises_connection_id: str) -> CloudPcOnPremisesConnectionItemRequestBuilder:
        """
        Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity.
        param cloud_pc_on_premises_connection_id: The unique identifier of cloudPcOnPremisesConnection
        Returns: CloudPcOnPremisesConnectionItemRequestBuilder
        """
        if cloud_pc_on_premises_connection_id is None:
            raise TypeError("cloud_pc_on_premises_connection_id cannot be null.")
        from .item.cloud_pc_on_premises_connection_item_request_builder import CloudPcOnPremisesConnectionItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["cloudPcOnPremisesConnection%2Did"] = cloud_pc_on_premises_connection_id
        return CloudPcOnPremisesConnectionItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity.
        param cloud_pc_on_premises_connection_id: The unique identifier of cloudPcOnPremisesConnection
        Returns: CloudPcOnPremisesConnectionItemRequestBuilder
        
msgraph/generated/device_management/virtual_endpoint/on_premises_connections/on_premises_connections_request_builder.py